473,395 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Isolation level - interesting scenario

I am just confused because of the following scenario.

* I have turned on the new 8.2 registry variables skipdeleted,
skipinserted, evaluncommitted to ON
* I gave a select * from <>, it was waiting for a lock, it needed an
intent share lock on the particular table..
the lock that it was waiting on was eXclusive row lock that another
process(process-2) was having, process-2 was updating the table 500
rows at a time before
committing
* I was hoping this will not result because of the new registry
variables!!!!

I tried db2pd to get the isolation levels of the applications, but
with no joy...
How can I get the isolation level?

Thanx
Arun

Jul 18 '07 #1
1 1955
Ian
Arun Srinivasan wrote:
I am just confused because of the following scenario.

* I have turned on the new 8.2 registry variables skipdeleted,
skipinserted, evaluncommitted to ON
* I gave a select * from <>, it was waiting for a lock, it needed an
intent share lock on the particular table..
the lock that it was waiting on was eXclusive row lock that another
process(process-2) was having, process-2 was updating the table 500
rows at a time before
committing
DB2_EVALUNCOMMITTED allows an application with CS/RS isolation to read
through a lock to determine if a row does not qualify (i.e. with a
SARGable predicate). Since your query is doing 'select * from <>' (no
predicates) DB2_EVALUNCOMMITTED doesn't apply.
* I was hoping this will not result because of the new registry
variables!!!!
No, you would have seen this same behavior before.
I tried db2pd to get the isolation levels of the applications, but
with no joy...
How can I get the isolation level?
See the EffISO column from -activestatements
Jul 18 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Markus Breuer | last post by:
I have a question about oracle commit and transactions. Following scenario: Process A performs a single sql-INSERT into a table and commits the transaction. Then he informs process B (ipc) to...
0
by: Chris | last post by:
I think I understand the concept of repeatable read, but this scenario doesn't make sense to me, if someone can explain. Say you have an innodb table test with a string column s = 'blank' and...
2
by: klh | last post by:
We use DB2 Connect v 7.2 FP7 in Windows NT hitting a OS/390 DB2 v7.1 database. We have a Websphere (java) application that issues dynamic SQL. Most of the time when we issue dynamic SQL SELECT...
4
by: unkwb | last post by:
Dealing with the Oracle / DB2 XA (2-phase commit) drivers, I found a locking situation in DB2 I do not understand. It is actually a pretty simple scenario to which I can drill it down. Let say I...
2
by: kanda | last post by:
Hello. I am developing the application (VBA&ODBC, to be exact) which periodically calls the stored procedures in the IBM DB2. A few of the procedures require executing with isolation level RR (...
3
by: joshsackett | last post by:
I am redesigning an application that distributes heldesk tickets to our 50 engineers automatically. When the engineer logs into their window a stored procedure executes that searches through all...
5
by: m0002a | last post by:
Is there some way to track the isolation level of an indivual SQL statement submitted via JDBC in a snaphot or some other similar means? I have JDBC programs that are changing the isolation level...
2
by: cj | last post by:
Hi. I need a better understanding of transaction isolation levels. I can't seem to visualize a scenario for each level. The serializable level is the only one I really understand. I do not...
1
by: Arun Srinivasan | last post by:
I am just confused because of the following scenario. * I have turned on the new 8.2 registry variables skipdeleted, skipinserted, evaluncommitted to ON * I gave a select * from <>, it was...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.