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.
My First Contribution to ClickHouse: Two Weeks From "My Laptop Can't Build It" to 154 Green CI Checks

My First Contribution to ClickHouse: Two Weeks From "My Laptop Can't Build It" to 154 Green CI Checks

Comments
12 min read
SQL Server Multiple Cascade Paths (Error 1785): Which Foreign Key Loses ON DELETE CASCADE, and What Replaces It

SQL Server Multiple Cascade Paths (Error 1785): Which Foreign Key Loses ON DELETE CASCADE, and What Replaces It

Comments
11 min read
What to Keep in Mind for a Cloud Migration

What to Keep in Mind for a Cloud Migration

Comments
8 min read
Storage Engines Explained: B-Tree vs LSM Tree

Storage Engines Explained: B-Tree vs LSM Tree

Comments
5 min read
Multi-tenant from day one: keeping one customer's chatbot data out of another's

Multi-tenant from day one: keeping one customer's chatbot data out of another's

Comments
6 min read
Multi-tenant SaaS on PostgreSQL: schema-per-tenant vs row-level security

Multi-tenant SaaS on PostgreSQL: schema-per-tenant vs row-level security

Comments
8 min read
Data freshness is a schema property: freezing the market price before kickoff

Data freshness is a schema property: freezing the market price before kickoff

Comments
7 min read
Your AI Agent Can Now Design, Edit and Export Database Schemas with MCP

Your AI Agent Can Now Design, Edit and Export Database Schemas with MCP

Comments
5 min read
Transactions, Isolation Levels, MVCC, Locking, Triggers, Audit Logs & CAP Theorem in PostgreSQL 🔒

Transactions, Isolation Levels, MVCC, Locking, Triggers, Audit Logs & CAP Theorem in PostgreSQL 🔒

Comments
21 min read
PostgreSQL Query Optimization: Indexes, EXPLAIN ANALYZE, B-tree vs GIN vs GiST & the N+1 Problem 🚀

PostgreSQL Query Optimization: Indexes, EXPLAIN ANALYZE, B-tree vs GIN vs GiST & the N+1 Problem 🚀

Comments
17 min read
SQLAlchemy: Turn Your Python Classes Into Database Tables

SQLAlchemy: Turn Your Python Classes Into Database Tables

Comments
5 min read
Continuous Backup on PocketBase Cloud

Continuous Backup on PocketBase Cloud

Comments
5 min read
SQL Server Index Tuning for Beginners: A Practical Guide

SQL Server Index Tuning for Beginners: A Practical Guide

Comments
4 min read
PAM Data Export: Reconstruct Player Histories With 16 Tests

PAM Data Export: Reconstruct Player Histories With 16 Tests

Comments
18 min read
First Record with a Specific Value Within Each Group

First Record with a Specific Value Within Each Group

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