DEV Community

Database

Posts on building, using, and learning about databases.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
JSONB vs Relational in 2026: 5 Query Shapes, 5 Verdicts

JSONB vs Relational in 2026: 5 Query Shapes, 5 Verdicts

Comments
8 min read
Logical Replication for Migrations: Zero-Downtime Postgres Upgrades in 2026

Logical Replication for Migrations: Zero-Downtime Postgres Upgrades in 2026

Comments
9 min read
Read-Modify-Write: The Optimistic Concurrency Pattern Most ORMs Get Wrong

Read-Modify-Write: The Optimistic Concurrency Pattern Most ORMs Get Wrong

Comments
8 min read
Postgres VACUUM Tuning: 4 Settings That Decide Whether Autovacuum Keeps Up

Postgres VACUUM Tuning: 4 Settings That Decide Whether Autovacuum Keeps Up

Comments
8 min read
An index made our query faster. It slowly suffocated our database.

An index made our query faster. It slowly suffocated our database.

Comments
5 min read
You might not need… the repository pattern

You might not need… the repository pattern

1
Comments
9 min read
Single-Node Data Engineering: DuckDB, DataFusion, Polars, and LakeSail

Single-Node Data Engineering: DuckDB, DataFusion, Polars, and LakeSail

1
Comments
18 min read
Level Up Your SQL: Subqueries & CTEs in the Real World

Level Up Your SQL: Subqueries & CTEs in the Real World

Comments
9 min read
Why don’t my database numbers match? I built a tool to find out.

Why don’t my database numbers match? I built a tool to find out.

Comments
2 min read
Read Replicas Lie About Consistency. 4 Sync Modes Behind the Lie.

Read Replicas Lie About Consistency. 4 Sync Modes Behind the Lie.

Comments
8 min read
Range Scans and Tombstones in Bf-Tree

Range Scans and Tombstones in Bf-Tree

15
Comments 1
2 min read
Building Agentic Commerce Infrastructure: Overcoming SQLite Concurrency for Autonomous Procurement Agents

Building Agentic Commerce Infrastructure: Overcoming SQLite Concurrency for Autonomous Procurement Agents

5
Comments 8
4 min read
How to Save Bloated MCP with Code Mode

Collapsing 2,500 endpoints into two tools

How to Save Bloated MCP with Code Mode

73
Comments 31
7 min read
qrrot - database with AI

qrrot - database with AI

1
Comments
6 min read
Migrating from Neon to Supabase (Postgres + Drizzle, in production)

Migrating from Neon to Supabase (Postgres + Drizzle, in production)

Comments
7 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.