Nonstop Database, HiRDB Version 9 System Operation Guide
This example deletes a user RDAREA named RDAREA1.
DROP TABLE TABLE1; DROP INDEX INDEX1; |
pdhold -r RDAREA1 -c |
A control statements file that contains the pdmod command's remove rdarea statement (/pdmod/remove01) is created. The following are the contents of the control statements file:
remove rdarea RDAREA1; |
pdmod -a /pdmod/remove01 |
If you no longer need the global buffer that was allocated for the deleted RDAREA (it is allocated for no other RDAREAs), delete that global buffer.
pdbufmod -k del -a gbuf01 |
All the following conditions must be satisfied in order to execute the pdbufmod command:
The global buffer deletion information becomes invalid when HiRDB is terminated normally or through planned termination. Therefore, delete the name of the deleted RDAREA from the pdbuffer operand while HiRDB is stopped.
You can use the system reconfiguration command (pdchgconf command to change the pdbuffer operand specification while HiRDB is running. Note that HiRDB Advanced High Availability must be installed in order to execute the system reconfiguration command. For details about modifying HiRDB system definitions while HiRDB is running, see 9.2 Modifying HiRDB system definitions while HiRDB is running (system reconfiguration command).
We recommend that after the command has executed you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.