✓ Works 100% in your browser — no download required.Ops & Support$0 Local-Only Safe

PostgreSQL Logical Replication Slot WAL Lag & Disk-Full Circuit Guard

Monitors CDC logical replication slot retained WAL bytes against volume free space and max_slot_wal_keep_size locally, preventing stalled downstream consumers from crashing primary storage.

Run Workflow in Browser →Run via /api/v1 Clearinghouse

Governed Workflow Steps (3)

  1. 1. Read pg_replication_slots Retained

    Read pg_replication_slots Retained WAL Bytes & WAL Generation MB/s: consume [slotSnapshot] via ingest.local_replication_slot_reader to emit [walState]. Verify invariant: walState.walRateMbSec > 0.

  2. 2. Compute Hours-to-Disk-Exhaustion &

    Compute Hours-to-Disk-Exhaustion & Safe max_slot_wal_keep_size Cap: consume [walState] via vault.vault-postgres-logical-replication-wal-lag-slot to emit [hoursUntilDiskFull, safeSlotCapGb, spillRiskLevel]. Verify invariant: safeSlotCapGb > 0 && hoursUntilDiskFull > 0.

  3. 3. Emit DBA Slot Cap Guardrail &

    Emit DBA Slot Cap Guardrail & Consumer Catch-Up Playbook: consume [hoursUntilDiskFull, safeSlotCapGb] via artifact.local_wal_guard_emitter to emit [dbaRunbookMd]. Verify invariant: dbaRunbookMd.length > 80.

Related Ops & Support Workflows

Inbound Support Ticket Triage & Escalation
Classify inbound customer tickets by severity, draft first response, and gate Jira escalat
Raw Incident Notes → Standard Operating Runbook
Turn messy war-room notes into a clean, repeatable SOP runbook with preflight checks and r
Vendor SLA Uptime Audit & Credit Claim Draft
Calculate monthly vendor downtime against contracted SLA tiers and gate the service-credit
Low-Stock Inventory Forecast & PO Approval
Calculate SKU reorder quantities from burn rate and lead time, gating ERP purchase order d
Cancellation Survey Batch → Churn Root-Cause Table
Cluster customer exit responses into quantified root causes with verbatim quotes and produ
Daily Ops Shift Handoff & Open-Blockers Brief
Compile shift logs into a zero-ambiguity handoff brief separating resolved items from acti