7.3.4 Notes
- An added RDAREA becomes available at the following time:
- Global buffer not allocated by the control statement
The added RDAREA becomes available the next time HiRDB is started normally. If there is a global buffer created with the -o option specified and the global buffer size is larger than the page size of the added RDAREA, the RDAREA becomes available also at the time of a restart. After the restart, the RDAREA is closed, so you will have to use the pdopen command to open the RDAREA before it can be used.
- Global buffer allocated by the control statement
The added RDAREA becomes available upon completion of the RDAREA addition processing. When a shared RDAREA is added, the global buffer must be allocated to all back-end servers.
In either case, you must modify the system common definitions so that a global buffer is allocated to the newly added RDAREA at the time of the next HiRDB normal startup. For details about the system common definitions, see the HiRDB Version 8 System Definition. If the system common definitions are not modified but there is an available global buffer for which the -o option was specified in the pdbuffer operand of the system common definition, that global buffer is allocated automatically to the RDAREA the next time HiRDB is started normally. Also, if there is an available global buffer for which the -o option was specified, or a global buffer is specified with the control statement, that global buffer is allocated at the time of a HiRDB restart.
- After adding an RDAREA, you should make a backup copy of the added RDAREA, the master directory RDAREA, and the corresponding data dictionary RDAREA, using the database copy utility (pdcopy). For details about the database copy utility, see 18. Database Copy Utility (pdcopy).
- When you add the data dictionary LOB RDAREAs, stored procedures or stored functions become available. When the data dictionary LOB RDAREAs are added, data dictionary tables are also created at the same time. Therefore, you should check to ensure that there is sufficient free space in the data dictionary RDAREAs. If there is not enough space, expand the data dictionary RDAREAs in advance. To check the size of an RDAREA, use the database condition analysis utility.
If you want to store the data dictionary tables related to stored procedures in a separate data dictionary RDAREA from other data dictionary tables, you can add a data dictionary RDAREA at the same time.
Once the data dictionary LOB RDAREAs have been added, the stored procedures or stored functions become available when global buffers are allocated to the added RDAREAs.
- When adding an RDAREA, specify a HiRDB file in the HiRDB file system area whose generations are not managed.