ptlive
ptlive · Shared-memory table access method with WAL and snapshots
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102488 | ptlive | ptlive | 1.0.1 | FEAT | AGPL-3.0-only | C |
PostgreSQL · 18
Usage
Sources:
ptlive is a shared-memory table access method with MVCC, PostgreSQL WAL integration and its own snapshots. Source version 1.0.1 targets PostgreSQL 18; adapters for 17 and 19 are present but unqualified. Treat it as a preview requiring workload and recovery validation.
Enable the Runtime
Install matching server files, preserve existing preload entries, configure memory, then restart PostgreSQL. The source default reserves a 6144 MiB budget; size this for the host.
A superuser installs the extension in each database. Wait for readiness before creating tables.
Configuration and Monitoring
ptlive.enabled, ptlive.memory_mb, ptlive.max_relations and ptlive.advisor_enabled are startup settings. The optional advisor is enabled by default. Inspect actual settings and reload/restart contexts through pg_settings.
Recovery Boundaries
Durability relies on both snapshots and retained WAL. Monitor memory exhaustion, snapshot progress and WAL retention; do not remove required snapshot or WAL files. Qualify backup, restart, disk-full recovery and failover with the exact binary and topology.
Early Lock Release changes internal lock/flush ordering for eligible transactions and needs crash testing. ptlive.elr_test_fault can deliberately panic the server and belongs only in disposable tests. Presence of ordinary SQL or index support is not proof that every PostgreSQL feature or replication topology is supported. Preserve matching library, SQL and snapshot formats during maintenance.