Reading up on database
20 deep · digging since dec 19, 25
- Cloudflare Workers and Hyperdrive with TanStack Start – Master.dev Blog
Using Cloudflare Workers with Hyperdrive and TanStack Start requires per-request database objects to avoid runtime errors and connection limits.
- I rewrote PostHog's SQL parser, 70x faster, while barely looking at the code
PostHog's engineer used parallel Claude Code sessions to rewrite their SQL parser, achieving a 70x speedup by fuzzing against the old ANTLR-based parser as an oracle.
- GitHub - kristiandupont/kanel: Generate Typescript types from Postgres
Kanel generates TypeScript types from a live PostgreSQL database, offering type safety without an ORM.
- Free SQL→ER diagram tool, runs in the browser, nothing uploaded
A developer built a free, open-source browser-based tool that converts SQL CREATE TABLE statements into interactive ER diagrams without uploading data to any server.
- DuckDB Internals Part 1
DuckDB's internal architecture makes it fast and easy to use for local analytical queries, often outperforming cloud data warehouses on data that fits on a laptop.
- Karpathy's Autoresearch found a 3-year-old bug in our query engine (and improved performance by 11%) - PostHog
PostHog used a Karpathy-style AI agent to find a 3-year-old ClickHouse bug where `toTimeZone()` disabled primary key usage, and the fix cut query time by 37%
- Building durable workflows on Postgres
Commenters debate using Postgres for durable workflows, praising its flexibility but warning it often leads to building a poor copy of dedicated workflow engines like Temporal.
- charles leifer | Redis and the Cost of Ambition
Charles Leifer argues Redis lost focus by chasing every new database trend, abandoning its simple data-structure-server identity, a shift driven by VC-backed ambition that Valkey now capitalizes on by sticking to core strengths.
- Honker | Honker
Honker is a SQLite extension that provides durable queues, pub/sub, and task scheduling within the same database file, enabling atomic transactional enqueue without a separate broker like Redis.
- Full-Text Search with DuckDB
DuckDB's full-text search extension offers BM25 scoring, stemming, and stop-word removal but lacks result highlighting and phrase queries.
- Show HN: Honker – Postgres NOTIFY/LISTEN Semantics for SQLite
Honker brings Postgres NOTIFY/LISTEN semantics to SQLite by polling the WAL file, enabling cross-process push-style event delivery with single-digit millisecond latency without a broker.
- Do you even need a database?
The article argues that for many small-scale, read-heavy, or single-user applications, flat files like JSON can outperform a full DBMS, but warns that scaling or adding write concurrency will force you to rebuild a database.
- Visualize MySQL query execution plans as interactive FlameGraphs
Myflames converts MySQL EXPLAIN ANALYZE JSON into interactive flamegraph SVGs and a compact text digest that reduces LLM input tokens by 75% for query diagnosis.
- It's 2026, Just Use Postgres
The Hacker News commenters debate whether Postgres can truly replace specialized databases like Redis or Elasticsearch, with pushback on performance claims for caching and search.
- Readings in Database Systems (5th Edition) (2015)
The Fifth Edition of the Red Book collects opinionated readings on database research, from classic RDBMS to weak isolation and large-scale dataflow engines.
- Instant database clones with PostgreSQL 18
PostgreSQL 18 adds instant, zero-copy database cloning via CREATE DATABASE with FILE_COPY and WAL_LOG strategies, enabling template-based cloning for testing and CI.
- How SQLite is tested
SQLite uses four independent test harnesses, 100% branch coverage, and millions of test cases for reliability.
Takes
Scary. Read this and make sure you harden your db backups!
@ryancarson
pi + ghostty running entirely in a cloudflare workers durable object. sqlite based file system + js code exec + cron support. The best part is it can deploy worker sites using Dynamic Worker Loaders.
@Vercantez
sqlit is a lazygit style SQL TUI for the terminal.It supports 10+ databases (Postgres, SQLite, Supabase, ClickHouse, DuckDB, etc), has query history, autocomplete and more.Peter Adams (Maxteabag on GitHub) made sqlit using @textualizeio and is Terminal Tool of the Week! ⭐️ pic.twitter.com/f5M418UpkK
@terminaltrove