Nonstop Database, HiRDB Version 9 System Operation Guide
Table reorganization can be executed in the following units:
Reorganization processing can be performed on an entire table; this is the method that is usually used. Reorganization by table is executed when the results of executing the database condition analysis utility indicate that the entire table needs to be reorganized. The following figure illustrates reorganization of an entire table.
Figure 13-2 Reorganization of an entire table
Note: The data indicated by shading is subject to reorganization.
Reorganization by RDAREA reorganizes the RDAREAs in which the table is stored. This method can be used only on tables that are row-partitioned. Reorganization of RDAREAs is executed when the results of the database condition analysis utility indicate that to reorganizing only a portion of a row-partitioned table would suffice. This reduces the processing time compared with reorganization of the entire table. The following figure illustrates reorganization of an RDAREA.
Figure 13-3 Reorganization of an RDAREA
Note: The data indicated by shading is subject to reorganization.
The following figure shows an example in which a non-partitioning key index is not created during reorganization by RDAREA.
Figure 13-4 Example in which a non-partitioning key index is not created during reorganization by RDAREA
This processing reorganizes all tables in a schema in the batch mode. Reorganization by schema can be used when you wish to reorganize all the tables you own on a batch basis. The following figure illustrates reorganization of a schema.
Figure 13-5 Reorganization of a schema
Note: The data indicated by shading is subject to reorganization.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.