PocketBase, but with PostgreSQL & MySQL.

The open-source backend you love, now enhanced for enterprise high-pressure environments with native SQL support and Redis caching.

# Start with PostgreSQL
./pb serve --dataDsn "postgresql://user:pass@127.0.0.1:5432/db"
# Start with MySQL
./pb serve --dataDsn "mysql://user:pass@tcp(127.0.0.1:3306)/db"
# Start with PostgreSQL and Redis Caching
./pb serve --dataDsn "postgresql://user:pass@127.0.0.1:5432/db" --redisDsn "redis://localhost:6379/0"
# Start with MySQL and Redis Caching
./pb serve --dataDsn "mysql://user:pass@tcp(127.0.0.1:3306)/db" --redisDsn "redis://localhost:6379/0"

Why PostgresBase?

True High Availability

Unlike SQLite-based systems, PostgresBase allows you to scale horizontally. Deploy as many nodes as you need.

Enterprise Performance

Optimized for high-concurrency workloads. Handle thousands of simultaneous requests without database locking issues.

Realtime Sync

Powered by Redis Pub/Sub, keep all your connected clients in sync across the entire global cluster instantly.

layers

PostgreSQL & MySQL

Swap SQLite for robust SQL engines. Perfect for clustered environments and high-concurrency scenarios.

bolt

Redis Caching

Configurable Redis cache for records, lists, and searches. Automatic invalidation on data updates.

folder_shared

Project Scoping

Organize your collections into logical projects for better management and a cleaner dashboard.

translate

Native I18n

Fully internationalized admin dashboard supporting English and Chinese out of the box.

cloud_done

Enterprise HA

Designed for high availability. Deploy multiple nodes behind a load balancer with shared SQL and Redis.