Hitachi

Hitachi Advanced Database Command Reference


6.3.2 Changing the status of chunks in normal and wait statuses

This example changes the status of the following chunks for table TABLE01 as follows:

Organization of this subsection

(1) Checking the chunk status

Before you change the chunk status, use one of the following methods to check the status of the target chunks:

(2) Executing the adbchgchunkstatus command

adbchgchunkstatus -u ADBUSER01            ...1
                  -p '#HelloHADB_01'      ...2
                  -w 1-3                  ...3
                  -n 4-6                  ...4
                  TABLE01                 ...5
Explanation:
  1. Specifies the authorization identifier of the HADB user who executes the adbchgchunkstatus command.

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

  3. Specifies the chunk IDs of the chunks whose status is to be changed from normal status to wait status.

  4. Specifies the chunk IDs of the chunks whose status is to be changed from wait status to normal status.

  5. Specifies the table to be processed (TABLE01).