位置:首页 > 题库频道 > 其它分类 > 计算机其它 > 专业技术初级资格程序员基础知识DB2

What is the act of releasing a large number of row-level locks that an application holds on a single table to acquire a table-level lock known as、

发布时间:2024-07-09

A.Lock exchange

B.Lock promotion

C.Lock escalation

D.Lock conversion

试卷相关题目

  • 1What takes place when a process accesses a data object on which it already holds a lock, and the access mode requires a more restrictive lock than the one currently held、

    A.Lock wait

    B.Lock timeout

    C.Lock escalation

    D.Lock conversion

    开始考试点击查看答案
  • 2Which statement about a deadlock is true、

    A.The victim will be rolled back.

    B.The victim will read through the lock.

    C.Both victim and holder are rolled back.

    D.The victim must wait until the holder releases the lock.

    开始考试点击查看答案
  • 3User USER1 wants to define a required relationship between two tables named TAB1 and TAB2 in such a way that whenever a record is deleted from table TAB1, any related records are deleted from table TAB2. What must user USER1 do to accomplish this、

    A.1) Create a primary key on table TAB1; 2) Create a foreign key on table TAB2 that references the primary key on table TAB1 and adheres to the ON DELETE CASCADE rule.

    B.1) Create a primary key on table TAB2; 2) Create a foreign key on table TAB1 that references the primary key on table TAB2 and adheres to the ON DELETE CASCADE rule.

    C.1) Create a primary key on table TAB1; 2) Create a foreign key on table TAB2 that references the primary key on table TAB1 and adheres to the ON DELETE RESTRICT rule.

    D.1) Create a primary key on table TAB2; 2) Create a foreign key on table TAB1 that references the primary key on table TAB2 and adheres to the ON DELETE RESTRICT rul

    开始考试点击查看答案
  • 4Which data type should be used to store data in a column that represents money and accurately returns a two position scale、

    A.BIGINT

    B.BINARY

    C.DOUBLE

    D.DECIMAL

    开始考试点击查看答案
  • 5What mechanism is typically used to automatically update other tables, generate or transform values for inserted or updated rows, and perform tasks such as issuing alerts、

    A.Trigger

    B.Procedure

    C.Table function

    D.Scalar function

    开始考试点击查看答案
  • 6When is an INTENT EXCLUSIVE (IX) lock required、

    A.When a transaction intends to read or change data.

    B.When a transaction intends to change but not read data.

    C.When a transaction intends to read but not change data.

    D.When a transaction intends to change the system catalog.

    开始考试点击查看答案
  • 7The EXCLUSIVE MODE option of the LOCK TABLE statement is used to prevent which of thefollowing、

    A.Concurrent application processes from performing any operations on the table.

    B.Concurrent application processes from performing any read-only operations on the table.

    C.Concurrent applications processes that are running under the cursor stability (CS) isolation level from performing read-only operations on thetable.

    D.Concurrent applications processes that are running under the uncommitted read (UR) isolation level from performing read-only operations onthe tabl

    开始考试点击查看答案
  • 8What factor influences lock conversion/promotion、

    A.Lock size

    B.Number of locks

    C.Lock mode needed

    D.Available real storage

    开始考试点击查看答案
  • 9Application APP_A is performing updates to table TAB1 using the read stability (RS) isolation level. Which isolation level will allow application APP_B to retrieve all rows from table TAB1 immediately, rather than have to wait until application APP_A has finished making updates、

    A.Read Stability (RS)

    B.Cursor Stability (CS)

    C.Repeatable Read (RR)

    D.Uncommitted Read (UR)

    开始考试点击查看答案
  • 10If no isolation level is specified, what is the default isolation level used、

    A.Cursor Stability (CS)

    B.Repeatable Read (RR)

    C.Read Stability (RS) with Currently Committed semantics

    D.Cursor Stability (CS) with Currently Committed semantics

    开始考试点击查看答案
返回顶部