Hitachi

Hitachi Advanced Database Setup and Operation Guide


5.2.12 Branch specification for column data of variable-length data types (BRANCH) [Row store table]

When defining a table as a row store table, consider whether to specify a branch specification for column data of variable-length data types. You cannot specify a branch specification for column data of variable-length data types when defining a table as a column store table.

This subsection explains branch specifications for column data of variable-length data types. A variable-length data type means either of the following data types:

Normally, an entire row of data is stored on the same page. However, if a column of a variable-length data type is defined in a table, the column data of the variable-length data type might sometimes be branched and stored on separate pages.

Column data of the variable-length data type is stored according to the following rules:

Using the specification for BRANCH in the column definition of the CREATE TABLE statement, you can specify whether to make the data of a column of the variable-length data type always subject to branching onto separate pages. Use the following guidelines to determine whether to branch:

If you specify the BRANCH ALL table option, all the data in a column of the variable-length data type in the table becomes subject to branching. If such column data is not referenced frequently, specify BRANCH ALL.