Topic

Database

Follow database news across PostgreSQL, MySQL, SQLite, Redis, MongoDB, query optimization, schema design, and operational lessons. Snapbyte.dev turns database discussions into ranked summaries for developers.

What this topic tracks

  • Database releases and ecosystem updates
  • Query optimization, indexing, and schema design
  • PostgreSQL, MySQL, SQLite, Redis, and MongoDB
  • Replication, migrations, and reliability
  • Production data architecture lessons

Database · 300 stories

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.

20 stories

Does Postgres Scale?

dbos.dev · 30 Apr

Database · Performance · PostgreSQL

This article benchmarks the scalability of PostgreSQL for durable workflow execution.

Experiments show a single instance can handle 144K writes or 43K workflows per second. Performance is primarily bottlenecked by Write-Ahead Log (WAL) flushing. Results confirm that PostgreSQL is highly capable of supporting massive-scale, write-intensive applications, provided queuing contention is managed.

Is your Postgres migration safe or not safe?

safenotsafe.dev · 26 Sept

CLI · Database · SQL

safe-not-safe is an offline tool for checking PostgreSQL migrations, using libpg_query compiled to WASM in a browser worker and offering a CLI.

In the shown empty-file run, it finds no statements and flags none. The interface says telemetry is disabled and links to GitHub.

British Columbia, Time Zones, and Postgres

crunchydata.com · 22 Jun

Backend · Database · PostgreSQL

British Columbia's shift to permanent Pacific Daylight Savings Time highlights risks in storing future appointments as UTC-based timestamptz in Postgres.

Because timezone rules change, relying solely on UTC can result in incorrect local times. The author recommends a dual-column pattern—storing local wall-clock time and the timezone name separately—to preserve user intent for future events.

The Perils of ISBN

rygoldstein.com · 15 Feb

Database · Frontend · UX

The author critiques the poor UI/UX of GoodReads and explores building a Letterboxd-like alternative for books.

The project faces engineering challenges, specifically the lack of a clean 'works-based' canonical database compared to film, as existing APIs like Google Books and OpenLibrary struggle with ISBN fragmentation and data duplication.

Let's Build PlanetScale from Scratch: Infrastructure

onatm.dev · 16 Jul

Database · Distributed Systems · Kubernetes

Homescale is a project inspired by PlanetScale that enables database branching by isolating storage from compute.

It leverages Docker-like abstractions for database images and containers using Ceph RBD for copy-on-write storage. Built on Kubernetes, it uses Rook and Ceph CSI to manage immutable snapshots and writable clones, allowing efficient point-in-time branching without full data replication.

How I Cut My Google Search Dependence in Half

hister.org · 9 Feb

Database · Productivity · Open Source

The creator of Hister, a self-hosted web history management tool, details how they reduced their dependence on Google Search by 50% in just 1.5 months.

The core insight is the distinction between Discovery Search (finding new content) and Recall Search (refinding previously visited content). While search engines like Google are plagued by excessive advertising, SEO manipulation, and privacy concerns, Hister allows users to index the full text of their own browsing history locally. This includes content behind authentication and private networks that global search engines cannot access. By prioritizing speed, privacy, and local full-text indexing, Hister serves as a personal knowledge base that improves over time. The project is open-source under the AGPLv3 license and aims to provide a faster, ad-free alternative for professionals who frequently revisit known documentation or resources.

Lix – universal version control system for binary files

lix.dev · 20 Jan

Artificial Intelligence · Database · Open Source

Lix is a universal version control system designed to handle structured and binary file formats like Excel, PDF, and JSON, which Git traditionally struggles to diff.

Built on top of SQL databases, Lix enables human-in-the-loop workflows for AI agents by providing semantic, reviewable changes and safe rollbacks for non-text files. The system is available as an SDK and is being refactored for high performance across various database engines like SQLite and PostgreSQL.

Optimizing Top K in Postgres

paradedb.com · 8 Mar

Database · Performance · PostgreSQL

Postgres faces performance challenges with Top K queries when combining filters and text search, often requiring multiple expensive indexes or heap scans.

ParadeDB addresses this by using Tantivy-based compound indexes and columnar storage, enabling efficient filtering and early pruning via Block WAND for significantly faster query execution.

Better JIT for Postgres

github.com · 4 Mar

C · Database · Performance

pg_jitter is a lightweight JIT compilation provider for PostgreSQL 14–18.

It replaces slow LLVM compilation with three alternative backends—sljit, AsmJit, and MIR—reducing overhead from milliseconds to microseconds. This makes JIT beneficial for OLTP workloads and wide-row queries by significantly accelerating expression evaluation and tuple deforming without excessive compilation latency.

Many Small Queries Are Efficient in SQLite

sqlite.org · 31 May

Database · Performance · SQLite

The common perception that executing a high volume of SQL statements (such as 200 per page) is a sign of poor design is challenged when using SQLite.

While traditional client/server databases like MySQL or PostgreSQL suffer from latency due to network round-trips for every query, SQLite operates within the same process address space as the application. This architectural difference reduces query latency to simple function calls, making hundreds of small queries highly efficient. The Fossil version control system, which powers the SQLite website, utilizes this approach to maintain clean code and separation of responsibilities between data retrieval and display logic without sacrificing performance, often rendering complex dynamic pages in under 25 milliseconds.

The death and rebirth of my home server

sgt.hootr.club · 19 Jul

Database · Hardware · Linux

After a power outage caused a microSD card failure on a Raspberry Pi 4B, the author rebuilt their home server using NixOS.

