Nonstop Database, HiRDB Version 9 System Operation Guide
This example adds a user RDAREA (RDAREA1) to which the automatic extension facility is applied.
Modify the value specified for the pd_rdarea_extension_timing operand. In this example, use is specified as the automatic extension trigger. Furthermore, to initialize the area to be expanded during automatic extension, the pd_rdarea_expand_format operand is specified.
: set pd_rdarea_extension_timing=use set pd_rdarea_expand_format=Y : |
For details about how to modify the HiRDB system definition, see 9.1 Modifying HiRDB system definitions or 9.2 Modifying HiRDB system definitions while HiRDB is running (system reconfiguration command).
pdfmkfs -n 100 -k DB -a -i /rdarea/area01 |
A control statements file (/pdmod/create01) is created for the create rdarea statement of the pdmod command. The following are the contents of the control statements file:
create rdarea RDAREA1 for user used by PUBLIC server name bes1 page 4096 characters storage control segment 10 pages extension use 500 segments file name "/rdarea/area01/file01" initial 1000 segments; |
pdmod -a /pdmod/create01 |
pdlogswap -d sys -w |
pdcopy -m /rdarea/mast/mast01 -M r -a -b /pdcopy/backup01 -p /pdcopy/list01 |
pdbufmod -k add -a gbuf01 -r RDAREA1 -n 1000 |
Note, however, that both the following conditions must be satisfied in order to use the pdbufmod command:
The global buffer allocated in this procedure becomes invalid if HiRDB is terminated normally or through a planned termination. Therefore, change the pdbuffer operand specification while HiRDB is stopped. An example of the pdbuffer operand specification follows:
: pdbuffer -a gbuf01 -r RDAREA1,RDAREA2,RDAREA3 -n 1000 : |
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 use the system reconfiguration command. For details about changing HiRDB system definitions using the system reconfiguration command, 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.