Hitachi

Hitachi Advanced Database Setup and Operation Guide


5.6.1 Points to consider when designing a data DB area

This subsection describes points to consider when designing a data DB area.

If you will be storing a multi-chunk table in the data DB area, also read the explanation in 5.6.2 Points to consider in storing a multi-chunk table in the data DB area.

Organization of this subsection

(1) Points to consider about the data DB area for storing tables and indexes

Consider the following points when storing tables and indexes in a data DB area:

We do not recommend that you store multiple tables or indexes that have a large amount of data in a single data DB area. If you do so and perform a search such as shown below, I/O operations might concentrate on the same DB area, thus degrading search performance:

Issues like the following might also arise:

(2) Points to consider about the data DB area for storing range indexes

Consider the following points, which are unique to range indexes:

We recommend that you not store any other tables or indexes in a data DB area that stores tables for which range indexes are defined. Storing other tables or indexes might increase the range index size.

(3) Points to consider about the data DB area files that comprise a data DB area

If one data DB area consists of multiple data DB area files, the workload can be distributed because the data DB area files are accessed in parallel. For this reason, consider using multiple data DB area files for a data DB area that stores tables and indexes that are accessed frequently. A guideline for the number of data DB area files to make up one data DB area is 20 to 40 percent of the CPU cores in the machine on which the HADB server is installed.

The following are benefits of storing multiple data DB areas files in one data DB area: