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.3 Estimating Resources for the Director |
The formula for estimating the size of director log files is shown below.
Definition unit |
Variable elements |
Size (bytes) |
---|---|---|
The size of director log file when starting a director |
|
The number of times that the director is started x ((2,000 + 500 x The number of connected searchers) + 100 x [(The number of stored records x Standard record size) / (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) |
370 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) |
430 x The number of update API that are executed |
The size of the log when executing shundimport command |
|
The number of executions by shundimport x (2,000 + 100 x [The size of the file to be imported /(1,024 x 1,024)) Note: The result in [ ] has to be rounded up |
The size of the log when executing director commands |
The number of times that the director command is executed (*5) |
700 x The number of times that the director command is executed |
*1) The number of stored records when starting the director.
*2) Including the search process, sort process, aggregation process and the search process specified by the direct access key.
*3) Including the add process, delete process, update process, and the update or delete 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.
*5) The director commands not including the command for starting director, shundimport command and shundstate command.
Example Calculation
An example calculation for the size of a director log file is shown below.If the variable elements are as follows:
- The number of times that the director is started: 5 (times)
- The number of connected searchers: 3
- The number of stored records: 100,000 (records)
- Standard record size: 4,000 (bytes)
- 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 (times)
- The size of the file to be imported: 1,000,000 (bytes)
- The number of times that the director command is executed: 10 (times)
The size of director log file when starting a director
5 x ((2,000 + 500 x 3) + 100 x [(100,000 x 4,000)/(1,024 x 1,024)])=208,500 bytes (approx. 203 KB)
The size of the log for search process
370 x 10,000 = 3,700,000 bytes (approx. 3.5 MB)The size of the log for update process
430 x 10,000 = 4,300,000 bytes (approx. 4 MB)The size of the log when executing shundimport command
5 x (2,000 + 100 x [1,000,000/(1,024 x 1,024)])=10,500 bytes (approx. 10 KB)The size of the log when executing director commands
700 x 10 = 7,000 bytes (approx. 7 KB)
Contents
Index
![]() ![]() |