16.3 Determining the size of the master directory RDAREA

The following formula is used to determine the size of the master directory RDAREA.

Formula
Size of master directory RDAREA (bytes)
= {
[Figure](a + 2)[Figure]800 [Figure] x 51 + [Figure](b + 120) [Figure] 6,000 [Figure] x 51 + [Figure](c + 240) [Figure] 6,000 [Figure] x 51
+ [Figure](d + 240) [Figure] 6,000 [Figure] x 51 + [Figure] e[Figure] 6,400 [Figure] x 51 + 2 + 6 x n
}#1x 4,096#2
a: Total number of data dictionary RDAREAs + total number of user RDAREAs
b: Total number of tables to be defined
c: Total number of indexes to be defined
d: Total number of view tables to be defined
e: Total number of data types and index types to be defined
n: Number of HiRDB files that constitute the master directory RDAREA
#1: Indicates the total number of pages in the master directory RDAREA.
#2: Indicates the page length of the master directory RDAREA.