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
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
What is the maximum number of columns in a db2 table?
In an sql table that is embedded, what is the procedure to retrieve rows that are part of a db2 table?
How is a typical db2 batch pgm executed?
How to check table size in db2 sap?
What do you mean by storage group (stogroup)?
What is db2 bind process?
What is the maximum length of sqlca?
What is the advantage in De-normalizing tables in DB2?
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
What is difference between alias and synonym in db2?
What is meant by explain?
How do I delete a table in db2?
Before you give the explain statement, what are the prerogatives?
If I have a view which is a join of two or more tables, can this view be updateable?