Hitachi

Hitachi Advanced Database Command Reference


43.3.1 When unarchiving chunks that include specific date range data

Unarchive chunks that were created in a table, that include specific date range data, under the following conditions:

[Figure]

This example uses the following procedure to execute the adbunarchivechunk command.

Procedure
  1. Create an unarchive chunk option file.

  2. Execute the adbunarchivechunk command.

Using examples, the following subsections explain each of these steps.

Organization of this subsection

(1) Creating an unarchive chunk option file

Create an unarchive chunk option file, and specify unarchive chunk options in that file. In this example, the number of processing real threads used for executing the adbunarchivechunk command is specified.

Example of specifying an unarchive chunk option file
set adb_unarcv_rthd_num = 2
      :

(2) Executing the adbunarchivechunk command

adbunarchivechunk -u ADBUSER01                                  ...1
                  -p '#HelloHADB_01'                            ...2
                  -z /home/adbmanager/unarchive_file/env01.txt  ...3
                  -r 2010/01/01-2010/12/31                      ...4
                  TABLE01                                       ...5
Explanation:
  1. Specifies the authorization identifier of the HADB user who executes the adbunarchivechunk command.

  2. Specifies the password for the authorization identifier that was specified in the -u option.

  3. Specifies the absolute path name of the unarchive chunk option file created in (1) Creating an unarchive chunk option file.

  4. Uses dates to specify a range of chunks to be unarchived.

  5. Specifies the table to be processed.