Hitachi

Hitachi Advanced Database Setup and Operation Guide


6.3 Estimating the HADB server's memory requirement

This section explains how to estimate the amount of memory required by the HADB server.

You can use the following formula to determine the maximum size of memory to be used by the HADB server. Specify a value that is equal to or greater than the value obtained from the formula for the adb_sys_memory_limit server definition operand. For details, see the explanation of the adb_sys_memory_limit operand in 7.2.2 Operands related to performance (set format).

Formula (kilobytes)

[Figure]

#1

Applies to the variables in (4) Determining the real thread private memory requirement under 6.3.1 Determining the shared memory requirement, excluding the following:

  • RTHD_IMPORTSZ

  • RTHD_IDXRBLDSZ

  • RTHD_GETCOSTSZ

  • RTHD_DBSTATUSSZ

  • RTHD_EXPORTSZ

  • RTHD_MERCHKSZ

  • RTHD_ARCCKSZ

  • RTHD_UNARCCKSZ

  • RTHD_REORGSZ

  • RTHD_CLTDEFMNG

  • RTHD_SYNDICTSZ

  • RTHD_AUDTRAILSZ

  • RTHD_CONVERTAUDSZ

#2

Add this value when you use the multi-node function.

#3

Applies to the following variables in (4) Determining the real thread private memory requirement under 6.3.1 Determining the shared memory requirement:

  • RTHD_IMPORTSZ

  • RTHD_IDXRBLDSZ

  • RTHD_GETCOSTSZ

  • RTHD_DBSTATUSSZ

  • RTHD_EXPORTSZ

  • RTHD_MERCHKSZ

  • RTHD_ARCCKSZ

  • RTHD_UNARCCKSZ

  • RTHD_REORGSZ

  • RTHD_CLTDEFMNG

  • RTHD_SYNDICTSZ

  • RTHD_AUDTRAILSZ

  • RTHD_CONVERTAUDSZ

The memory used by the HADB server consists of shared memory and process memory.

■ Shared memory types

To determine the amount of shared memory, you must determine the amount for each of the following four types:

  • Shared memory management area

  • Global buffer page

  • Process common memory

  • Real thread private memory

■ Process memory type
  • Heap memory

The HADB server uses these types of memory at the following times:

Note

If you do not specify the adb_sys_memory_limit server definition operand, specify the maximum size of process common memory in the adb_sys_proc_area_max server definition operand. Also specify the maximum size of real thread private memory per real thread in the adb_sys_rthd_area_max server definition operand.

Organization of this section