microsoft

    microsoft/pg_durable

    PostgreSQL in-database durable execution

    database
    ai-pipelines
    ai-workflows
    durable-execution
    durable-functions
    durable-workflows
    Rust
    NOASSERTION
    2.8K stars
    80 forks
    2.8K GitHub watchers
    Updated Oct 25, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 18 days ago, with 22 contributors on GitHub.

    Peaked at #27 in the weekly ranking the week of Jul 12, its best in the past year.

    Use Cases & Benefits

    • Enables durable, fault-tolerant execution of long-running SQL workflows inside PostgreSQL with automatic checkpointing and resume capabilities.
    • Eliminates the need for external orchestration services by embedding durable workflow management directly within the database.
    • Use for building reliable AI or data pipelines that require per-row or batch durable execution within PostgreSQL.
    • Use for automating database maintenance tasks that must survive crashes and provide auditability via SQL.
    • Use for orchestrating parallel query fan-outs and external API workflows entirely inside PostgreSQL without external workers.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Other

    GitHub could not identify this license; read the LICENSE file before depending on it.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    • License not identified by GitHub; read the LICENSE file before depending on it.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Long-running, fault-tolerant SQL functions for teams that already keep their state in Postgres and want to stop stitching together cron jobs, workers, queues, and status tables to make background work reliable. Define the workflow in SQL, let pg_durable checkpoint each step, and resume after crashes, restarts, or failed steps.

    Durable execution is now a standard industry pattern, and pg_durable brings it inside Postgres with no extra service infrastructure required. Part of our mission to bring compute close to data.

    Try pg_durable now in Azure HorizonDB, Microsoft's new PostgreSQL cloud service engineered for performance and built with pg_durable inside

    Excerpt from the microsoft/pg_durable README on GitHub (NOASSERTION license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    80+12

    Open issues

    18-7

    Compared with peers in Database

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    microsoft/pg_durable compared with Database repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    t8y2/dbx29.1K+1.0K40today
    gitroomhq/postiz-app41.0K+8656412 days ago
    supabase/supabase114.6K+2686090 days ago
    juicedata/juicefs14.7K+1056414 days ago
    microsoft/pg_durable2.8K—5018 days ago
    Category median41.0K+86560—

    Also by microsoft

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description