Interstage Shunsaku Data Manager Operator's Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Appendix D Estimating Resources | > D.5 Estimating Resources for Searcher |
The formula for estimating the size of searcher log files is shown below.
Definition unit |
Variable elements |
Size (bytes) |
---|---|---|
The size of searcher log file when starting a searcher |
|
The number of times that the searcher is started x (2,500 + (350 x [((The number of stored records in the connected director x Standard record size)/The number of searchers)/(1,024 x 1,024)])) Note: The result in [ ] has to be rounded up |
The size of the log for search process |
The number of search API that are executed (*2) |
750 x The number of search API that are executed |
The size of the log for update process |
The number of update API that are executed (*3) |
620 x The number of update API that are executed |
The size of the log for the adding process with shundimport command |
|
360 x The number of executions by shundimport [(The size of the file to be imported / The number of searchers) / (1,024 x 1,024)] Note: The result in [ ] has to be rounded up |
*1) The number of searchers that are connecting to the director.
*2) Including the search process, sort process and aggregation process.
*3) Including the add process, delete process, update process, and the update or deleted process specified by the direct access key.
*4) The average file size of the XML document stored in Shunsaku using shundimport command with the -f option.
Example Calculation
An example calculation for the size of a searcher log file is shown below.If the variable elements are as follows:
- The number of times that the searcher is started: 5 (times)
- The number of stored records in the connected director: 100,000 (records)
- Standard record size: 4,000 (bytes)
- The number of searchers: 3
- The number of search API that are executed: 10,000
- The number of update API that are executed: 10,000
- The number of executions by shundimport: 5
- The size of the file to be imported: 1,000,000 (bytes)
The size of searcher log file when starting a searcher
5 x (2,500 + (350 x [((100,000 x 4,000)/3)/(1,024 x 1,024)])) = 236,500 bytes (approx. 230 KB)The size of the log for search process
750 x 10,000 = 7,500,000 bytes (approx. 7 MB)The size of the log for update process
620 x 10,000 = 6,200,000 bytes (approx. 6 MB)The size of the log for the adding process with shundimport command
360 x 5 x [(1,000,000/3)/(1,024 x 1,024)] = 1,800 bytes (approx. 1 KB)
Contents
Index
![]() ![]() |