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.
Our plan limits have no counter column, the rows are the count, and a refund is a DELETE

Our plan limits have no counter column, the rows are the count, and a refund is a DELETE

Comments
7 min read
Filtering Data in SQL: A Beginner’s Guide to WHERE, AND, LIKE, and Other Operators

Filtering Data in SQL: A Beginner’s Guide to WHERE, AND, LIKE, and Other Operators

1
Comments 1
4 min read
SQL Was Always Just Database Stuff to Me. Then I Started Writing Queries

SQL Was Always Just Database Stuff to Me. Then I Started Writing Queries

5
Comments 4
6 min read
SQL WINDOW FUNCTIONS, JOINS, CTES AND SUBQUERRIES.

SQL WINDOW FUNCTIONS, JOINS, CTES AND SUBQUERRIES.

1
Comments
11 min read
Why Your SQL Query Returns the Wrong Rows (And How WHERE and ORDER BY Fix It)

Why Your SQL Query Returns the Wrong Rows (And How WHERE and ORDER BY Fix It)

1
Comments
6 min read
Sentry and Mandrill Both Went Down When Postgres Ran Out of Transaction IDs

Sentry and Mandrill Both Went Down When Postgres Ran Out of Transaction IDs

1
Comments
9 min read
Why Patroni failover takes 26–49 seconds with default settings (and how to make it faster)

Why Patroni failover takes 26–49 seconds with default settings (and how to make it faster)

Comments
5 min read
Why Databases Use B+ Trees Instead of BSTs

Why Databases Use B+ Trees Instead of BSTs

Comments
1 min read
Translating WooCommerce products: where every field actually lives, and which ones silently stay in one language

Translating WooCommerce products: where every field actually lives, and which ones silently stay in one language

Comments
7 min read
Your PostgreSQL Database Is Running Out of Headroom. What Should You Fix First?

Your PostgreSQL Database Is Running Out of Headroom. What Should You Fix First?

Comments 1
4 min read
Code evolves quickly, databases remember everything

Code evolves quickly, databases remember everything

3
Comments
1 min read
Give Claude a read-only straw to your SQLite DB: a tiny MCP server in Python

Give Claude a read-only straw to your SQLite DB: a tiny MCP server in Python

Comments 1
2 min read
PostgreSQL high availability with only 2 servers: where the third vote comes from

PostgreSQL high availability with only 2 servers: where the third vote comes from

Comments
5 min read
How I Migrated a Live Database to a Many-to-Many Relationship

How I Migrated a Live Database to a Many-to-Many Relationship

Comments
5 min read
Your data has 10 attributes. How many indexes do you need to search within millisecond?

Your data has 10 attributes. How many indexes do you need to search within millisecond?

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