Dense-Mem

Maintain PostgreSQL and search indexes

Follow a storage change from a versioned plan to a verified active index.

Open the interactive lesson

Plan · Step 1

Identify durable and derived state

Maintain PostgreSQL and search indexes
Plan Identify durable and derived state
Build Build a compatible search generation
Activate Check readiness and retrieval after the change
Evidence and provenance have a different recovery boundary from search projections.

Use the storage inventory to determine what must survive a migration and which state can be rebuilt. Verify the PostgreSQL prerequisites and relevant lock behavior.

Inspect this step

The cluster-safe schema guide covers privileged and resumable steps. Use an authorized backup and the runbook for any irreversible migration boundary.

Build · Step 2

Build a compatible search generation

Maintain PostgreSQL and search indexes
Plan Identify durable and derived state
Build Build a compatible search generation
Activate Check readiness and retrieval after the change
Embedding contracts and vector index generations are versioned.

Choose the documented index strategy and embedding dimensions together. Prepare a compatible generation and observe its progress before it becomes active.

Inspect this step

Exact search and indexed approximate search have separate performance and readiness tradeoffs. Check the expected topology and measured coverage before changing a production default.

Activate · Step 3

Check readiness and retrieval after the change

Maintain PostgreSQL and search indexes
Plan Identify durable and derived state
Build Build a compatible search generation
Activate Check readiness and retrieval after the change
The running service reports when eligible search state has converged.

Validate the active generation and supported search path using the runbook. Compare results with the expected Evidence and check degraded states.

Inspect this step

A pending or failed projection can change search coverage. Rebuild and replay through the documented operational path while retaining canonical Evidence.

Walkthrough steps