malisper/pgrust
Postgres rewritten in Rust, now faster than Postgres and Clickhouse
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
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.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+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
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| thedotmack/claude-mem | 113.6K | +8.8K | 35 | today |
| t8y2/dbx | 29.1K | +1.0K | 40 | today |
| gitroomhq/postiz-app | 41.0K | +865 | 64 | 12 days ago |
| supabase/supabase | 114.6K | +268 | 60 | 90 days ago |
| juicedata/juicefs | 14.7K | +105 | 64 | 14 days ago |
| malisper/pgrust | 5.5K | — | 26 | 4 days ago |
| Category median | 41.0K | +865 | 60 | — |
Discover Repositories
Search across tracked repositories by name or description