Nonstop Database, HiRDB Version 9 Installation and Design Guide
The required memory used by a HiRDB single server configuration is the sum of all the terms shown in the following table.
For details about the value specified in the shmmax operating system parameter (for Solaris, shmsys:shminfo_shmmax; for Linux, SHMMAX), see Chapter 20. Specifying OS Parameters.
If you increase the size of shared memory, this might affect transaction performance by increasing the number of page faults. For each operand, specify the most appropriate value based on the guidelines for your particular system.
Table 15-2 Size of memory required for a HiRDB single server configuration
| Item | Required memory (KB) | ||
|---|---|---|---|
| Process private area | Process private area used by all unit controller processes | E + E + + 1,400 + r + + F + + |
|
| Process private area used by single server process#1 | pd_work_buff_mode=each specified | {G + g + (a + 9) {G + g + (a + 9) + + |
|
| pd_work_buff_mode=pool specified or omitted | (G + g + a + (G + g + a + + + |
||
| Shared memory | Space used by the unit controller in the unit controller shared memory | ||
| Space used by the single server in the unit controller shared memory | E | ||
| Global buffer shared memory | F | ||
| In-memory data processing shared memory | L | ||
| Utility shared memory | T | ||
| Security audit information buffer shared memory | Value specified for pd_audit_def_buffer_size |
||
| Inter-process memory communication shared memory#2 | j |
||
| (90 + 90 i=1 |
| {(Number of files#1 + number of extensions#2) |
| 347 + Memory used by the work tables for management of the HiRDB file system area + Memory used by the system logs for management of the HiRDB file system area + 90 i=1 |
| {(Number of files#1 + number of extensions#2) |
A + B
|
| Variable | Value |
|---|---|
| A |
+ {48
+ {64 Number of tables: 62 + MAX {value of pd_max_access_tables, 500} |
| B | b1 b1: When the record length of the server status file < 4,096 MAX(( + ( + 0.7) When 4,096 MAX( When 12,288 MAX( X: When the number of RDAREAs When 3,401 When 6,801 b2: When the record length of the server status file < 4,096 ( + ( + 0.7) When 4,096 When 12,288 Y: When the number of RDAREAs When 10,201 When 5,672,511 When 11,334,821 |
| C |
|
| D |
|
| OS | Value of E | Value of F | Value of G |
|---|---|---|---|
| HP-UX (32-bit mode) | 90,500 | 2,800 | 5,600 |
| HP-UX (32-bit-mode POSIX library version) | 130,000 | 2,800 | 4,900 |
| HP-UX (64-bit mode) | 92,100 | 2,900 | 6,600 |
| HP-UX (IPF) | 211,000 | 2,600 | 7,500 |
| AIX (32-bit mode) | 75,400 | 2,100 | 5,800 |
| AIX (32-bit-mode POSIX library version) | 138,200 | 4,900 | 8,500 |
| AIX (64-bit mode) | 151,900 | 6,000 | 12,200 |
| Solaris (32-bit mode) | 79,500 | 1,400 | 3,600 |
| Solaris (32-bit-mode POSIX library version) | 125,100 | 1,700 | 3,300 |
| Solaris (64-bit mode) | 114,800 | 2,200 | 4,500 |
| Linux (32-bit mode) | 101,400 | 3,300 | 5,200 |
| Linux (EM64T) | 154,300 | 6,700 | 14,500 |
| Linux 6 (64-bit x86_64) | 117,200 | 1,900 | 5,800 |
Table 15-3 Procedure for obtaining the number of work tables for each SQL statement
| SQL statement | Procedure for obtaining the number of work tables |
|---|---|
| SELECT statement INSERT(-SELECT) statement |
When none of 1-8 as follows are applicable: 0 When any of 1-8 as follows are applicable: Sum of the applicable values from 1-8
|
| UPDATE statement DELETE statement |
Number of columns with index defined in the search condition + 1 |
| DROP SCHEMA statement DROP TABLE statement DROP INDEX statement CREATE INDEX statement REVOKE statement to revoke access privilege |
2 |
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.