Feed

PostgreSQL

Monitor PostgreSQL database developments, extension releases, and version updates. Our digest aggregates query optimization, indexing, and replication discussions from database administrator communities.

Articles from the last 30 days

It's 2026, Just Use Postgres
01Monday, February 2, 2026

It's 2026, Just Use Postgres

This article challenges the 'use the right tool for the right job' mantra that often leads developers to manage multiple specialized databases (Elasticsearch, Pinecone, Redis, etc.). Such sprawl creates technical debt, complex security models, and high operational costs. Instead, the author advocates for using PostgreSQL as a unified platform. Innovations like pgvector (vector search), TimeScaleDB (time-series), and pg_textsearch (BM25 search) allow Postgres to match specialized tools' performance using similar algorithms. This simplification is especially critical in the AI era, where maintaining consistent data for agents is easier within a single, atomic environment. The post concludes that 99% of companies can achieve their goals with Postgres alone, reducing architecture fragmentation and potential failure points.

Sources:Hacker News435 pts
Show HN: PgDog – Scale Postgres without changing the app
02Monday, February 23, 2026

Show HN: PgDog – Scale Postgres without changing the app

PgDog is an open-source, high-performance PostgreSQL proxy written in Rust. It offers advanced connection pooling, load balancing, and sharding capabilities. Featuring application-layer routing, health checks, and automatic failover, it supports complex cross-shard queries and online re-sharding. It is designed for scalability on commodity hardware and integrates with Kubernetes, AWS RDS, and Terraform.

Sources:Hacker News286 pts
Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite
03Sunday, February 1, 2026

Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite

sqldef is an innovative command-line interface tool designed to streamline database schema management by performing diff operations between two SQL schemas. Unlike traditional migration tools that require managing stateful migration files, sqldef allows developers to update their relational database management systems by comparing a desired SQL schema with the current live state. The tool provides robust support for a wide range of popular databases, including MySQL, MariaDB, TiDB, PostgreSQL, SQL Server, and SQLite3. By generating the necessary DDL statements to reconcile differences, it simplifies the Continuous Integration and deployment lifecycle for backend developers. Additionally, an online demo environment utilizes a WebAssembly build of sqldef, enabling users to experiment with schema comparisons and DDL generation directly within a web browser without local installation.

Sources:Hacker News226 pts
What Is a Database Transaction?
04Sunday, February 22, 2026

What Is a Database Transaction?

This article explores database transactions, explaining atomicity through BEGIN, COMMIT, and ROLLBACK. It compares Postgres's multi-versioning (MVCC) and VACUUM processes against MySQL's undo logs. Additionally, it details isolation levels—Serializable, Repeatable Read, Read Committed, and Read Uncommitted—and how both systems handle concurrent writes using locking or optimistic serialization.

Sources:Hacker News215 pts
Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL
05Saturday, February 14, 2026

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

sql-tap is a real-time SQL traffic viewer composed of a proxy daemon and a TUI client. It intercepts PostgreSQL or MySQL queries using wire protocols to display transactions and performance metrics. Users can run EXPLAIN, analyze execution times, and inspect queries without modifying application code, streaming data via gRPC to an interactive terminal.

Sources:Hacker News210 pts
Postgres Postmaster does not scale
06Wednesday, February 4, 2026

Postgres Postmaster does not scale

Recall.ai, a platform for recording and processing millions of virtual meetings, encountered a rare scaling bottleneck within PostgreSQL. Due to the highly synchronized nature of meetings starting on the hour, their EC2 infrastructure faced extreme traffic bursts, leading to connection delays of up to 15 seconds. Investigation revealed that the PostgreSQL postmaster process operates on a single-threaded main loop responsible for spawning and reaping backends. During high connection churn or heavy background worker activity, this loop saturates a single CPU core, delaying new connections. The team mitigated this by enabling Linux huge pages to reduce 'fork' overhead, introducing jitter to stagger EC2 connection times, and limited parallel query bursts. The findings highlight that the primary bottleneck in PostgreSQL scaling is often the single-threaded nature of the postmaster rather than general resource availability.

Sources:Hacker News110 pts
Git in Postgres
07Thursday, February 26, 2026

Git in Postgres

Gitgres is an experimental system that uses PostgreSQL as a storage backend for Git repositories via libgit2. By treating Git objects and refs as database rows, it simplifies DevOps by unifying application data and repository storage, enabling complex SQL queries across code and metadata while streamlining backups and scalability.

Sources:Lobsters80 pts
Your "Read Later" list is a graveyard. It is time to stop hoarding.
08Wednesday, February 11, 2026

Your "Read Later" list is a graveyard. It is time to stop hoarding.

The author introduces Sigilla, a privacy-first reading companion designed to combat the 'Collector's Fallacy'—the mistaken belief that saving content equals learning. Unlike hoarding tools like Instapaper, Sigilla uses Spaced Repetition and forced engagement to ensure users actually read or discard saved articles. Built with React and PostgreSQL, it prioritizes user privacy and deep learning over distraction.

Sources:Dev.to75 pts