Appearance
Operations
PiramideDB behaves like any other PostgreSQL index during backups, upgrades, and failovers, and includes three SQL functions for explicit verification and maintenance.
Verify index integrity
Run verify() after bulk loads, migrations, or failovers to confirm that every visible table row is indexed and consistent:
sql
SELECT count(*) FROM verify('documents_search_idx'::regclass);A result of 0 means the index matches the table with no missing or divergent entries.
Flush and compact online
Writes buffer automatically and compact in the background. After a large bulk import, you can flush buffered writes or compact segments on demand without blocking queries:
sql
SELECT spill('documents_search_idx'::regclass);
SELECT merge('documents_search_idx'::regclass);Read replicas & high availability
Because all index mutations flow through PostgreSQL's write-ahead log:
- Streaming standbys stay in sync automatically with no extra replication slot or worker.
- CloudNativePG clusters can mount PiramideDB as a PostgreSQL extension volume on PostgreSQL 17 or 18.
- Long-lived standby queries remain safe while the primary executes concurrent writes,
spill(),merge(), andVACUUM.