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.
How I indexed 18,141 polynomial fan curves in Postgres and matched a duty point in 4 ms

How I indexed 18,141 polynomial fan curves in Postgres and matched a duty point in 4 ms

Comments
6 min read
Generating Realistic Seed Data That Respects Foreign Keys, in 20 Seconds

Generating Realistic Seed Data That Respects Foreign Keys, in 20 Seconds

1
Comments 1
6 min read
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
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
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
SQLite Tcl Extension, TimescaleDB Aggregates & PostgreSQL Data Pipelines

SQLite Tcl Extension, TimescaleDB Aggregates & PostgreSQL Data Pipelines

Comments
3 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
Range Scans and Tombstones in Bf-Tree

Range Scans and Tombstones in Bf-Tree

15
Comments 1
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
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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.