Hitachi

Hitachi Advanced Database Setup and Operation Guide


11.16.12 Checking the free space required for the directory for storing synonym dictionary files

When you register or update a synonym dictionary, check whether there is enough free space for the directory for storing synonym dictionary files. If the free space is insufficient, execution of the adbsyndict command results in an error.

You can use the following formula to determine the approximate value of the required free space.

Formula (kilobytes)

5 x A + 513 x C + 27 x B + 1,539 x D

A:

Total size (kilobytes) of the synonym list definition files for the synonym dictionaries for which CASESENSITIVE is specified for the correction search option

B:

Total size (kilobytes) of the synonym list definition files for the synonym dictionaries for which CORRECTIONRULE is specified for the correction search option

C:

Number of the synonym dictionaries for which CASESENSITIVE is specified for the correction search option

D:

Number of the synonym dictionaries for which CORRECTIONRULE is specified for the correction search option

As the result of the preceding calculation, if the free space is insufficient, execute the adbsyndict command to reduce the number of synonym dictionaries registered or updated at a time. The preceding formula calculates the free space that is temporarily required. If you reduce the number of synonym dictionaries registered or updated at a time, the free space that is temporarily required is reduced. Therefore, the adbsyndict command might be executed.

Note

For example, when you update 10 synonym dictionaries, 10 new synonym dictionary files are created, and then the old synonym dictionary files are deleted. Therefore, 20 synonym dictionary files temporarily exist in the directory for storing synonym dictionary files.