Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.4.11 Changing the comment for a chunk

To change the comment for a chunk (including newly setting and deleting a chunk), execute the adbchgchunkcomment command. The following shows the procedure for changing the comment.

Procedure:

  1. Determine the chunk ID of the chunk whose comment you want to change.

    Determine the chunk ID of the chunk whose comment you want to change by following the instructions in (11) Searching for chunks that included a specified comment under C.9 Searching system tables.

  2. Change the comment using the adbchgchunkcomment command.

    Execute the adbchgchunkcomment command to change the comment set for a chunk, based on the chunk ID determined in step 1. The following shows a specification example of the adbchgchunkcomment command.

    Specification example

    An HADB user (ADBUSER01) changes the comment for a chunk (whose chunk ID is 5) in a shop table (SHOPSLIST) to '2014/09/01-2014/09/30'.

    adbchgchunkcomment -u ADBUSER01 -p '#HelloHADB_01'
                       -m '2014/09/01-2014/09/30'
                       -c 5 SHOPSLIST

This changes the comment that was set for the chunk.

Note

For details about the adbchgchunkcomment command, see adbchgchunkcomment (Set, Change, and Delete Comments for Chunks) in the manual HADB Command Reference.