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?

Answers were Sorted based on User's Feedback



In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / gopi

(1) Isolation specifies type of lock that should be used
(2) Acquire tells when the lock should be acquired
(3) Release tells when it should be unlocked

Is This Answer Correct ?    8 Yes 1 No

In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / neeti

Isolation level parameters are used on page level while the
ACQUIRE and RELEASE parameters work on tablespace levels

Is This Answer Correct ?    8 Yes 3 No

In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / 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

In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / guest

ACQUIRE, RELEASE determines when a partition, table or
tablespace lock will be acquired and released. ISOLATION
determines when a row, page lock will be acquired and
released. PAGE, ROW locks are released depending on the
ISOLATION level but almost always at commit or rollback.

Is This Answer Correct ?    3 Yes 1 No

In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / priya

When a tablespace is locked, another task cannot have
access to the entire table itself. So here, does page level
locking matter and what difference remains between
ISOLATION and ACQUIRE/RELEASE?

Is This Answer Correct ?    1 Yes 1 No

In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / rrgust

In ACQUIRE there are two options are available 1) Use
2)Allocate. When the bind card contains ACQUIRE(USE) when
there there is first hit to the table, lock willbe held. If
you use the second option, during the executin the lock
will be held.

Reg: RELEASE, it will take RELEASE(COMMIT). Once commit is
perfomed, the lock will be released..

Is This Answer Correct ?    3 Yes 3 No

In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / g

ACQUIRE, RELEASE parameters refer to when the resources for
the application program will be acquired and released. This
includes when datasets will be allocated/deallocated, when
storage will be allocated/deallocated for DBDs,
plans/packages in EDM pool.

Is This Answer Correct ?    2 Yes 2 No

In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also d..

Answer / madhu

1) Acquire and Release are effective when lock rule of tablespace is either table lock or tablespace lock. In this case, bind level isolation has no effect.

2) Isolation Level is effective when lock rule of tablespace is either page lock or row lock. In this case, Acquire and Release has no effect.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB2 Interview Questions

What are the 2 sqlcodes that are returned?

0 Answers  


When DB2 connection fails, will online program work or give errors.

1 Answers   Virtusa,


What are the various isolation levels possible?

0 Answers  


How do I add a column in db2?

0 Answers  


How do you find the maximum value in a column in db2?

0 Answers  


how to check the table is empty or not?

3 Answers   IBM,


How do you run JCL in cobol program

1 Answers   IBM, Syntel,


What DB2 Catalog column tell you when an index needs table reorganized ?

1 Answers  


What are the bind parameters ibm db2?

0 Answers  


What is the maximum number of tables that can be stored on a Partitioned Table Space ?

1 Answers   IBM,


How would one remove old reorg information from the DB2 catalog?

2 Answers  


how can u retrieve the data from null values using applicaion program.

3 Answers   TCS,


Categories