Nonstop Database, HiRDB Version 9 Installation and Design Guide
This subsection lists and describes the formulas used for calculating the shared memory used by a HiRDB single server configuration.
The following table shows Formulas 1 through 10.
| Formula | Shared memory calculation formula |
|---|---|
| Formula 1 (KB) |
+ + } D + i=1 Add this if the pd_def_buf_control_area_assign operand is specified as INITIAL or if the operand is omitted. + {[(a + 12)
+ } D + i=1 Add this if the pd_def_buf_control_area_assign operand is specified as INITIAL or if the operand is omitted.
|
| Formula 2 (bytes) |
500 + 5,072 + 112 + 96 + 48 + 68 + (( 500 + 9,416 + ( + ( + 144 + 64 + 68 + (( |
| Formula 3 (bytes) | {[( {[( |
| Formula 4 (bytes) | (32 + 16 (48 + 32 |
| Formula 5 (bytes) | 56 |
| Formula 6 (bytes) | 72 + 52 If you specify 1 in the pd_dbbuff_trace_level operand, add: + 320 96 + 56 If you specify 1 in the pd_dbbuff_trace_level operand, add:
|
| Formula 7 (bytes) | (32 + 16 (48 + 32 |
| Formula 8 (bytes) | 16 + 112 + (48 + 48 |
| Formula 9 (bytes) |
16 + 80 |
| Formula 10 (bytes) |
SELECT COUNT(*),SUM(N_PARAM) FROM MASTER.SQL_PLUGIN_ROUTINES
WHERE PLUGIN_NAME = 'plug-in-name'
AND (TIMING_DESCRIPTOR = 'ADT_FUNCTION'
OR TIMING_DESCRIPTOR IS NULL
OR TIMING_DESCRIPTOR = 'BEFORE_INSERT'
OR TIMING_DESCRIPTOR = 'AFTER_INSERT'
OR TIMING_DESCRIPTOR = 'BEFORE_UPDATE'
OR TIMING_DESCRIPTOR = 'AFTER_UPDATE'
OR TIMING_DESCRIPTOR = 'BEFORE_DELETE'
OR TIMING_DESCRIPTOR = 'AFTER_DELETE'
OR TIMING_DESCRIPTOR = 'BEFORE_PURGE_TABLE'
OR TIMING_DESCRIPTOR = 'AFTER_PURGE_TABLE'
OR TIMING_DESCRIPTOR = 'INDEX_SEARCH'
OR TIMING_DESCRIPTOR = 'INDEX_COUNT'
OR TIMING_DESCRIPTOR = 'INDEX_INSERT'
OR TIMING_DESCRIPTOR = 'INDEX_BEFORE_UPDATE'
OR TIMING_DESCRIPTOR = 'INDEX_AFTER_UPDATE'
OR TIMING_DESCRIPTOR = 'INDEX_DELETE'
OR TIMING_DESCRIPTOR = 'PURGE_INDEX'
OR TIMING_DESCRIPTOR = 'INDEX_MAINTENANCE_DEFERRED'
OR TIMING_DESCRIPTOR = 'BEFORE_INSERT_DC'
OR TIMING_DESCRIPTOR = 'BEFORE_UPDATE_DC'
OR TIMING_DESCRIPTOR = 'BEFORE_DATA_CHECK'
OR TIMING_DESCRIPTOR = 'AFTER_DATA_CHECK')
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.