/tools

Capacity and configuration simulator

Compare a baseline with a proposed PostgreSQL setup. Edit assumptions to explore memory pressure, connections, disk growth and WAL retention. Everything runs in this browser.

Edit assumptions

Baseline → proposed

Memory budget

Concurrent sort/hash budgets are counted for each active query leader and available query worker. These are scenario budgets, not measured resident memory or a hard upper bound on PostgreSQL usage.

Storage projection

Relation files grow; WAL, temporary files, other files and rewrite allowances stay at the stated levels throughout the projection. Put only files from this same volume in the model. Separate tablespaces and WAL volumes need separate scenarios.

Proposed assumptions

View comparison results

The initial values are an illustrative 32 GiB host, not recommendations. Inputs remain local and are not stored after reload. Use a scenario export to save your work.

Import a scenario or captured settings

Load an exported scenario to restore both sides. Or apply a pg_settings capture to the proposed setup only. Captures replace listed settings; hardware, concurrency, base process memory, growth and disk allowances stay as entered. Review them after import.

Formulas, scope and PostgreSQL references

All sizes use binary units: GiB = 1,024 MiB. The model uses supplied values rather than release-specific defaults. Settings capture accepts PostgreSQL 14–19. OS/container limits, extensions, buffers beyond shared_buffers, temporary-table memory, logical decoding, additional backend memory and other services must be included in your allowances.

Memory and parallel workers · Connection slots · WAL and checkpoints · WAL retention