To enhance reliability, they implemented zram for swap, optimized write operations, and created a Btrfs RAID1 storage pool from recycled hard drives. The new setup focuses on redundancy, declarative configuration, and improved backup strategies.

WAL-RUS: a Rust Rewrite of WAL-G for PostgreSQL Backups

clickhouse.com · 25 Jun

Database · PostgreSQL · Rust

ClickHouse Cloud developed WAL-RUS, an open-source Rust tool for PostgreSQL backups and WAL archiving.

Designed to address the memory unpredictability of garbage-collected runtimes like Go, it provides a stable, resource-efficient alternative to WAL-G while maintaining full compatibility with its archives and configuration, ensuring reliable and predictable performance for resource-constrained environments.

Kioxia and Dell cram 10 PB into slim 2RU server

blocksandfiles.com · 14 May

Database · Hardware · Business

Dell and Kioxia have integrated 40 high-capacity Kioxia LC9 245.76 TB NVMe SSDs into a 2RU Dell PowerEdge R7725xd server, achieving nearly 10 PB of storage.

Powered by AMD EPYC 9005 processors, this high-density configuration enables efficient scaling for AI infrastructure and data lakes, significantly improving total cost of ownership.

Pg_tracing: Distributed Tracing for PostgreSQL

github.com · 29 Jan

Database · Observability · PostgreSQL

pg_tracing is a PostgreSQL extension by DataDog designed for server-side distributed tracing.

Currently supporting versions 14, 15, and 16, it generates detailed spans for various internal events, including query planning, execution, triggers, parallel workers, and transaction commits. The extension integrates with the OpenTelemetry (OTLP) ecosystem and supports trace context propagation via SQLCommenter or GUC parameters. Users can consume spans as records or JSON, and even automate export to an OTLP collector. While powerful, the extension is in early development and requires shared memory allocation and shared_preload_libraries configuration.

Redict is deprecated

redict.io · 17 Nov

Backend · Database · NoSQL · Redis · Open Source

Redict is officially deprecated, with Redict 7.3.6 as its final release.

Its creator says Redict could not build a sustainable community after valkey’s success and Redis’s return to a copyleft license. Users are advised to migrate to valkey, which has a permissive license and stronger long-term prospects, rather than Redis because its contributor license agreement could enable another rug-pull. Migration requires installing valkey, renaming the config file, or switching container images.

DuckDB 1.5.2 – SQL database that runs on laptop, server, in the browser

duckdb.org · 22 Apr

Big Data · Database · Performance

DuckDB v1.5.2 has been released, featuring bugfixes, performance improvements, and the launch of the stable DuckLake v1.0 lakehouse format.

The update includes Iceberg enhancements, Jepsen testing for increased robustness, a revamped WebAssembly shell, and notable performance gains in TPC-H benchmarks. Various community events are also scheduled for the upcoming quarter.

Google Street View in 2026

tech.marksblogg.com · 26 Feb

Data Science · Database · Performance

The author details a workflow for processing Google Street View coverage datasets using a high-performance AMD Ryzen 9 workstation.

By leveraging DuckDB, Parquet, and QGIS, the project converts 647 MB of JSON data into a spatially-sorted 85 MB Parquet file to analyze global geospatial patterns and update frequencies from 2003 to 2025.

Bf-Tree: modern read-write-optimized concurrent larger-than-memory range index

github.com · 28 Jan

Database · Performance · Rust

Bf-Tree is a modern, high-performance range index developed by Microsoft Research (MSR) designed for concurrent, larger-than-memory workloads.

Written in Rust, it provides a read-write-optimized data structure that maintains efficiency even when the dataset exceeds physical RAM. The project emphasizes reliability and correctness through advanced testing methodologies, including deterministic concurrency testing using shuttle and random operation sequence fuzzing. It supports major operating systems like Linux, Windows, and macOS, offering a comprehensive suite for developers to implement scalable database indexing. Benchmark tools and contribution guidelines are provided to facilitate community involvement and performance verification.

Turso is an in-process SQL database, compatible with SQLite

github.com · 26 Aug

Database · Rust · Open Source

Turso Database represents the evolution of storage technology by rewriting SQLite in Rust to provide a high-performance, in-process SQL database.

This innovative project emphasizes native asynchronous I/O support via io_uring, multi-language bindings for Rust, JavaScript, Python, and Go, and cross-platform compatibility including WebAssembly. Notable features include real-time change data capture, vector search capabilities for modern AI applications, and an integrated Model Context Protocol server. The MCP server allows users to interact with their data using natural language through AI assistants like Claude. While currently in a BETA stage, Turso Database aims to surpass SQLite's reliability through deterministic simulation testing and a commitment to open-source contributions. It is designed for low-latency environments and serves as a modern alternative to the original libSQL fork, targeting developers who require safe, fast, and extensible local storage solutions.

TigerBeetle Core System Architecture: Deconstructing Performance Engineering

ixuvo.com · 21 Aug

Database · Performance · Software Architecture

TigerBeetle is a Zig-based financial ledger database optimized for predictable, low-latency performance.

It uses static memory allocation, fixed-size data structures, zero-copy direct I/O with O_DIRECT and io_uring, cache-conscious layouts, and a single-threaded execution loop replicated through Viewstamped Replication. Batching improves throughput, while compile-time validation and explicit resource limits prioritize reliability over elastic scaling.

Where it came fromHacker NewsLobstersCreate a database digest for storage, query, and production data-system stories that matter to your work.Build your digest