pg_cache_journal
pg_flaro · Optional WAL-logged write-behind journal for the pg_cache prototype.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102319 | pg_cache_journal | pg_flaro | 0.1.0 | FEAT | SQL |
PostgreSQL · 17
| Relationships | |
|---|---|
| Requires | pg_cache |
Usage
Sources:
pg_cache_journal 0.1.0 adds the optional WAL-logged journal used by Flaro’s write-behind persistence prototype.
Core Workflow
Use artifacts built with the journal-prototype feature, then create both extensions in the cache database. The parent library needs preload and restart. Batches enter cache_journal.segment0 and cache_journal.segment1; a separate worker materializes them into cache_journal.entries.
Operational Boundaries
Requires PostgreSQL 17 and pg_cache. Journal commit and materialization are different stages; reading the materialized table alone can lag committed journal writes. RESP acknowledgments remain asynchronous with respect to persistence. Capacity is bounded and sustained write pressure can exhaust it; do not treat this experimental mode as synchronous Redis durability.