A powerful, open source object-relational database system
open sourcePostgreSQLself-hostablefree
PostgreSQL is an open source object-relational database that uses and extends SQL, in development since the POSTGRES project at UC Berkeley in 1986. It is ACID-compliant with MVCC, many index types (B-tree, GiST, GIN, BRIN), JSON/JSONB, full-text search, table partitioning, parallel query, and streaming and logical replication with point-in-time recovery. It is built to be extended: stored procedures in several languages, foreign data wrappers, custom types and extensions such as PostGIS.
Ways to install
On your own server
Package managers
Problems it solves
- which database should I pick for a new web app that I won't outgrow
- I need a free relational database with real transactions and foreign keys
- store JSON documents but still query and index them with SQL
- MySQL keeps letting bad data in; I want strict constraints and proper types
- add full-text search without running Elasticsearch
- store map coordinates and run geographic queries like nearest neighbours
- keep a hot standby replica and restore to any point in time after a mistake
- row level security so each tenant only sees its own rows
- keep vector embeddings in the same database as the rest of my app data
- an open source database with no licence fees or vendor lock-in for an enterprise product
- run the same database locally in Docker that production uses
- partition a huge events table by month so old data is cheap to drop
Features
- ACID transactions
- MVCC
- JSON/JSONB
- full-text search
- B-tree, GiST, GIN and BRIN indexes
- table partitioning
- parallel query
- streaming and logical replication
- point-in-time recovery
- row-level security
View 3 more
- foreign data wrappers
- extensions
- PL/pgSQL and other procedural languages
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what PostgreSQL does.
- Oracle Database Oracle's multi-model relational database, now Oracle AI Database 26ai
- MySQL The world's most popular open source database
- MariaDB Server The innovative open source database
- SQLite Small. Fast. Reliable. Choose any three.
- Microsoft SQL Server Microsoft's enterprise relational database
- Neon Serverless Postgres with branching, autoscaling and scale to zero