Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2003
    Posts
    127

    Unanswered: Table quiesce ...

    I have a question about quiescing a table. The command refers to a table but the whole tbspce is quiesced. Am I interpreting something wrong? Also, how to unquiesce?

    db2 "quiesce tablespaces for table tabschema.tabname exclusive"

    Is there a way to quiesce a table and not a tablespace?

    Thanks

  2. #2
    Join Date
    Sep 2004
    Location
    Belgium
    Posts
    1,126
    Quote Originally Posted by Kota
    Is there a way to quiesce a table and not a tablespace?
    No. Only if you put just one table in the tablespace.

    At the DB2 "implementation" level (logs, backups, quiesce, ...) there are just tablespaces, no tables.
    --_Peter Vanroose,
    __IBM Certified Database Administrator, DB2 9 for z/OS
    __IBM Certified Application Developer
    __ABIS Training and Consulting
    __http://www.abis.be/

  3. #3
    Join Date
    Sep 2004
    Location
    Belgium
    Posts
    1,126
    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:
    "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.
    --_Peter Vanroose,
    __IBM Certified Database Administrator, DB2 9 for z/OS
    __IBM Certified Application Developer
    __ABIS Training and Consulting
    __http://www.abis.be/

  4. #4
    Join Date
    Jun 2003
    Posts
    127
    Thanks for the info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •