Menu
CSS is awesome { overflow: hidden; }
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Azure
Backend
Bash
C++
Cloud
All Categories
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
HTTP 418: I'm a teapot
The server identifies as a teapot now and is on a tea break, brb
Cascading-deletes Memes
Posts tagged with Cascading-deletes
Query Of Doom
Databases
Debugging
Backend
4 months ago
8.3M views
0 shares
Someone's running a DELETE query on production with a WHERE clause targeting a single user ID. Should be instant, right? Wrong. It's been spinning for 44 seconds. Either that user has half a million orphaned records scattered across 37 tables with cascading deletes, or someone forgot to index the ID column. Both scenarios mean you're about to have a very uncomfortable conversation with your DBA. The "Production : tank" label in the corner is just chef's kiss—nothing says confidence like running destructive queries on a server nicknamed after a military vehicle.
Today's picks
Apple 2020 Mac Mini with Apple M1 Chip, 16GB RAM, 1TB SSD Storage, Silver (Renewed)
Affiliate
$729.87
NordVPN
Sponsored
VPN
I am a developer.
Programming
111.0K views
5 years ago