Documentation
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package backendkiller defines implementation of workload which deliberately drives a single PostgreSQL backend towards an out-of-memory condition.
|
Package backendkiller defines implementation of workload which deliberately drives a single PostgreSQL backend towards an out-of-memory condition. |
|
Package bloatchurn defines implementation of a workload which deliberately generates remediable table-and-index bloat via a rate attack: it floods a seed table with UPDATEs faster than autovacuum (left enabled) can reclaim the dead tuples.
|
Package bloatchurn defines implementation of a workload which deliberately generates remediable table-and-index bloat via a rate attack: it floods a seed table with UPDATEs faster than autovacuum (left enabled) can reclaim the dead tuples. |
|
Package checkpointstorm defines implementation of a workload which deliberately drives a CHECKPOINT storm on a PostgreSQL instance — an I/O sibling of the slow-line family, distinct from wal-flood (ADR-003-2).
|
Package checkpointstorm defines implementation of a workload which deliberately drives a CHECKPOINT storm on a PostgreSQL instance — an I/O sibling of the slow-line family, distinct from wal-flood (ADR-003-2). |
|
Package deadlocks defines implementation of workload which creates deadlocks between several concurrent transactions, which finally leads to Postgres have to resolve the deadlock and terminate an one participant of the deadlock.
|
Package deadlocks defines implementation of workload which creates deadlocks between several concurrent transactions, which finally leads to Postgres have to resolve the deadlock and terminate an one participant of the deadlock. |
|
Package failconns implements a workload which creates many database connections forcing Postgres to fork children processes until the value of max_connections is reached.
|
Package failconns implements a workload which creates many database connections forcing Postgres to fork children processes until the value of max_connections is reached. |
|
Package forkconns defines implementation of workload which creates many short-lived database connections which forces Postgres to fork children processes.
|
Package forkconns defines implementation of workload which creates many short-lived database connections which forces Postgres to fork children processes. |
|
Package hotrowcontention defines implementation of workload which deliberately drives row-lock and buffer-content contention on a PostgreSQL instance.
|
Package hotrowcontention defines implementation of workload which deliberately drives row-lock and buffer-content contention on a PostgreSQL instance. |
|
Package idlexacts defines implementation of workload which creates idle transactions.
|
Package idlexacts defines implementation of workload which creates idle transactions. |
|
internal
|
|
|
dbtest
Package dbtest provides a throwaway PostgreSQL container for integration tests.
|
Package dbtest provides a throwaway PostgreSQL container for integration tests. |
|
Package rollbacks defines implementation of workload which issues definitely invalid queries which are doomed to fail and as a result pg_stat_database.xact_rollback counter is incremented.
|
Package rollbacks defines implementation of workload which issues definitely invalid queries which are doomed to fail and as a result pg_stat_database.xact_rollback counter is incremented. |
|
Package seqscanstorm defines implementation of a workload which deliberately drives a sustained, CPU-bound sequential-scan storm on a PostgreSQL instance.
|
Package seqscanstorm defines implementation of a workload which deliberately drives a sustained, CPU-bound sequential-scan storm on a PostgreSQL instance. |
|
Package slotbloat defines implementation of workload which deliberately drives a PostgreSQL instance towards a disk-full PANIC via a forgotten replication slot.
|
Package slotbloat defines implementation of workload which deliberately drives a PostgreSQL instance towards a disk-full PANIC via a forgotten replication slot. |
|
Package tempfiles defines a workload which executes queries that produce on-disk temporary files because their sort genuinely needs more memory than the server's work_mem — NOT because work_mem is artificially lowered.
|
Package tempfiles defines a workload which executes queries that produce on-disk temporary files because their sort genuinely needs more memory than the server's work_mem — NOT because work_mem is artificially lowered. |
|
Package terminate defines implementation of workload which randomly cancel queries or terminate backends.
|
Package terminate defines implementation of workload which randomly cancel queries or terminate backends. |
|
Package waitxacts defines implementation of workload which builds a stable queue of blocked sessions behind a single locked table.
|
Package waitxacts defines implementation of workload which builds a stable queue of blocked sessions behind a single locked table. |
|
Package walflood defines implementation of workload which deliberately drives a high rate of WAL generation on a primary PostgreSQL instance.
|
Package walflood defines implementation of workload which deliberately drives a high rate of WAL generation on a primary PostgreSQL instance. |
|
Package xminhorizonholder defines implementation of a workload which deliberately pins the cluster-wide xmin horizon by holding a long-lived REPEATABLE READ snapshot while a churn loop generates dead tuples that VACUUM cannot reclaim — a bloat sibling of the slow-line family.
|
Package xminhorizonholder defines implementation of a workload which deliberately pins the cluster-wide xmin horizon by holding a long-lived REPEATABLE READ snapshot while a churn loop generates dead tuples that VACUUM cannot reclaim — a bloat sibling of the slow-line family. |
Click to show internal directories.
Click to hide internal directories.