DEV Community

select * from SQL

Posts on tips and tricks, using and learning about SQL for database development and analysis.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
[query-inspector] A Claude Code skill for extracting and tuning SQL/ORM queries

[query-inspector] A Claude Code skill for extracting and tuning SQL/ORM queries

Comments
4 min read
The Day My "Index Optimization" Melted Our Database 🔥

The Day My "Index Optimization" Melted Our Database 🔥

Comments
9 min read
A campaign that has searched every keyword gets eight new ones, and the worst eight switch off

A campaign that has searched every keyword gets eight new ones, and the worst eight switch off

Comments
7 min read
QueuePool Limit Reached - When FastAPI Runs Out of Database Connections

QueuePool Limit Reached - When FastAPI Runs Out of Database Connections

Comments
10 min read
Postgres Let Two Rows Through a Unique Index: The glibc Collation Trap After an OS Upgrade

Postgres Let Two Rows Through a Unique Index: The glibc Collation Trap After an OS Upgrade

Comments
8 min read
Three months of sales vanished, and every dbt run was green

Three months of sales vanished, and every dbt run was green

Comments
5 min read
I scanned 1,152 dbt models for joins that inflate SUM. Here is what I found.

I scanned 1,152 dbt models for joins that inflate SUM. Here is what I found.

Comments 2
3 min read
My Experience Using SQL: DDL, DML, WHERE and CASE WHEN

My Experience Using SQL: DDL, DML, WHERE and CASE WHEN

Comments
2 min read
A cache key ate 99.9% of my records and the pipeline looked green

A cache key ate 99.9% of my records and the pipeline looked green

Comments
5 min read
The ALTER TABLE statement conflicted with the FOREIGN KEY constraint

The ALTER TABLE statement conflicted with the FOREIGN KEY constraint

Comments
4 min read
The Empty SMALLINT Column That Led Me to Nine More Missing Types

The Empty SMALLINT Column That Led Me to Nine More Missing Types

Comments
2 min read
SqlJam: Move Tables Across Databases with Schema, Data and All

SqlJam: Move Tables Across Databases with Schema, Data and All

Comments
5 min read
MSSQL LEDGER TABLES Bulletproof Data Integrity and Authenticity

MSSQL LEDGER TABLES Bulletproof Data Integrity and Authenticity

Comments
4 min read
How AI can investigate a 12 GB export without reading it into a prompt

How AI can investigate a 12 GB export without reading it into a prompt

Comments
6 min read
Query Optimization

Query Optimization

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