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)
= {
(
a
+ 2)
800
x
51 +
(
b
+ 120)
6,000
x
51 +
(
c
+ 240)
6,000
x
51
+
(
d
+ 240)
6,000
x
51 +
e
6,400
x
51 + 2 + 6
x
n
}
#
1
x
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
.