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
Is db2 relational database?
Define sqlca.
How can the firstname and the lastname from the emp table be concatenated to generate complete names?
What is the maximum size of a char data type in db2?
Explain about rct in db2?
SQLCODE = -199, ERROR: ILLEGAL USE OF KEYWORD CHAR, TOKEN KEY was expected
What is the role of the data page in the db2 database?
What is drop table?
What is bind in db2?
What is cursor in dbms?
What is the maximum number of columns in a db2 table?
What is a system catalog table in db2?
How to check sequence on a table in db2?
How do you pull up a query which was previously saved in qmf?
If I have a view which is a join of two or more tables, can this view be updateable?