Nonstop Database, HiRDB Version 9 Installation and Design Guide
Following is the formula for calculating the size of the shared memory that is used by a front-end server. For the variables used in this formula, see (4) below.
40 + b + {[(a + 12) + { + 12 + 4 + 32 + 4+ {28 + + MAX{a + + + MAX{13 + 60 + 44 + 256 + 1,024 } I + i=1 + 6.5
|
40 + b + {[(a + 12) + { + 12 + 4 + 48 + 8+ {40 + + MAX(a + + + MAX{13 + 72 + 72 + 256 + 1,536 } I + i=1 + 6.5
|
This subsection lists and describes the formulas used for calculating the shared memory used by a dictionary server.
For the variables used in the formulas, see (4).
| Condition | Shared memory calculation formula (KB) |
|---|---|
| Formula 1 (KB) | b + { + 12 + 8 + 512 } + 3.5 + + } K + i=1 b + { + 12 + 8 + 1,024 } + 3.5 + + } K + i=1 |
| Formula 2 (bytes) | 500 + ( + 5,072 + 32 + 48 + 68 + (( 500 + ( + ( + 9,424 + 48 + 64 + 68 + (( |
| Formula 3 (bytes) |
|
| Formula 4 (bytes) |
If you specify 1 in the pd_dbbuff_trace_level operand, add: + 320
If you specify 1 in the pd_dbbuff_trace_level operand, add: + 640 |
| Formula 5 (bytes) |
|
This subsection lists and describes the formulas used for calculating the shared memory used by a back-end server.
For details about the variables used in these formulas, see (4) below.
| Condition | Shared memory calculation formula |
|---|---|
| Formula 1 (KB) |
} M + i=1 b + { + 12 + 8 } + + } M + i=1 |
| Formula 2 (bytes) | 500 + (308 + 48#1) + 5,072 + 32 + 48 + 68 + (( 500 + (400 + 56#1) + 9,424 + 48 + 64 + 68 + (( |
| Formula 3 (bytes) |
|
| Formula 4 (bytes) |
|
| Formula 5 (bytes) | 56 |
| Formula 6 (bytes) |
If you specify 1 in the pd_dbbuff_trace_level operand, add: + 320
If you specify 1 in the pd_dbbuff_trace_level operand, add: + 640 |
| Formula 7 (bytes) |
|
| Formula 8 (bytes) | 16 + 112 + (48 + 48 |
| Formula 9 (bytes) |
16 + 80 |
#1: Add this value if neither pd_max_list_user nor pd_max_list_count operand is 0.
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.