Nonstop Database, HiRDB Version 9 System Definition
| SQL extension optimizing option facility | Identifier | Unsigned integer |
|---|---|---|
| Application of optimizing mode 2 based on cost | "COST_BASE_2" | 1 |
| Hash execution of a hash join or a subquery# | "APPLY_HASH_JOIN" | 2 |
| Facility for applying join conditions that include value expressions# | "APPLY_JOIN_COND_FOR_VALUE_EXP" | 32 |
| Enabling substructure indexes for XMLEXISTS predicates that include parameters# | "ENABLE_INDEX_XMLEXISTS_PARAM" | 256 |
| Work table processing classification | Variable name | Value | Processing method of HiRDB |
|---|---|---|---|
| Lock acquisition method when AND multiple indexes are used#1 | a | 0 | When the use of AND multiple indexes is selected as the access path, the following occurs: If any of the predicates (data) containing the columns for which the indexes to be used for search are defined satisfies the search condition, that data is locked in the shared mode (PR). Consequently, even if WITH EXCLUSIVE LOCK is specified as the lock option#2, a lock is applied in the shared mode (PR), and not in the exclusive mode (EX). |
| 1 | When the use of AND multiple indexes is selected as the access path, the following occurs: If any of the predicates (data) containing the columns for which the indexes to be used for search are defined satisfies the search condition, that data is locked in the specified mode. However, until the search for the first piece of data is completed, a predicate is logically computed for the column for which the index used for the search is defined, and the lock is released from any data that does not satisfy the search condition. | ||
| Suppression of message output during automatic extension of the work table buffer#3 | b | 0 | During automatic extension of the work table buffer, the KFPH29008-I message is output. This message is output during the first automatic extension of the work table buffer of each server process. |
| 8 | During automatic extension of the work table buffer, the KFPH29008-I message is not output. |
| Work table processing classification | Value | Specification guidelines |
|---|---|---|
| Lock acquisition method when AND multiple indexes are used | 0 | When 0 is specified, no lock release is performed, and thus the SQL processing time decreases accordingly. However, if multiple users simultaneously try to update the same table using AND multiple indexes, deadlock might occur. To avoid deadlock, specify 1. |
| 1 | When 1 is specified, lock release is performed, and thus the SQL processing time increases accordingly. However, because the ultimate lock range becomes narrower, the concurrent executability of update-UAPs improves. | |
| Suppression of extension allocation message for work table buffer | 0 | When 0 is specified, you can monitor whether extension has been allocated for the work table buffer. |
| 8 | By specifying 8, you can reduce the messages output volume. |
All Rights Reserved. Copyright (C) 2014, Hitachi, Ltd.