OpenSource-Hub

pgrust

애플리케이션

malisper/pgrust

Rust로 PostgreSQL을 다시 작성하여 모든 회귀 테스트를 통과했습니다.

개요

pgrust는 Rust로 다시 작성된 PostgreSQL 데이터베이스 시스템으로, Postgres 18.3과 호환되며, 46,000개 이상의 회귀 쿼리를 통과했고, 디스크 형식은 네이티브 Postgres와 호환됩니다. 프로젝트 목표는 Rust와 AI 지원 개발을 통해 Postgres 수정의 진입 장벽을 낮추는 것입니다.

README 미리보기

pgrust\n\n\n  A Postgres rewrite in Rust.\n\n\n\n  \n  \n  \n    \n  \n\n\n\n  Browser demo\n    |  \n  Discord\n    |  \n  Get pgrust updates\n    |  \n  Issues\n\n\n\n\npgrust targets compatibility with Postgres 18.3 and matches Postgres's\nexpected output across more than 46,000 regression queries.\n\npgrust is disk compatible with Postgres and can boot from an existing Postgres\n18.3 data directory.\n\nThe goal is to make Postgres easier to change from the inside: keep the behavior\nPostgres-shaped, keep the real Postgres tests as the oracle, and use Rust plus\nAI-assisted programming to explore deeper server changes.\n\nUpdate: 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!\n\n## Follow pgrust\n\n[Get project updates by email](https://pgrust.com/#updates), including new\nreleases, compatibility milestones, and architecture experiments.\n\n## Status\n\npgrust is not production-ready yet. It is not performance optimized yet.\n\nExisting Postgres extensions and procedural language extensions such as\nPL/Python, PL/Perl, and PL/Tcl are not generally compatible yet. Some bundled\ncontrib modules are already ported, and more compatibility may be possible over\ntime.\n\n## Roadmap\n\n- multithreaded Postgres internals\n- built-in connection pooling\n- better JSON-heavy workload support\n- fast forking and branching workflows\n- storage experiments, including no-vacuum designs\n- runtime guardrails for bad queries and AI-generated SQL\n- fewer sudden bad plan switches\n\n## Try It\n\nTry the WebAssembly demo at https://pgrust.com.