Postgres can do more than you think

It can power search, queues, caching, analytics, AI, APIs, vector workloads, geospatial apps, and more - without adding another piece of infrastructure.

Explore what Postgres can replace down below 👇




High Performance

Transform Postgres into a distributed database — so you can achieve high performance at any scale with citus

Serverless Postgres

Separate storage and compute to have autoscaling, code-like database branching, and scale to zero with neon (src)

Real-time Sync

Use Electric (src) to stream PostgreSQL changes to clients with shape-based, partial replication

WASM

Embed Postgres in browser with real-time and reactive bindings using PGlite (src) or instant (src)

Data Visualization

Create Business intelligence and give everyone ability to work with data using Metabase (src) or evidence (src)

Airtable alternative

Use Postgres as alternative to Airtable to organize, render and integrate your data with NocoDB (src), appsmith (src), Baserow (src), or Teable (src)

SVG

Create SVG graphics with pg_svg

Render HTML

Render HTML or automatically build a UI on top of SQL queries using SQLPage (src), pg_render, plmustache, or Omnigres (src)

Stream/Replicate Data

Stream/Replicate data from Postgres to Data Warehouses, Queues and Storage engines with PeerDB (src)

Change Data Capture (CDC)

Listen to change events on your Postgres tables to perform appropriate actions using SQL notify, Walex, or debezium (src)

REST API

Serve a fully RESTful API from any existing PostgreSQL database with PostgREST (src)

PDFs

Work with PDFs in an ACID-compliant way using pgpdf (src)

Sensitive Data

Store encrypted secrets and other data in your database with Supabase Vault

Authentication & Authorization

Store and handle JSON Web Tokens with pgjwt

ML/AI

Eliminate the need for separate systems and data transfers. Perform ML operations directly on your data where it resides. With PostgresML (src)

Pub/Sub

If you need a publish/subscribe or job server at any point in your project, try using Postgres

In-browser Postgres sandbox with AI assistance

Instantly spin up an unlimited number of Postgres databases that run directly in your browser with database-build

Make HTTP requests

If you need to make an HTTP requests from your SQL you can use pgsql-http or pg_net

Alternative Query Languages

Use Alternative Query Languages in Postgres with plprql (src) or pg_graphql

Foreign Data

Use Postgres with foreign data via wrappers (src)

Graph Data

Use Postgres for Graph Data with Apache Age or Gel (src)

NoSQL

Use Postgres as NoSQL database with FerretDB or Microsoft DocumentDB

Also: Pongo (src), dox

Column Oriented

Use Postgres as Column Oriented database with Hydra Columnar or cstore_fdw or ParadeDB pg_analytics and pg_lakehouse

Deliver GraphQL

Use Postgres with a GraphQL adapter to deliver GraphQL if needed. Also: PostGraphile, hasura (src)

Audit Logs

Use Postgres for auditing with pgaudit (src)

Also: temporal_tables, supa_audit, pgMemento

Generate and return JSON without backend

Use Postgres to generate JSON in the database, write no server side code and directly give it to the API

Geospatial queries

Use Postgres for Geospatial queries (src)

Cron Daemon

Use Postgres as a cron daemon to take actions at certain times, like sending mails, with pg_cron or pg_timetable (src)

Store JSON documents

Use Postgres with JSONB to store Json documents in a database, search and index them - instead of Mongo

In-memory OLAP

Use Postgres with pg_analytics as an in memory OLAP with Apache Datafusion

Time Series

Use Postgres with TimescaleDB (src) as a time-series database

Message Queue

Use Postgres as a message queue with SKIP LOCKED instead of Kafka (if you only need a message queue). Or as a job queue in Go with River.

Also: Choose Postgres queue technology, PGMQ (src)

Caching

Use Postgres for caching instead of Redis with UNLOGGED tables and TEXT as a JSON data type. Use stored procedures to add and enforce an expiry date for the data just like in Redis.

Also: You Don't Need a Dedicated Cache Service, readyset (src)




In the era of AI, this website is made by hand by a real, organic, independent human being.

It is provided free of charge and without ads.

Maintaining it takes time, and hosting costs money. If you’ve found the content helpful, a small contribution to help keep it running would be greatly appreciated.

Thanks!

© 2024-2026 Made by Anton