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.
What I Learned Partitioning a Billion-Row Table in Production

What I Learned Partitioning a Billion-Row Table in Production

Comments
6 min read
PostgreSQL INCLUDE indexes: what problem are they trying to solve?

PostgreSQL INCLUDE indexes: what problem are they trying to solve?

2
Comments 1
10 min read
SQLite FTS5 vs Whoosh: when to reach for a pure-Python search library

SQLite FTS5 vs Whoosh: when to reach for a pure-Python search library

Comments
3 min read
The seed-script tax: how I generate realistic test data for Postgres, Playwright and mock APIs

The seed-script tax: how I generate realistic test data for Postgres, Playwright and mock APIs

6
Comments 2
6 min read
Running Total in SQL: The Window Frame That Decides the Answer

Running Total in SQL: The Window Frame That Decides the Answer

Comments
14 min read
Temp Table vs View in SQL: A Saved Answer or a Saved Question

Temp Table vs View in SQL: A Saved Answer or a Saved Question

Comments
13 min read
Subquery vs CTE in SQL: Same Logic, One You Can Check

Subquery vs CTE in SQL: Same Logic, One You Can Check

Comments
14 min read
How to Reconcile Two Tables in SQL When the Row Counts Match

How to Reconcile Two Tables in SQL When the Row Counts Match

1
Comments
14 min read
A Schema Migration Is Surgery, Not a Deploy

A Schema Migration Is Surgery, Not a Deploy

Comments
2 min read
MongoDB `Authentication failed`: You're Authenticating Against the Wrong Database

MongoDB `Authentication failed`: You're Authenticating Against the Wrong Database

Comments
6 min read
Outbox Pattern Internals: Ordering Guarantees, Relay Mechanics, and the Failure Modes Nobody Documents

Outbox Pattern Internals: Ordering Guarantees, Relay Mechanics, and the Failure Modes Nobody Documents

Comments
6 min read
Inside PostgreSQL MATCH Queries: Syntax, Paths, and Parameters with pg_igraph

Inside PostgreSQL MATCH Queries: Syntax, Paths, and Parameters with pg_igraph

Comments
3 min read
LatticeDB vs SQLite: I Ran the Graph Traversal Benchmarks. The Gap Is Real but the Fine Print Matters

LatticeDB vs SQLite: I Ran the Graph Traversal Benchmarks. The Gap Is Real but the Fine Print Matters

Comments
8 min read
Turn any SQL schema into an interactive ER diagram

Turn any SQL schema into an interactive ER diagram

Comments
2 min read
I broke my own database with an infinite loop, and here's what I learned about Row Level Security

I broke my own database with an infinite loop, and here's what I learned about Row Level Security

1
Comments
4 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.