progress: running maintenance and index builds
Inspect running VACUUM, CREATE INDEX, CLUSTER / VACUUM FULL, and KES CHECKPOINT operations.
Reads sys_stat_progress_vacuum, sys_stat_progress_create_index, sys_stat_progress_cluster, and sys_stat_progress_checkpoint across the instance. Read-only: never starts or cancels maintenance operations.
Phase progress reflects only the current stage (for example, block scan or sort), not total ETA.
ANALYZEand base backups have no progress views in KES V8R6/V9.
Usage
Key Options
| Option | Effect |
|---|---|
--json | Emit structured JSON (progress.list, progress.checkpoint) |
Verdict & Reading Output
OK(exit=0): Both progress probes succeeded without redacted rows. WhenCREATE INDEX CONCURRENTLYis waiting on older transactions, a[NEXT]hint points tokbdiag lock.UNKNOWN(exit=3): A progress view failed/timed out or rows were hidden from non-monitoring users ([REDACTED] progress.list.phase). Incomplete probes never claim no operations are running.
Example (KES V9 Primary, COLUMNS=80)
Related Commands
kbdiag lock— inspect blockers whenCREATE INDEX CONCURRENTLYwaits on older transactionskbdiag vacuum— current-database dead tuples and autovacuum switcheskbdiag checkpoint— background writer, fsync, and checkpoint intervals