
PGBoxDB is a Rust-based runtime that serves thousands of isolated Postgres databases from a single process. Each database starts at roughly 70 KB of memory and mints in about 6.2 milliseconds using copy-on-write storage. It speaks the native Postgres wire protocol, allowing standard ORMs like Rails and Django to run without modification on v0.1.3.
It is a useful tool for CI sandboxes and AI agent testing where you need disposable schemas, but it is explicitly not for production data. Single-threaded scans run 1.5 to 2.2 times slower than native Postgres, and the tight memory footprint depends on ZFS block cloning for efficiency. If your workload requires sustained heavy query throughput, stick to a standard PostgreSQL server.
more: https://github.com/pgrundev/pgboxdb
my other side: ivo.blogspot.com
Leave a Reply