Answer Posted / islam
RELEASE has two parametre : commit & deallocate
RELEASE specify when the the db2 resources has to be set
free
if you use RELEASE(commit) then at every commit point db2
resources will be set free
but if u use RELEASE(DEALLOCATE) then once the whole
transaction is terminated, the db2 resources will be set
free
ACQUIRE serves the purpose of maintaining data consistency.
It has two parametre : ALLOCATE & USE
ACQUIRE(USE) - Opens table spaces and acquires locks only
when the application program bound to the plan first
uses them.
ACQUIRE(ALLOCATE) - Opens all table spaces and
acquires all table space locks when the plan is
allocated.
ACQUIRE(USE) - Fixed for Packages
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
What is null indicator in db2?
What is the difference between cursor and select statement?
What is copy pending status in db2?
define clustering index.
What is a buffer in memory?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
What do you mean by cursor?
What is concurrency?
What is plan in cobol db2?
What is the difference between oracle and db2?
How can you do the explain of a dynamic sql statement?
What do you mean by storage group (stogroup)?
How to run db2 command in windows?
What is buffer pool and list some of them?
What is data manager?