# awesome-postgresql A curated list of awesome PostgreSQL tools, scripts, slides, and short examples. inspired by the other [awesome lists](https://github.com/bayandin/awesome-awesomeness). - [awesome-postgresql](https://github.com/devton/awesome-postgresql#awesome-postgresql) - [Extensions / Tools](#extensions-and-tools) - [Utilities](#utilities) - [Useful Scripts](#useful-scripts) - [Useful Examples](#useful-examples) - [Useful Slides](#useful-slides) - [Roadmaps](#roadmaps) ### Extensions and Tools - [Citus](https://github.com/citusdata/citus) - Citus horizontally scales PostgreSQL across commodity servers using sharding and replication. Its query engine parallelizes incoming SQL queries across these servers to enable real-time responses on large datasets. - [ldap2pg](https://github.com/dalibo/ldap2pg) - manage roles and ACL. - [PL/V8](http://pgxn.org/dist/plv8/doc/plv8.html) - Content for starting and do quick consults about PL/V8. - [PGBouncer](https://pgbouncer.github.io/) - Lightweight connection pooler for PostgreSQL. - [pgpool-II](http://pgpool.net) - Connection pooler, load balancer, replicator, also implementing parallel query. - [Postgres Connection Pool Sizer](https://amanksingh.com/tools/postgres-connection-pool-sizer) - Free tool to calculate the optimal pool size, per-instance limit, and max_connections from CPU cores, using the widely-used HikariCP formula. - [PGStrom (GPU Process) ](https://wiki.postgresql.org/wiki/PGStrom) - Designed to off-load several CPU intensive workloads to GPU devices. - [PostgREST](http://postgrest.com/) - Standalone web server that tuns your database directly into a RESTful API. - [pgloader](http://pgloader.io/) - Load data into PostgreSQL. Any Data. - [pgbundle](https://github.com/adjust/pgbundle) - Manage your PostgreSQL extensions with Pgbundle. - [psql_bm25s](https://github.com/Intelligent-Internet/psql_bm25s) - PostgreSQL extension for BM25-family lexical retrieval with a native index access method and SQL query APIs. - [pgcli](http://pgcli.com/) - Postgres CLI with autocompletion and syntax highlighting. - [Barman](http://www.pgbarman.org) - Backup and recovery manager. - [RowSafe](https://rowsafe.sh) - Open-source PostgreSQL tooling for backups, restore testing, health checks and tuning, with an Apache-2.0 CLI, Linux server agent and MCP integration. - [psql2csv](https://github.com/fphilipe/psql2csv) - Run a query in psql and output the result as CSV. - [pome](https://github.com/rach/pome) - A Postgres Metrics Dashboard which can be deployed as a binary. - [pg_bulkload](http://ossc-db.github.io/pg_bulkload/index.html) - It's a high speed data loading utility for PostgreSQL. - [pg](https://github.com/datawan-labs/pg) - Browser PostgreSQL, no server, just client and pglite (postgresql wasm) - [Bemi](https://github.com/BemiHQ/bemi) - Automatic data change tracking for PostgreSQL. - [1bench](https://1bench.dev/postgresql) - Desktop client for PostgreSQL with pgvector support, plus two dozen other engines. - [RowShield](https://rowshield.dev/) - Checks a Supabase (PostgREST) deployment from the outside for tables and storage that anonymous callers can read; free read-only probe, paid scheduled RLS policy and drift checks. - [Scribase](https://scribase.com/) - Self-hosted control plane for Supabase + Neon: provision, pool, and manage your own Postgres projects without the hosted-vendor lock-in, open source. - [SolidPing](https://github.com/fclairamb/solidping) - Self-hosted uptime monitoring with a PostgreSQL check that connects, runs a query (default `SELECT 1`) and alerts on failure. - [OLake](https://github.com/datazip-inc/olake) - Open-source PostgreSQL to Apache Iceberg replication using logical replication (CDC), full refresh and incremental sync. Written in Go. - [dbdiff](https://github.com/rekurt/dbdiff) - Compare PostgreSQL schemas, detect drift, and generate migration SQL for review, including offline SQL-file and snapshot comparisons. #### SQL plan visualizers - [Depesz](http://explain.depesz.com/) - [Tatiyants](http://tatiyants.com/pev/) - [Rivestack](https://rivestack.io) - Managed PostgreSQL with pgvector for AI workloads. Built-in SQL editor lets you query your database with natural language (automatically converted to vector embeddings). Free tier includes 2GB storage. ### Utilities ##### Useful scripts - [Views dependency handle](http://pretius.com/postgresql-stop-worrying-about-table-and-view-dependencies/) - Script to handle with tabe and view dependencies easy. - [pg-ldap-sync](https://github.com/larskanis/pg-ldap-sync) - This program helps to solve the issue by synchronizing users, groups and their memberships from LDAP to PostgreSQL - [pgldapsync](https://github.com/EnterpriseDB/pgldapsync) - Python module that allows you to synchronize Postgres login roles with users in an LDAP directory - [postgresql-ldap-sync](https://github.com/canonical/postgresql-ldap-sync) - This program synchronize users, groups and their memberships from LDAP to PostgreSQL ##### Useful Examples - [Listen / Notify in Node.js](http://bjorngylling.com/2011-04-13/postgres-listen-notify-with-node-js.html) - Tiny how to use about listen / notify - [JSON Queries](http://webrobots.io/postgresql-json-queries/) - Real examples of using lateral joins and recursive queries on JSON structures - [Using postgresql](http://www.postgresguide.com) - Real examples about using postgresql with awesome examples ##### Useful slides - [Full text search (PT_BR)](http://pt.slideshare.net/spjuliano/fts-26392077) - Deep intro on full text search on postgresql - [PostgREST + Mihtril.js](http://slideshare.net/tonnysk823/using-mithriljs-postgrest-to-build-and-consume-apis) - Real example of postREST using ##### Roadmaps - [PostgreSQL Roadmap](https://roadmap.sh/postgresql-dba) - Complete step-by-step guide to PostgreSQL ### Blogs - [2ndQuadrant](http://blog.2ndquadrant.com/) - [PostgreSQL-Consulting](http://blog.postgresql-consulting.com/) - [Depesz](http://www.depesz.com/) ### Screencasts - [PG Casts](https://www.pgcasts.com/)