Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

3.4.8 Lock sequence based on SQL statement and index types

Organization of this subsection
(1) Lock sequence of data manipulation SQL statements for index key values and data page rows
(2) Lock sequence of data manipulation SQL statements when non-locking of index key values is used

(1) Lock sequence of data manipulation SQL statements for index key values and data page rows

(a) INSERT statement

[Figure]

(b) DELETE statement that does not use a cursor or UPDATE statement to search for data matching a condition

[Figure]

(c) DELETE statement that uses a cursor

[Figure]

(d) UPDATE statement that uses a cursor

[Figure]

(e) SELECT or FETCH statement

[Figure]

[Figure]

[Figure]

(2) Lock sequence of data manipulation SQL statements when non-locking of index key values is used

(a) INSERT statement

[Figure]

(b) DELETE statement that does not use a cursor or UPDATE statement to search for data matching a condition

[Figure]

(c) DELETE statement that uses a cursor

[Figure]

(d) UPDATE statement that uses a cursor

[Figure]

(e) SELECT or FETCH statement

[Figure]

[Figure]