# malisper/pgrust

Postgres rewritten in Rust, now faster than Postgres and Clickhouse

Repository: https://github.com/malisper/pgrust
Canonical: https://ross.abutalabs.com/products/pgrust
Homepage: https://pgrust.com
Language: Rust
License: AGPL-3.0
License Family: copyleft
Topics: ai-assisted-development, database, postgres, postgresql, rust
Last push: 2026-08-13T04:01:40+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 97, release rhythm 63, longevity 9
- inputs: {"age_days": 135, "days_push": 20, "days_rel": 34, "gap_med": null, "n_releases_24m": 1}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4714, forks 178 (observed 2026-08-28T04:08:57.396808+00:00)

## What it is
pgrust is a full rewrite of PostgreSQL in Rust that is wire- and SQL-compatible with Postgres and passes all 46,066 tests of the Postgres regression suite. It features a vectorized push-based JIT-compiled executor, thread-based concurrency, a query scheduler, and a built-in OOM killer, but is explicitly not production ready.

## Use cases
- run a faster drop-in replacement for postgres
- test postgres workloads on a rust-rewritten database engine
- benchmark a database faster than postgres and clickhouse
- try postgres in the browser via wasm
- experiment with a jit-compiled vectorized query executor
- avoid postgres outages from runaway queries and oom kills

## When to choose
- you want to experiment with a modern re-architecture of Postgres in Rust
- you need Postgres wire/SQL compatibility for testing or benchmarking
- you want to evaluate a vectorized JIT-compiled executor on Graviton4 hardware
- you want to run Postgres-compatible queries in a browser via WebAssembly

## When to avoid
- you need a production database - the project explicitly says not to store data you care about in it
- you rely on PostgreSQL extensions or PL/Python, PL/Perl, or PL/Tcl
- you need stable behavior on non-Graviton4 hardware, since the JIT only targets Graviton4
- you need long-term stability - the project is early (v0.2) with many known bugs

## Facets
- artifact type: application
- maturity: experimental
- function: database, compiler, concurrency
- domain: databases, developer-tools, performance
- platform: rust, wasm, self-hosted
- tags: postgres-rewrite, wire-compatible, jit-compiled-executor, vectorized-execution, sql, ai-assisted-development, clickhouse-alternative, linux

## Member repositories
- malisper/pgrust (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:57.396808+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:08.600005+00:00, confidence not recorded.
  - readme: https://github.com/malisper/pgrust (fetched 2026-08-28T04:08:57.396808+00:00, sha 0013f63e2904)
  - homepage: https://pgrust.com (fetched 2026-08-29T09:02:56.458570+00:00, sha 107d12b075c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
