The following procedure shows how to handle space shortages in HiRDB file system areas that prevent automatic extension from being performed.
- Procedure
- Use the pdfmkfs command to create a HiRDB file system area.
- Use the pdrorg command to unload table data. This is the recommended procedure, although this step is not always required. It does, however, improve performance. For details about unloading data, see the manual HiRDB Version 8 Command Reference.
- Use the pdmod command (expand rdarea statement) to expand the RDAREA. Add and allocate the HiRDB file system area created in step 1. For details about expanding RDAREAs, see 15.3 Increasing the size of an RDAREA (RDAREA expansion).
- Use the pdrorg command to reload the table data. Reload the data if you unloaded it in step 2. For details about reloading data, see the manual HiRDB Version 8 Command Reference.
- Use the pdcopy command to back up data. For details about making backups, see 6. Backup Procedures.
- Notes on using the inner replica facility
- If you are using the inner replica facility, the number of HiRDB files making up the expanded RDAREA will no longer match the number for the other RDAREAs in the replica group. To copy the contents of an RDAREA to another RDAREA, you can use one of the methods below. If the RDAREA being expanded is an original RDAREA, take the action described in method 1. If the RDAREA being expanded is a replica RDAREA, take the action described in method 2.
- Delete all replica RDAREA definitions, and then perform the procedure described above. After finishing, redefine the replica RDAREAs.
- Perform the procedure described above. Before copying the data object for use in another RDAREA, use the define copy rdarea statement of the database structure modification utility to copy the RDAREA configuration information from the data object source. For details, see Modifying and copying the configuration information of an RDAREA in an inner replica in the HiRDB Staticizer Option Version 7 Description and User's Guide.