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.
Magento 2 Mview Changelog Management: Controlling Table Growth & Indexer Latency

Magento 2 Mview Changelog Management: Controlling Table Growth & Indexer Latency

Comments
6 min read
Money in a Parking App: Paise, Basis Points and a Ledger Postgres Won't Let You Edit

Money in a Parking App: Paise, Basis Points and a Ledger Postgres Won't Let You Edit

Comments 4
5 min read
Multi-Tenancy in SaaS: Choosing Between Shared Tables, Schemas and Separate Databases

Multi-Tenancy in SaaS: Choosing Between Shared Tables, Schemas and Separate Databases

3
Comments 3
2 min read
Is It Safe to Give an AI Agent Access to Your Production Database?

Is It Safe to Give an AI Agent Access to Your Production Database?

Comments 1
15 min read
The N+1 Query Problem: Why Your API Might Be Making 101 Database Queries Instead of 2

The N+1 Query Problem: Why Your API Might Be Making 101 Database Queries Instead of 2

1
Comments
6 min read
SQLazy: Convert Swipe Records into Single-Row Sessions by Pairing Order

SQLazy: Convert Swipe Records into Single-Row Sessions by Pairing Order

6
Comments 2
4 min read
Cloudflare Email Worker inbox: store every message in D1 in 30 lines

Cloudflare Email Worker inbox: store every message in D1 in 30 lines

2
Comments 4
5 min read
SQL Cheat sheet

SQL Cheat sheet

1
Comments
7 min read
Supabase RLS is great. Here's the part you'll still build yourself.

Supabase RLS is great. Here's the part you'll still build yourself.

Comments 1
6 min read
Unread badges that would not clear: 59 of my 64 messages were junk

Unread badges that would not clear: 59 of my 64 messages were junk

Comments 1
3 min read
I put reminders, contacts and recipes in the same Postgres table. Here is the SQL, and what it cost.

I put reminders, contacts and recipes in the same Postgres table. Here is the SQL, and what it cost.

Comments
5 min read
Why marketplace accounting becomes so hard

Why marketplace accounting becomes so hard

1
Comments
15 min read
Kubernetes Deployments, DaemonSets, and StatefulSets: a Deep Dive from a Production Outage

Kubernetes Deployments, DaemonSets, and StatefulSets: a Deep Dive from a Production Outage

1
Comments 2
10 min read
The Slow Query Sentinel: A Zero-Dollar Server That Explains Your Database's Worst SQL

The Slow Query Sentinel: A Zero-Dollar Server That Explains Your Database's Worst SQL

Comments
4 min read
MCP vs. a Direct Database Connection: A Security and Workflow Comparison

MCP vs. a Direct Database Connection: A Security and Workflow Comparison

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