Nonstop Database, HiRDB Version 9 Installation and Design Guide
The following table shows the formulas for determining the file sizes required for the execution of the statistics analysis utility (pdstedit):
| File type | Formula (bytes) | |
|---|---|---|
| Temporary work file | Statistical information about system activity | 4,096 |
| Statistical information about system activity per server | 4,096 |
|
| Statistical information about UAPs | 872 |
|
| Statistical information about SQL | 512 |
|
| Statistical information about SQL static optimization | 512 |
|
| Statistical information about SQL dynamic optimization | 49,624 |
|
| Statistical information about SQL object execution | 512 |
|
| Statistical information about SQL object transfer | 256 |
|
| Statistical information about the history of SQL statements | (1,024 + average SQL length) |
|
| Statistical information about CONNECT/DISCONNECT | 256 |
|
| Statistical information about global buffer | 512 |
|
| Statistical information about database manipulation for HiRDB files | 512 |
|
| Statistical information about deferred write processing | 512 |
|
| Statistical information about indexes (input: STJ) | 128 |
|
| Statistical information about indexes (input: FJ) | 128 |
|
| Statistical information about database I/O | 256 |
|
| Work file for sorting | Work area for sorting the above types of temporary work files for analysis | Maximum size of the temporary work files that will be needed for analysis |
| DAT- format file |
Statistical information about system activity | 3,404 |
| Statistical information about system activity per server | 3,262 |
|
| Statistical information about UAPs | 1,991 |
|
| Statistical information about SQL | 447 |
|
| Statistical information about SQL static optimization | 646 |
|
| Statistical information about SQL dynamic optimization | 380 |
|
| Statistical information about SQL object execution | 520 |
|
| Statistical information about SQL object transfer | 389 |
|
| Statistical information about the history of SQL statements | (240 + average SQL length) |
|
| Statistical information about CONNECT/DISCONNECT | 278 |
|
| Statistical information about global buffer | 600 |
|
| Statistical information about database manipulation for HiRDB files | 356 |
|
| Statistical information about deferred write processing | 300 |
|
| Statistical information about database I/O (DAT output) | 196 |
|
You can use the formula shown below to obtain an approximation of the size of a temporary work file that is created during execution of the statistics analysis utility. This formula assumes that all information in the statistics log file that is input to the utility is analyzed.
Size of temporary work file = size of statistics log file |
| Type of statistical information | Value for a |
|---|---|
| System activity statistical information | 3.4 |
| SQL dynamic optimization information | 135.6 |
| Other | 2 |
Size of temporary work file for SQL dynamic optimization information = number of SQL dynamic optimization information items |
You can use the formula shown below to obtain an approximation of the size of a work file for sorting that is created during execution of the statistics analysis utility. This formula assumes that all information in the statistics log file that is input to the utility is analyzed.
Size of work file for sorting = size of statistics log file |
| Type of statistical information | Value for b |
|---|---|
| System activity statistical information | 1.7 |
| Other | 1 |
You can use the formula shown below to obtain an approximation of the size of a DAT format file that is created during execution of the statistics analysis utility. This formula assumes that all information in the statistics log file that is input to the utility is analyzed.
Size of DAT format file = size of statistics log file |
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.