Scalable Database Server, HiRDB Version 8 Description
The user may change the lock that is implemented automatically by HiRDB. Locking of tables and rows during data updating, addition, and deletion and during data retrieval is explained as follows.
When IN EXCLUSIVE MODE is specified in the LOCK TABLE statement, the user may change the lock to be used during data updating, addition, and deletion. Referencing, adding, updating, or deletion of data in the table by other transactions are not allowed. In other words, the exclusive (EX) mode goes into effect. On the other hand, because row-based locking is not applied, the overhead for applying the lock is reduced, thus preventing a shortage of buffers for locking. However, because table-based locking is applied, other transactions may have to wait for a long time.
When either of the following SQLs is specified, the user may change the lock to be used during data retrieval:
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.