Skip to content

Instantly share code, notes, and snippets.

@cpursley
Last active June 3, 2026 00:40
Show Gist options
  • Select an option

  • Save cpursley/c8fb81fe8a7e5df038158bdfe0f06dbb to your computer and use it in GitHub Desktop.

Select an option

Save cpursley/c8fb81fe8a7e5df038158bdfe0f06dbb to your computer and use it in GitHub Desktop.
Postgres is Enough

PostgreSQL is Enough

See the new site: https://postgresisenough.dev


Background and Cron Jobs

Message Queues

GIS/Mapping

Audit Logs

Access Control & Authorization

Search

Time Series

Column Oriented

NoSQL

Graph Data

Foreign Data

Custom Types

Alternative Query Langauges

HTTP

APIs

Events, Replication, CDC,

Caching

Unit Tests

HTML and Applications

Graphics / Visual

Migrations

Performance Tuning

Scaling

Dashboards / UIs

Data Visualization

Package Management

Language Servers

In-Browser & WASM

Miscellaneous

What's missing? Please share in the comments or submit a pr: https://github.com/agoodway/postgresisenough

@StephanSchmidt

StephanSchmidt commented Feb 9, 2024

Copy link
Copy Markdown

Great! That this idea is getting traction :-)

@kenfar

kenfar commented Feb 12, 2024

Copy link
Copy Markdown

This is missing data warehousing, reporting and analytics.

@cpursley

Copy link
Copy Markdown
Author

@kenfar Any suggestions for those?

@LrWm3

LrWm3 commented Feb 12, 2024

Copy link
Copy Markdown

@cpursley @kenfar its deprecated but technically tobs can be salveged for this purpose: https://github.com/timescale/tobs

@kenfar

kenfar commented Feb 12, 2024

Copy link
Copy Markdown

@cpursley - no product is needed, just the right features:

  • partitioning
  • query parallelism
  • dimensional model (rather than say one-big-table)
  • pre-computed aggregate tables for common queries
  • appropriate hardware (sufficient memory, cpu, maybe very fast IO)

This is missing an MPP configuration (data distributed across multiple servers working together on queries), and columnar structures. But, those aren't absolutely essential.

@mjf

mjf commented Feb 13, 2024

Copy link
Copy Markdown

My Postgres collection, perhaps you'd like to use some of the items as well. Here is my list of Postgres blogs worth visiting regularly.

@cpursley

cpursley commented Feb 13, 2024

Copy link
Copy Markdown
Author

These are great @mjf, thanks! I added a link under miscellaneous.

@brianheineman

brianheineman commented Feb 14, 2024

Copy link
Copy Markdown

I've recently put together the Rust crate postgresql-embedded that will allow you to embed PostgreSQL into an executable for use in environments where downloading the installation may not be an option.

@WesleyYue

Copy link
Copy Markdown

@mahrous-amer

Copy link
Copy Markdown

I have been using https://github.com/sqitchers/sqitch for a while on production to handle migrations with Postgres it works perfectly.

@docwhat

docwhat commented May 21, 2024

Copy link
Copy Markdown

https://graphjin.com for purely GraphQL API goodness?

@philippemnoel

Copy link
Copy Markdown

For analytics:

pg_lakehouse (by ParadeDB): https://github.com/paradedb/paradedb/tree/dev/pg_lakehouse -- Fast analytics from Postgres over local Parquet files, data lakes (S3, GCS, etc.), and lakehouses (Delta Lake, Iceberg)

pg_analytics (by ParadeDB): https://github.com/paradedb/paradedb/tree/dev/pg_analytics -- Columnar storage in Postgres for fast analytics inside Postgres tables

@AdnanSoftic

AdnanSoftic commented Jul 11, 2024

Copy link
Copy Markdown

@Mdkar

Mdkar commented Jul 16, 2024

Copy link
Copy Markdown

Not sure if it’s any good, but PostgresML claims to do RAG infra (for use with LLMs and chat bots).

@secp256k1-sha256

Copy link
Copy Markdown

Amazing list, very helpful.

Scaling section can be improved further.

Connection Pools and Load balancers: (similar to Supavisor added by you)
PgCat
PgBouncer
PgPool-II

Sharding:
Citus can be under scaling as well due to sharding capability.

I am not sure below Postgres derivatives can be part of the list as they are not open source but they are part of Postgres compatible scaling solutions.
Distributed Postgres flavors:
Yugabyte
Multi-master Postgres derivatives for scaling :
Spock
EDB Postgres-distributed
AWS PGACTIVE

@CC-Hsu

CC-Hsu commented Jul 25, 2024

Copy link
Copy Markdown

I'd like to know how postgres can join to the blockchain world since this is a less discussed topic.

@cassandrastumer

Copy link
Copy Markdown

@abeisleem

Copy link
Copy Markdown

@gregdingle

Copy link
Copy Markdown

Edgedb should be in there somewhere.

@bkovacev

Copy link
Copy Markdown

I would love to see some self hosting best practices and gotchas!

@xenophenes

Copy link
Copy Markdown

https://codeberg.org/Data-Bene/StatsMgr was just introduced as advanced statistics management

@ityler

ityler commented Feb 12, 2025

Copy link
Copy Markdown

@rodafr

rodafr commented Feb 13, 2025

Copy link
Copy Markdown

Cloud native Postgres: https://cloudnative-pg.io/

@divyam234

Copy link
Copy Markdown

Worth mentioning pgroonga for advanced multilingual search https://pgroonga.github.io/

@varun-dhawan

Copy link
Copy Markdown

Great repo - @cpursley !!

I’d suggest adding this 5-part blog series on advanced data science with PostgreSQL window functions:
https://data-nerd.blog/tag/window-functions/

Covers ranking, rolling stats, gaps/islands, and more—pure SQL, no external tooling. Could fit under Analytics or Advanced SQL with PostgreSQL.

@maelp

maelp commented Nov 6, 2025

Copy link
Copy Markdown

@maelp

maelp commented Nov 6, 2025

Copy link
Copy Markdown

@alice-viola

alice-viola commented Nov 17, 2025

Copy link
Copy Markdown

I'm the author of QueenMQ, a C++ queue system backed by Postgres; we replaced Kafka with it in some of our B2B SaaS products.

Is also available as pg extension, that reproduce Kafka semantics directly from SQL. So you can use it without the server and the client, if needed.

@cpursley

cpursley commented Feb 5, 2026

Copy link
Copy Markdown
Author

I've put together a website based on the philosophy that "Postgres Is Enough": https://postgresisenough.dev

To submit extensions or tooling around Postgres, please submit A PR here: https://github.com/agoodway/postgresisenough

@beh74

beh74 commented Mar 2, 2026

Copy link
Copy Markdown

Hello,
The pgAssistant tool (in section Performance Tuning) moved to this repository https://github.com/beh74/pgassistant-community .
Hope the latest released will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment