Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index616
pg_stat_replication.usesysidOID of the user logged into this WAL sender process
pg_stat_replication
SELECT usesysid FROM pg_catalog.pg_stat_replication;
View pg_stat_replication
Field usesysid
SQL type oid
Units named…
pg_stat_replication.write_lagTime elapsed between flushing recent WAL locally and receiving notification that this standby server has written it (but not yet flushed it or applied it). This can be used to gauge the dela…
pg_stat_replication.write_lsnLast write-ahead log location written to disk by this standby server
pg_stat_replication
SELECT write_lsn FROM pg_catalog.pg_stat_replication;
View pg_stat_replication
Field write_lsn
SQL t…
pg_stat_replication_slots.mem_exceeded_countNumber of times the memory used by logical decoding has exceeded logical_decoding_work_mem.
pg_stat_replication_slots
SELECT mem_exceeded_count FROM pg_catalog.pg_stat_replication_slots;
Vi…
pg_stat_replication_slots.slot_nameA unique, cluster-wide identifier for the replication slot
pg_stat_replication_slots
SELECT slot_name FROM pg_catalog.pg_stat_replication_slots;
View pg_stat_replication_slots
Field slot_na…
pg_stat_replication_slots.slotsync_last_skipTime at which last slot synchronization was skipped. Slot synchronization occurs only on standby servers and thus this column has no meaning on the primary server.
pg_stat_replication_slots…
pg_stat_replication_slots.slotsync_skip_countNumber of times the slot synchronization is skipped. Slot synchronization occurs only on standby servers and thus this column has no meaning on the primary server.
pg_stat_replication_slots…
pg_stat_replication_slots.spill_bytesAmount of decoded transaction data spilled to disk while performing decoding of changes from WAL for this slot. This and other spill counters can be used to gauge the I/O which occurred duri…
pg_stat_replication_slots.spill_countNumber of times transactions were spilled to disk while decoding changes from WAL for this slot. This counter is incremented each time a transaction is spilled, and the same transaction may …
pg_stat_replication_slots.spill_txnsNumber of transactions spilled to disk once the memory used by logical decoding to decode changes from WAL has exceeded logical_decoding_work_mem. The counter gets incremented for both top-l…
pg_stat_replication_slots.stats_resetTime at which these statistics were last reset
pg_stat_replication_slots
SELECT stats_reset FROM pg_catalog.pg_stat_replication_slots;
View pg_stat_replication_slots
Field stats_reset
SQL t…
pg_stat_replication_slots.stream_bytesAmount of transaction data decoded for streaming in-progress transactions to the decoding output plugin while decoding changes from WAL for this slot. This and other streaming counters for t…
pg_stat_replication_slots.stream_countNumber of times in-progress transactions were streamed to the decoding output plugin while decoding changes from WAL for this slot. This counter is incremented each time a transaction is str…
pg_stat_replication_slots.stream_txnsNumber of in-progress transactions streamed to the decoding output plugin after the memory used by logical decoding to decode changes from WAL for this slot has exceeded logical_decoding_wor…
pg_stat_replication_slots.total_bytesAmount of transaction data decoded for sending transactions to the decoding output plugin while decoding changes from WAL for this slot. Note that this includes data that is streamed and/or …
pg_stat_replication_slots.total_txnsNumber of decoded transactions sent to the decoding output plugin for this slot. This counts top-level transactions only, and is not incremented for subtransactions. Note that this includes …
pg_stat_slru.blks_existsNumber of blocks checked for existence for this SLRU
pg_stat_slru
SELECT blks_exists FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field blks_exists
SQL type bigint
Units named in the fie…
pg_stat_slru.blks_hitNumber of times disk blocks were found already in the SLRU, so that a read was not necessary (this only includes hits in the SLRU, not the operating system's file system cache)
pg_stat_slru…
pg_stat_slru.blks_readNumber of disk blocks read for this SLRU
pg_stat_slru
SELECT blks_read FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field blks_read
SQL type bigint
Units named in the field definition bl…
pg_stat_slru.blks_writtenNumber of disk blocks written for this SLRU
pg_stat_slru
SELECT blks_written FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field blks_written
SQL type bigint
Units named in the field defi…
pg_stat_slru.blks_zeroedNumber of blocks zeroed during initializations
pg_stat_slru
SELECT blks_zeroed FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field blks_zeroed
SQL type bigint
Units named in the field def…
pg_stat_slru.flushesNumber of flushes of dirty data for this SLRU
pg_stat_slru
SELECT flushes FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field flushes
SQL type bigint
Units named in the field definition N…
pg_stat_slru.nameName of the SLRU
pg_stat_slru
SELECT name FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field name
SQL type text
Units named in the field definition Not specified
Reset observation Time a…
pg_stat_slru.stats_resetTime at which these statistics were last reset
pg_stat_slru
SELECT stats_reset FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field stats_reset
SQL type timestamp with time zone
Units name…
pg_stat_slru.truncatesNumber of truncates for this SLRU
pg_stat_slru
SELECT truncates FROM pg_catalog.pg_stat_slru;
View pg_stat_slru
Field truncates
SQL type bigint
Units named in the field definition Not speci…
pg_stat_ssl.bitsNumber of bits in the encryption algorithm used, or NULL if SSL is not used on this connection
pg_stat_ssl
SELECT bits FROM pg_catalog.pg_stat_ssl;
View pg_stat_ssl
Field bits
SQL type inte…
pg_stat_ssl.cipherName of SSL cipher in use, or NULL if SSL is not in use on this connection
pg_stat_ssl
SELECT cipher FROM pg_catalog.pg_stat_ssl;
View pg_stat_ssl
Field cipher
SQL type text
Units named in …
pg_stat_ssl.client_dnDistinguished Name (DN) field from the client certificate used, or NULL if no client certificate was supplied or if SSL is not in use on this connection. This field is truncated if the DN fi…
pg_stat_ssl.client_serialSerial number of the client certificate, or NULL if no client certificate was supplied or if SSL is not in use on this connection. The combination of certificate serial number and certificat…
pg_stat_ssl.clientdnDistinguished Name (DN) field from the client certificate used, or NULL if no client certificate was supplied or if SSL is not in use on this connection. This field is truncated if the DN fi…
pg_stat_ssl.compressionTrue if SSL compression is in use, false if not, or NULL if SSL is not in use on this connection
pg_stat_ssl
SELECT compression FROM pg_catalog.pg_stat_ssl;
View pg_stat_ssl
Field compressi…
pg_stat_ssl.issuer_dnDN of the issuer of the client certificate, or NULL if no client certificate was supplied or if SSL is not in use on this connection. This field is truncated like client_dn.
pg_stat_ssl
SEL…
pg_stat_ssl.pidProcess ID of a backend or WAL sender process
pg_stat_ssl
SELECT pid FROM pg_catalog.pg_stat_ssl;
View pg_stat_ssl
Field pid
SQL type integer
Units named in the field definition Not specifi…
pg_stat_ssl.sslTrue if SSL is used on this connection
pg_stat_ssl
SELECT ssl FROM pg_catalog.pg_stat_ssl;
View pg_stat_ssl
Field ssl
SQL type boolean
Units named in the field definition Not specified
Rese…
pg_stat_ssl.versionVersion of SSL in use, or NULL if SSL is not in use on this connection
pg_stat_ssl
SELECT version FROM pg_catalog.pg_stat_ssl;
View pg_stat_ssl
Field version
SQL type text
Units named in th…
pg_stat_subscription.last_msg_receipt_timeReceipt time of last message received from origin WAL sender; NULL for parallel apply workers and the sequence synchronization worker
pg_stat_subscription
Receipt time of last message recei…
pg_stat_subscription.last_msg_send_timeSend time of last message received from origin WAL sender; NULL for parallel apply workers and the sequence synchronization worker
pg_stat_subscription
Send time of last message received fr…
pg_stat_subscription.latest_end_lsnLast write-ahead log location reported to origin WAL sender; NULL for parallel apply workers and the sequence synchronization worker
pg_stat_subscription
Last write-ahead log location repor…
pg_stat_subscription.latest_end_timeTime of last write-ahead log location reported to origin WAL sender; NULL for parallel apply workers and the sequence synchronization worker
pg_stat_subscription
Time of last write-ahead lo…
pg_stat_subscription.leader_pidProcess ID of the leader apply worker if this process is a parallel apply worker; NULL if this process is a leader apply worker, a table synchronization worker or a sequence synchronization …
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
Searching every version by default. Manual pages are indexed for PostgreSQL 10–20; the reference library and extension catalogue are not version-bound.
all: every version pg17: one version ex: extensions only ↑↓ select ↵ open