Quote:
|
Originally Posted by Kota
How to unquiesce?
|
db2 quiesce tablespaces for table tabschema.tabname reset
See e.g. page 316 of the Utilities Guide:
Quote:
"Table Space State Quiesced Exclusive":
A table space is in this state when the application that invokes the table space quiesce function has exclusive (read or write) access to the table space. You can put a table space in Quiesced Exclusive state explicitly by issuing the QUIESCE TABLESPACES FOR TABLE command.
Ensure that the table space state is Normal before setting it to Quiesced Exclusive.
connect to sample;
quiesce tablespaces for table staff reset;
quiesce tablespaces for table staff exclusive;
connect reset;
|
The "quiesce" action --taken by utilities like e.g. LOAD or REORG-- is also known as a "claim & drain" action (terminology used on DB2 for z/OS), since it drains out all "normal" tablespace locks while the claim prevents other "normal" locks to be taken in the meantime.
In contrast with "normal" locking, quiesce is a "persistent" way of locking a tablespace, since it is not released at e.g. disconnect, commit, or rollback. Only a "quiesce reset" can release it.