Recent stories
Each story's summary, with the places it was discussed.
Summaries are written by AI from the linked sources. Open the source for full context.
The Internals of PostgreSQL explains PostgreSQL’s integrated subsystems, from process and memory architecture, query processing, concurrency control, VACUUM, and the buffer manager to WAL, backup, PITR, streaming replication, and beta logical replication.
Hironobu SUZUKI launched the documentation in 2015; it now covers PostgreSQL 19-beta and earlier, with recent additions on asynchronous I/O and logical replication. SUZUKI is seeking international or remote PostgreSQL opportunities with visa sponsorship or digital-nomad support.
In this extensive review of the database industry in 2025, the author highlights the continued dominance of PostgreSQL, noting its version 18 release and significant acquisitions by Databricks (Neon) and Snowflake (CrunchyData).
The emergence of distributed PostgreSQL projects like Multigres and Neki is discussed alongside the industry-wide adoption of Anthropic's Model Context Protocol (MCP) for LLM integration. The report covers the legal battle between MongoDB and FerretDB, the evolution of open-source file formats like Vortex and F3, and a wave of private equity acquisitions involving companies such as DataStax and SingleStore. Finally, it reflects on Larry Ellison's ascent to become the world's wealthiest individual, driven by Oracle's success in the AI era.
SQL is a uniquely durable programming language based on relational algebra, allowing queries written decades ago to function in modern systems like PostgreSQL.
Unlike fast-evolving frameworks such as JavaScript, SQL offers career longevity through its mathematical foundation. While it has legacy flaws, mastering core SQL remains the most valuable long-term investment for software developers.
Grafeo is a high-performance graph database built in Rust, supporting both LPG and RDF data models.
It offers ACID compliance, HNSW-based vector search, and multi-language query support including GQL, Cypher, and GraphQL. Designed for flexibility, it can be embedded or run standalone, with bindings for various programming languages and strong AI ecosystem integration.
DuckLake is an open lakehouse format and DuckDB extension that separates metadata from data: a catalog database stores metadata, while Parquet files store table data.
It lets DuckDB attach DuckLake databases and use standard SQL to create, query, update, and evolve tables. Built-in capabilities include time travel and change data feeds, distinguishing it from a simple Parquet-based storage layer by providing integrated cataloging and versioned data operations.
An experienced operator reviews running ClickHouse clusters at scale.
Replicas, shards, load balancing, and compute-storage separation shape architecture, while zero-copy replication and S3 introduce cost and reliability risks. Upgrades require staged rollout and mixed-version testing. The greatest challenges are ingestion, merges, memory, partitioning, backpressure, duplicate data, monitoring, and ongoing engineering expertise.
PgDog is a modern Postgres connection pooler designed to eliminate leaky abstractions associated with tools like PgBouncer.
By utilizing a built-in SQL parser, it maintains session state for SET commands and provides full support for LISTEN/NOTIFY. Built with Rust and Tokio, it offers multithreaded performance and simplified infrastructure management compared to traditional sharding methods.
Many applications operate at scales where a formal database is unnecessary.
Benchmarking three storage strategies—linear file scans, in-memory maps, and binary search on disk—demonstrates that even simple file-based approaches can handle millions of daily active users. Moving to a database is only essential for complex needs like ACID transactions, multi-field indexing, or distributed writes.
PostHog rebuilt its warehouse from DuckDB/DuckLake around its own Trino flavor and open HogLake format after three months of re-architecture.
DuckDB’s single-node model, DuckLake’s catalog overhead and compatibility constraints, and Postgres connection scaling failed to meet large workloads: the system reached about 2 PB, one trillion rows, and 15.3 million snapshots. The new stack is being validated at PostHog’s petabyte scale before release to design partners, targeting predictable performance and cost at any scale.
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.
This article discusses the pitfalls of using an archived_at column for soft deletes, such as increased database complexity and bloated tables.
It explores superior alternatives like application-level event emission, PostgreSQL triggers for archiving rows to JSON tables, and WAL-based Change Data Capture (CDC). The author specifically recommends the trigger-based approach for new projects due to its simplicity and ability to keep live data clean.
A group of enthusiasts has archived 15 TB of Minecraft data from the server 2b2t, capturing a 1 million block radius.
Using automated bots and custom software, they preserved the server's history against recent administrative changes and censorship. The archive is public, offering a highly compressed, read-only dataset for researchers and players to explore.
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.
Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL
Database · MySQL · PostgreSQL
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.
Postgres 19 introduces 'plan advice' through two new modules, pg_plan_advice and pg_stash_advice, effectively adding query hints.
Unlike traditional implementations, these keep advice outside SQL, guide rather than replace the planner, and provide granular feedback. This design addresses long-term community concerns regarding maintenance and the importance of allowing DBAs a graceful escape hatch for problematic queries.
Zvec is an open-source, in-process vector database built on Alibaba's Proxima engine.
It offers high-performance, low-latency similarity search for dense and sparse vectors. Designed for easy integration via Python or Node.js, it supports hybrid search and multi-vector queries directly within applications without requiring separate server management.
This table lists various Java Virtual Machine (JVM) configuration flags and options, detailing their names, associated OpenJDK versions, deprecation status, types, operating system compatibility, CPU architectures, components, and primary functional descriptions.
These flags are critical for tuning memory management, garbage collection, and Just-In-Time (JIT) compilation performance.
Cockroach Labs built MOLT Sinai, a GitHub Actions-based “teaching hospital” that coordinates coding agents through planning, independent review, testing, handoffs, escalation, and audited discharge.
In five months it produced Db2 support for MOLT in under two days with no human-written code, versus nine months for Oracle support, while costing $4,172. The system merged 1,238 PRs, consumed over $135,000 in Claude tokens, and generated much of its own backlog and framework. Human approval remains required for customer-facing quality, and the team is addressing bureaucracy, review loops, prompt redundancy, and training for junior engineers.
Carl provides a curated list of essential technical readings for software engineers.
The collection focuses on software design, coding practices, frontend architecture, and database management. The resources emphasize simplicity, avoiding unnecessary abstraction, and making informed decisions to ensure robust, performant, and maintainable software systems.
What Changes When You Upgrade from PostgreSQL 18 to 19
Backend · Database · Performance · PostgreSQL · SQL
PostgreSQL 19 brings measurable day-to-day improvements over 18: foreign-key batch inserts were 41.1% faster, and eligible NOT IN queries were 24.5% faster in tests.
Native REPACK CONCURRENTLY reclaims space online, pg_plan_advice exposes and tests planner choices, and ON CONFLICT DO SELECT returns existing rows in one round-trip. WAIT FOR LSN helps replicas catch up before reads. Upgrade checks include extensions, removed io_workers, disabled-by-default JIT, lock settings, and logical-replication sequence synchronization.