Unlock the full potential of PostgreSQL to streamline your technology stack. Explore tailored solutions for various use cases, transforming how you develop and deploy applications.
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
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
Use Postgres with TimescaleDB as a time-series database
github.com/timescale/timescaledb
Use Postgres with pg_analytics as an in memory OLAP with Apache Datafusion
Use Postgres with JSONB to store Json documents in a database, search and index them - instead of Mongo
Use Postgres as a cron demon to take actions at certain times, like sending mails, with pg_cron or pg_timetable
Use Postgres for Geospacial queries.
github.com/postgis/postgis
Use Postgres for Fulltext Search instead of Elastic.
Also: ParadeDB, pgvector, Vecto: Hybrid Search with Postgres (pgvector) and Elixir (Ecto), Postgres Full Text Search
Use Postgres to generate JSON in the database, write no server side code and directly give it to the API
Use Postgres for auditing with pgaudit
Also: temporal_tables, supa_audit, pgMemento
Use Postgres with a GraphQL adapter to deliver GraphQL if needed. Also: PostGraphile, hasura/graphql-engine
Use Postgres as Column Oriented database with Hydra or cstore_fdw or ParadeDB pg_analytics and pg_lakehouse
Use Postgres as NoSQL database with FerretDB or Microsoft DocumentDB
Also: Pongo, dox
Use Postgres for Graph Data with Apache Age or Gel
Use Postgres with foreign data via wrappers
Use Alternative Query Langauges in Postgres with plprql or pg_graphql
If you need to make an HTTP requests from your SQL you can use pgsql-http or pg_net
Instantly spin up an unlimited number of Postgres databases that run directly in your browser with database-build
If you need a publish/subscribe or job server at any point in your project, try using Postgres
Eliminate the need for separate systems and data transfers. Perform ML operations directly on your data where it resides. With PostgresML
Store and handle JSON Web Tokens with pgjwt
Store encrypted secrets and other data in your database with Supabase Vault
Work with PDFs in an ACID-compliant way using pgpdf
Serve a fully RESTful API from any existing PostgreSQL database with PostgREST
Listen to change events on your Postgres tables to perform appropriate actions using SQL notify, Walex, or debezium
Stream/Replicate data from Postgres to Data Warehouses, Queues and Storage engines with PeerDB
Render HTML or automatically build a UI on top of SQL queries using SQLPage, pg_render, plmustache, or Omnigres
Create SVG graphics with pg_svg
Attribution
2024-08-11
Insights and technical guidance are derived from the article "Just Use Postgres for Everything" by Stephan Schmidt
2024-08-31
More cases added from PostgreSQL is Enough by Chase Pursley
2025-04-06
Added "In-browser Postgres Sandbox" and "Pub/Sub"
2025-05-25
Added "PostgresML", "pgjwt", "Supabase Vault", "Microsoft DocumentDB", "Gel Graph DB", "pgpdf", "PostGraphile", "hasura/graphql-engine", "PostgREST", "CDC", "PeerDB", "Render HTML", "pg_svg", "Airtable alternative", "Data Visualization", "WASM" from from PostgreSQL is Enough and other sources
Contacts
If you would like to submit use case, give any feedback, or simply say "Thank You" please send me an
email.
This webpage is provided free of charge and with no ads.
It takes time to maintain, and hosting does cost money, so if you’ve found the content helpful,
a small contribution to help keep it up and running would be greatly appreciated. Thanks!
Buy Me a Coffee
back to top
2024-08-11
Insights and technical guidance are derived from the article "Just Use Postgres for Everything" by Stephan Schmidt
2024-08-31
More cases added from PostgreSQL is Enough by Chase Pursley
2025-04-06
Added "In-browser Postgres Sandbox" and "Pub/Sub"
2025-05-25
Added "PostgresML", "pgjwt", "Supabase Vault", "Microsoft DocumentDB", "Gel Graph DB", "pgpdf", "PostGraphile", "hasura/graphql-engine", "PostgREST", "CDC", "PeerDB", "Render HTML", "pg_svg", "Airtable alternative", "Data Visualization", "WASM" from from PostgreSQL is Enough and other sources
If you would like to submit use case, give any feedback, or simply say "Thank You" please send me an
email.
This webpage is provided free of charge and with no ads.
It takes time to maintain, and hosting does cost money, so if you’ve found the content helpful,
a small contribution to help keep it up and running would be greatly appreciated. Thanks!
Buy Me a Coffee
back to top
Made by Anton