RDAREA addition is a function that adds a new RDAREA when there are not enough existing RDAREAs for adding new tables and indexes and modifying table definitions. The figure below provides an overview of the use of the database structure modification utility (pdmod) for RDAREA addition.
Figure 7-1 Overview of database structure modification utility (pdmod): RDAREA addition
![[Figure]](figure/zu070010.gif)
- Prerequisites
- Before adding an RDAREA, you need to initialize the HiRDB file system areas in which the HiRDB files that constitute the new RDAREA are to be created (by executing the pdfmkfs command).
- When adding an RDAREA, make sure that the total number of RDAREAs does not exceed the maximum number of RDAREAs (pd_max_rdarea_no) or the maximum number of HiRDB files constituting the RDAREAs (pd_max_file_no) specified in the system common definition. If either of these values is exceeded, you must use the pdchgconf command to change the system common definition or terminate the HiRDB system normally and then change the system common definition.
- A shared RDAREA that is added is regarded as having been added to every back-end server (even if a back-end server has no shared RDAREAs, the system assumes that one RDAREA has been added). If the maximum permissible number of RDAREAs or the maximum permissible number of HiRDB files constituting RDAREAs is exceeded at any of the back-end servers, the shared RDAREA cannot be added at all.
- Addition of shared RDAREAs is applicable only to user RDAREAs. A shared RDAREA can be added only to a HiRDB file system area that is a character special file and whose usage purpose is SDB.
- If you wish to add a temporary table RDAREA while you are using the 0904 compatibility mode, first check that the number of temporary table RDAREAs will not exceed the maximum permissible number of temporary table RDAREAs specified in the system common definition (value of pd_max_tmp_table_rdarea_no). If the maximum number of temporary table RDAREAs is exceeded, terminate HiRDB and change the system common definition.