Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.4.1 Defining a multi-chunk table

To define a multi-chunk table, execute the CREATE TABLE statement in which chunk specification is specified.

Note that the contents of chunk specification differs between regular multi-chunk tables and archivable multi-chunk tables.

When defining a regular multi-chunk table

Of chunk-specification, specify CHUNK=maximum-number-of-chunks only.

When defining an archivable multi-chunk table

Specify the following:

  • CHUNK=maximum-number-of-chunks

  • chunk-archive-specification

For an example definition of multi-chunk table, see Example in Specification format and rules for the CREATE TABLE statement in the manual HADB SQL Reference.

Before you define an archivable multi-chunk table, you need to create an archive directory. Note the following when you operate on archive directories.

▪ Notes on archive directories