↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

System Catalogs / Statistics views

pg_stat_xact_user_tables

Read the PG 18 manual

Same as pg_stat_xact_all_tables, except that only user tables are shown.

Reading PG 18current·documented in 17 of 24 versions, 9.1 to 20

Kind
Statistics views
Columns in this snapshot
12
Definition source
English manual
Metadata snapshot
18.6

Columns 12

The selected manual names this view but does not list its columns. The columns below come from the separately attributed catalog snapshot for the same version.

ColumnTypeDescription / reference
relidoidOID of a table
schemanamenameName of the schema that this table is in
relnamenameName of this table
seq_scanbigintNumber of sequential scans initiated on this table This view reports counters for the current transaction.
seq_tup_readbigintNumber of live rows fetched by sequential scans This view reports counters for the current transaction.
idx_scanbigintNumber of index scans initiated on this table This view reports counters for the current transaction.
idx_tup_fetchbigintNumber of live rows fetched by index scans This view reports counters for the current transaction.
n_tup_insbigintTotal number of rows inserted This view reports counters for the current transaction.
n_tup_updbigintTotal number of rows updated. (This includes row updates counted in n_tup_hot_upd and n_tup_newpage_upd, and remaining non-HOT updates.) This view reports counters for the current transaction.
n_tup_delbigintTotal number of rows deleted This view reports counters for the current transaction.
n_tup_hot_updbigintNumber of rows HOT updated. These are updates where no successor versions are required in indexes. This view reports counters for the current transaction.
n_tup_newpage_updbigintNumber of rows updated where the successor version goes onto a new heap page, leaving behind an original version with a t_ctid field that points to a different heap page. These are always non-HOT updates. This view reports counters for the current transaction.
Column history across versions
Version history 3
  1. 19 → 20 columns not listed
  2. 15 → 16 changed
  3. 9.0 → 9.1 added

Definition snapshot: english-manuals:1a9da32c0e06798c0496d6fba7d… · English manual source