Mention the downsides of page level lock.



Mention the downsides of page level lock...

Answer / Subhash Kumar Mishra

Page-level locks in DB2 can have several disadvantages:

1. Fine-grained locks: Because each page is locked individually, it leads to more lock contention, which can potentially reduce concurrent access and performance.

2. Lock escalation: If too many pages are locked at the page level, DB2 may escalate these locks to table or partition level, leading to increased lock contention and potential performance degradation.

3. Lack of consistency: Page-level locks do not provide read consistency across multiple pages. This means that a query reading from multiple pages could potentially see an inconsistent state of the data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference

1 Answers  


How can you find out which query is taking lot of time to execute in cobol-db2 program ?

1 Answers   Danske,


What do the initials DDL and DML stand for and what is their meaning?

2 Answers  


Why do chiropractors use drop table?

1 Answers  


If the cursor is kept open followed the issuing of commit, what is the procedure to leave the cursor that way?

1 Answers  


Explain the use of the WHERE clause.

2 Answers   IBM,


how to check the table is empty or not?

3 Answers   IBM,


i have one file having 100 of records? i want to display it like 20 records in one column and 20 records in another column total 40 records per page ? how ?

2 Answers   EDS,


What is a NULL value? What are the pros and cons of using NULLS?

2 Answers  


What is isolation level?

4 Answers  


suppose in my table 10 rows are there , i want to update odd rows salary as 90000 ? how u do it ? any one help me ? what do we use here cursor-fetch or normal sql ?

5 Answers   IBM,


what are extents?

5 Answers  


Categories