Hitachi

Hitachi Advanced Database Command Reference


42.1.4 Synchronizing synonym dictionary files

Copying the synonym dictionary files from the master node to slave nodes to make the synonym dictionary files the same on all nodes is called synchronizing synonym dictionary files. When the adbsyndict -s command is executed, the synonym dictionary files under the directory specified for the adb_syndict_storage_path operand for the master node are copied to the directory specified for the adb_syndict_node_storage_path operand for all nodes.

Note

The HADB server checks whether the latest synonym dictionary file exists under the directory specified for the adb_syndict_node_storage_path operand for each node. If the latest file does not exist, the HADB server copies the synonym dictionary file from the master node.

If a synonym search is performed when the multi-node function is used, the synonym dictionary files stored under the directory specified for the adb_syndict_node_storage_path operand for each node are used. SQL statement processing for synonym search is not performed on a slave node on which an old synonym dictionary file is stored. If SQL statement processing for synonym search is assigned to such a slave node, the slave node is switched to the master node, where the SQL statement processing is to be performed.

When a synonym dictionary is registered, updated, or deleted, synonym dictionary files are synchronized automatically. Therefore, you need to execute the adbsyndict -s command to synchronize synonym dictionary files only in the following cases: