Code Reference

Glossary

Postgres · Reference cheat sheet

Glossary

Postgres · Reference cheat sheet


📋 Overview

Alphabetical glossary of PostgreSQL operations and administration terms.

🔧 Core concepts

TermDefinition
AutovacuumBackground process that vacuums and analyzes tables.
BloatExcess space from dead tuples / index waste.
CheckpointFlush dirty buffers and advance WAL recovery point.
Concurrent indexIndex build that avoids long write locks.
ExtensionPackaged set of DB objects installed per database.
Hot standbyReplica open for read-only queries.
MVCCMulti-version concurrency control for readers/writers.
PITRPoint-in-time recovery using base backup + WAL.
PoolerMiddleware multiplexing client connections.
RoleAuth identity that can own objects and hold privileges.
TOASTOut-of-line storage for large field values.
VacuumCleanup of dead row versions for reuse.
WALWrite-ahead log guaranteeing durability and replication.
WraparoundTransaction ID exhaustion risk mitigated by freezing.

💡 Examples

Activity snapshot:

SELECT pid, usename, state, query_start, left(query, 80)
FROM pg_stat_activity
WHERE state <> 'idle';

Extension list:

\dx

⚠️ Pitfalls

  • Glossaries compress nuance — always confirm behavior for your major version (14/15/16/17).
  • Managed Postgres may rename or restrict low-level ops (superuser, FS access).

On this page