In BIND, isolation level parameter specifies the duration
of page lock and ACQUIRE, RELEASE also do almost the same
thing. What is the exact difference between the two? Do
they work in conjunction while executing SQL queries and
obtaining locks?

Answer Posted / p praveen kumar

1) Isolation specifies types of locks to be used by
Repeatable Reads(Table space locks), Reads
Stability(page level locks), Cursor Stability(Row level Locks)
Uncommitted locks(no Locks)

2) Acquire tells when the lock should be acquired(USE,ALLOCATE)

3) Release tells when it should be unlocked(COMMIT, DEAL LOCATE)

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does runstats do in db2?

607


What is the difference between dbm cfg and db cfg file in db2 ?

1009


What is a Foreign Key?

660


What is image copy in db2?

575


How do I change the column size in db2?

598






What is precompiler in db2?

589


What is an instance in db2?

567


What is copy pending status in db2?

638


How does cobol compile db2 program?

610


What is dpf in db2?

667


What is the role of data manager in the db2 database?

649


How do I optimize a query in db2?

624


What os does db2 run on?

574


What are concurrency issues?

632


How to find the number of rows in db2 tables?

619