Nonstop Database, HiRDB Version 9 Command Reference

[Contents][Index][Back][Next]

7.5.2 Examples

This section presents an example of using the database structure modification utility (reinitializing an RDAREA).

Organization of this subsection
(1) Reinitializing an RDAREA

(1) Reinitializing an RDAREA

This example reinitializes the following RDAREAs:

Overview
[Figure]

Contents of the control statement file (/usr/seifile/mofl03)
 
 /* Re-initializing a user RDAREA */
 initialize rdarea PDBUSER01   ..................................................1
              storage control segment 140 pages;   ..............................2
 /* Re-initializing a user RDAREA */
 initialize rdarea PDBUSER02   ..................................................1
              with reconstruction   .............................................3
              file name "/dbarea/area1/rduser06"   ..............................4
                initial 100 segments   ..........................................5
              file name "/dbarea/area1/rduser07"   ..............................4
                initial 60 segments ;   .........................................5
 

Explanation
  1. Specifies the name of the RDAREA to be re-initialized.
  2. Specifies the segment size after change.
  3. Specifies that all HiRDB files constituting the RDAREA are to be changed.
  4. Specifies the name of the HiRDB file to be re-allocated to the RDAREA.
  5. Specifies the number of HiRDB file segments.