malisper

    malisper/pgrust

    Postgres rewritten in Rust, now faster than Postgres and Clickhouse

    database
    ai-assisted-development
    postgres
    postgresql
    rust
    Rust
    AGPL-3.0
    5.5K stars
    214 forks
    5.5K GitHub watchers
    Updated Oct 27, 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.

    4 releases in the last 90 days, the latest 4 days ago, with 1 contributor on GitHub.

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

    Use Cases & Benefits

    • Reimplements the Postgres database server in Rust to improve performance and maintain compatibility with Postgres 18.3.
    • Delivers significantly faster transaction and analytical query performance while preserving Postgres behavior and data compatibility.
    • Use for experimenting with Postgres internals and custom modifications using Rust and AI-assisted programming.
    • Ideal for running Postgres-compatible workloads requiring higher throughput and lower latency than standard Postgres.
    • Use for testing and benchmarking SQL workloads in a multithreaded, Rust-based database environment before production readiness.

    Should you depend on it?

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

    License

    AGPL 3.0

    Network copyleft: like the GPL, and also triggered by offering the software over a network.

    Community files

    • README: present

    Watch-outs

    • AGPL-style copyleft also applies when the software is offered over a network.
    • Owned by an individual account with a single contributor on GitHub; plan for bus-factor risk.

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

    From the README

    A Postgres rewrite in Rust.

    pgrust targets compatibility with Postgres 18.3 and matches Postgres's expected output across more than 46,000 regression queries.

    pgrust is disk compatible with Postgres and can boot from an existing Postgres 18.3 data directory.

    The goal is to make Postgres easier to change from the inside: keep the behavior Postgres-shaped, keep the real Postgres tests as the oracle, and use Rust plus AI-assisted programming to explore deeper server changes.

    Update: We're working on a new not yet published version of pgrust that currently passes 100% of Postgres regression suite, has a thread per connection model instead of process per connection, is 50% faster than Postgres on transaction workloads, and is ~300x faster than Postgres on analytical workloads (2x slower than Clickhouse on clickbench and we think it can get faster than Clickhouse). Follow pgrust or join our Discord for updates!

    Get project updates by email, including new releases, compatibility milestones, and architecture experiments.

    pgrust is not production-ready yet. It is not performance optimized yet.

    Existing Postgres extensions and procedural language extensions such as PL/Python, PL/Perl, and PL/Tcl are not generally compatible yet. Some bundled contrib modules are already ported, and more compatibility may be possible over time.

    Excerpt from the malisper/pgrust README on GitHub (AGPL-3.0 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

    Aug 9: +52Aug 10: +18Aug 19: +14

    +1,571 stars over 84 days across 11 snapshot days; best day +52 on Aug 9.

    Forks

    214+63

    Open issues

    53+47

    Compared with peers in Database

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

    malisper/pgrust 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
    malisper/pgrust5.5K—264 days ago
    Category median41.0K+86560—

    Discover Repositories

    Search across tracked repositories by name or description