Scalable Database Server, HiRDB Version 8 System Definition
| Item | pd_work_buff_mode=each is specified | pd_work_buff_mode=pool is specified |
|---|---|---|
| Advantage | A large work table buffer size reduces the number of I/O operations associated with data manipulation, which means that the execution time of SQLs that use work tables is also reduced. However, because each server's process private memory is used, specification of this option should take into account the overall size of the system memory (real memory and virtual memory). If pd_work_buff_mode = each is specified, the memory size to be allocated is value of pd_work_buff_size |
|
| Application criterion | pd_work_buff_mode = pool should be specified when a large volume of data is to be retrieved and when manipulations such as join, ORDER BY, and GROUP BY are to be performed. | |
| Specification guidelines |
|
|
| Notes | When multiple users execute processes concurrently or when an SQL statement that uses multiple work tables is executed, the specified size buffer is allocated for each work table. Consequently, specifying a large value may result in a memory shortage. | If the value specified for the work table buffer size is smaller than the number of work tables to be used by each SQL statement, the processing time may become longer than when each is specified. Specifically, specify a value that is at least equal to maximum number of work tables for each SQL statement Maximum number of work tables for each SQL statement = b + d |
| Operand rule | Specify a multiple of 128. If the value is not a multiple of 128, it is rounded up to the next multiple of 128. |
|
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.