talira

PostgreSQL

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

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 toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what PostgreSQL does.

  1. Oracle Database Oracle's multi-model relational database, now Oracle AI Database 26ai
  2. MySQL The world's most popular open source database
  3. MariaDB Server The innovative open source database
  4. SQLite Small. Fast. Reliable. Choose any three.
  5. Microsoft SQL Server Microsoft's enterprise relational database
  6. Neon Serverless Postgres with branching, autoscaling and scale to zero

Compare PostgreSQL with the top 3