A quiesce point is a bookmark on the Db2 log where a set of table spaces is consistent: no half-finished unit of recovery is sitting in those objects. The QUIESCE utility writes that bookmark (log RBA or LRSN) into SYSIBM.SYSCOPY so you can later RECOVER to it. This page covers table spaces, partitions, table space sets, WRITE YES/NO, catalog rules, and why “QUIESCE DATABASE” in conversation usually means a LIST of spaces—not a DATABASE keyword.
Phases: UTILINIT, QUIESCE (determine the point and update the catalog), UTILTERM. The quiesce point is the current log RBA or, in data sharing, LRSN. SYSCOPY gets a row with ICTYPE='Q' for each table space and for COPY YES indexes on those spaces. Four catalog/directory spaces log the information instead of SYSCOPY: SYSTSCPY, DBD01, SYSUTILX, SYSDBDXA.
You do not have to QUIESCE in order to do a point-in-time recover—RECOVER can apply consistency (committed data only) without a Q row. Recovering to a quiesce point can be faster because Db2 does not need to back out in-flight work. Use QUIESCE when a related set must share one point (RI parents and children, base plus LOBs).
| Option | Meaning |
|---|---|
| TABLESPACE db.ts | Quiesce this table space. Database defaults to DSNDB04. |
| PART n | Physical partition 1–4096. Same space with PART m and PART n quiesces each once. |
| TABLESPACESET | Quiesce the RI set plus LOB and XML auxiliaries of the named space. |
| LIST listdef | One LIST of table spaces (optional partition ranges). Not with TABLESPACE/TABLESPACESET. |
| CLONE | Clone data only; LISTDEF CLONED YES is not sufficient. |
| WRITE YES | NO | YES writes changed pages for the spaces and their indexes to disk. |
QUIESCE TABLESPACE db.ts is the basic form. PART integer limits the job to one physical partition. Naming the same space twice with different PART values quiesces each partition once. Memory in the batch address space and DBM1 limits how many objects you can list. Duplicating a space without PART still quiesces it once and warns with DSNU533I (RC 4).
TABLESPACESET means: this space plus everything IBM treats as one recoverability set for QUIESCE:
On a system-period temporal table or its history table space, QUIESCE includes both sides of the versioning relationship and their LOB/XML auxiliaries. The TABLESPACE keyword is optional on TABLESPACESET.
One LIST per QUIESCE statement; the LISTDEF must contain only table spaces (partition ranges allowed). Do not mix LIST with TABLESPACE or TABLESPACESET. Related index spaces count as list items for OPTIONS ITEMERROR. CLONE processes clone data; CLONED YES on LISTDEF is not enough.
To quiesce “the database,” build a LISTDEF of its table spaces (or list them) and run one QUIESCE so they share a common point. QUIESCE is not STOP DATABASE: applications are drained only long enough to reach a consistent log point, then continue.
1234567891011QUIESCE TABLESPACE PAYDB.EMPTS WRITE YES; QUIESCE TABLESPACE PAYDB.EMPTS PART 3 WRITE YES; QUIESCE TABLESPACESET TABLESPACE PAYDB.ORDTS WRITE YES; QUIESCE LIST PAYCRIT WRITE YES;
WRITE YES (the usual choice) writes changed pages for the table spaces and their indexes from the buffer pool to disk so DASD matches the quiesce RBA/LRSN. WRITE NO still records the SYSCOPY Q row (for ordinary spaces) but skips that forced write. Use WRITE YES before an outside copy of VSAM data sets or a tool that reads DASD directly. Reasons a write can fail include drain timeouts and objects in pending status—DISPLAY DATABASE and the utility messages tell you.
QUIESCE on a space already in a restrictive pending state may fail or skip the write. Reset or recover first. After QUIESCE, REPORT RECOVERY shows the new Q row. MODIFY RECOVERY later deletes old Q rows with the rest of the history.
Do not confuse QUIESCE the utility with -STOP DB2 MODE(QUIESCE) or -STOP DDF MODE(QUIESCE). Those operator commands drain the subsystem or DDF. The utility only bookmarks a consistency point for named spaces.
Imagine several related storybooks (parent table, child table, photo-LOB box) that must always match. QUIESCE is everyone pausing at the same sentence in the diary (the log) while the librarian writes that sentence number on a sticky note (SYSCOPY ICTYPE Q). Later, if you rewind the stories, you rewind to that sticky note and all three books agree. WRITE YES also photocopies the pages onto the shelf so a camera pointed at the shelf sees the same sentence. WRITE NO only writes the sticky note. You cannot QUIESCE “the whole library building” with one magic word—you list the books that belong together, which is what TABLESPACESET and LISTDEF are for.
1. What is a quiesce point?
2. Does the QUIESCE utility have a DATABASE keyword?
3. What does TABLESPACESET include?
4. WRITE(YES) versus WRITE(NO)?
5. Can you QUIESCE an index space by name?