What is ACQUIRE/RELEASE in BIND?

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


Please Help Members By Posting Answers For Below Questions

ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE

1606


What is the use of with ur in db2?

626


What is explain plan in db2?

598


What is db2 instance?

597


What is with ur in db2?

771






How to retrieve rows from a db2 table in embedded sql?

739


What is node in db2?

612


Mention the location where the output received from explain statement is stored.

637


What is an instance in db2?

570


Explain about open switch business continuity software?

571


What is difference between isnull and coalesce?

625


If I have a view which is a join of two or more tables, can this view be updateable?

704


How to access db2 tables in mainframe?

622


What are concurrency issues?

635


How do you eliminate duplicate values in db2?

695