Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.1.8 Outputting data from a base table to a file (data export)

You can output data from a base table to a file by using either of the following two methods:

Normally, we recommend that you use the adbexport command when outputting data from a base table. Use the adbsql command only when an HADB client (Linux version) needs to output data from a base table to a file.

Important

To output data from a chunk in wait status, perform either of the following operations:

  • Outputting the data that is stored in a chunk in wait status by specifying the chunk ID

    If you specify a chunk ID in the adbexport or adbsql command, the command can also output data from a chunk in wait status. For details, see 11.4.5 Exporting data in units of chunks.

  • Changing a chunk in wait status to a chunk in normal status

    If a chunk is in normal status, both of the preceding two methods can output data from the chunk. Therefore, use the adbchgchunkstatus command to change the status of the chunk from wait status to normal status. For details, see 11.4.12 Changing the chunk status.