Nonstop Database, HiRDB Version 9 System Operation Guide
We recommend using the inner replica facility because you can reference and update the database while reorganizing it. This is called updatable online reorganization. If the inner replica facility is not used, the database cannot be referenced or updated while it is being reorganized. Using the inner replica facility minimizes the impact on online job tasks because job processing uses the replica database while the master database is being reorganized. The following figure shows how to reorganize a database using the inner replica facility.
Figure D-2 Database reorganization using the inner replica facility
For details about the inner replica facility, see the HiRDB Version 9 Staticizer Option Description and User's Guide.
When the inner replica facility is not used
When the inner replica facility is not used, a table being reorganized is placed in the lock mode (EX). Therefore, we recommend that you use the pdhold command to place the RDAREA that stores the table to be reorganized in shutdown status so that the UAP will not wait for lock-release. UAPs that were accessing in the reorganization table are terminated immediately without waiting for lock-release because RDAREAs in hold status cannot be accessed. Set in the reorganization table the amount of time RDAREAs will not be accessible, and. reorganize the table within that amount of time.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.