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.
Building a Pantry Tracker, Part 2: Designing the Database

Building a Pantry Tracker, Part 2: Designing the Database

5
Comments
11 min read
One row, four directions: the label-provenance problem in 50,200 predictions

One row, four directions: the label-provenance problem in 50,200 predictions

Comments
7 min read
PostgreSQL Schema on CockroachDB: What It Refuses, What It Changes, and How to Check Yours

PostgreSQL Schema on CockroachDB: What It Refuses, What It Changes, and How to Check Yours

Comments 1
6 min read
PostgreSQL Rewrites Your CHECK Constraints: Which Schema Differences Are Real Drift

PostgreSQL Rewrites Your CHECK Constraints: Which Schema Differences Are Real Drift

Comments 1
10 min read
Soft Delete vs Archive Table: Which One Keeps Your Foreign Keys Working

Soft Delete vs Archive Table: Which One Keeps Your Foreign Keys Working

Comments 1
12 min read
Apache IoTDB Distributed Tuning: Region Configuration and Data Modeling

Apache IoTDB Distributed Tuning: Region Configuration and Data Modeling

5
Comments
4 min read
SQL Server Connection Pooling in .NET: How It Works and How to Fix Pool Timeouts

SQL Server Connection Pooling in .NET: How It Works and How to Fix Pool Timeouts

Comments
3 min read
Natural Key vs Surrogate Key: Which One Should a Foreign Key Reference?

Natural Key vs Surrogate Key: Which One Should a Foreign Key Reference?

Comments 1
7 min read
MySQL Cannot Drop Index Needed in a Foreign Key Constraint: Which Fix to Use

MySQL Cannot Drop Index Needed in a Foreign Key Constraint: Which Fix to Use

Comments 1
7 min read
Modelling a Peak-Season Production Plan: Capacity Calendars, Recipe Explosion and Shelf-Life Constraints

Modelling a Peak-Season Production Plan: Capacity Calendars, Recipe Explosion and Shelf-Life Constraints

Comments
8 min read
ON DELETE RESTRICT vs NO ACTION: What Changed in PostgreSQL 18, and What MySQL and SQL Server Do

ON DELETE RESTRICT vs NO ACTION: What Changed in PostgreSQL 18, and What MySQL and SQL Server Do

Comments
6 min read
PostgreSQL DROP COLUMN: What It Refuses, and What It Drops Without a Warning

PostgreSQL DROP COLUMN: What It Refuses, and What It Drops Without a Warning

Comments
7 min read
Why Your "Healthy" PostgreSQL Database Is Quietly Running Out of Disk Space: 4 Surprising Takeaways on WAL Retention

Why Your "Healthy" PostgreSQL Database Is Quietly Running Out of Disk Space: 4 Surprising Takeaways on WAL Retention

Comments
7 min read
Generalized Architecture for Proof-Carrying ELT Data Pipelines

Generalized Architecture for Proof-Carrying ELT Data Pipelines

Comments
12 min read
PostgreSQL Unused Sequences: How to Find Them, and Which Ones Are Safe to Drop

PostgreSQL Unused Sequences: How to Find Them, and Which Ones Are Safe to Drop

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