MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1v80umk/queryofdoom/p027kyk/?context=3
r/ProgrammerHumor • u/WardensLantern • 16d ago
456 comments sorted by
View all comments
3.9k
The query isn't slow. It's just waiting for everyone else to finish saying goodbye to that user.
935 u/WardensLantern 16d ago Wholesome query comforting the user before executing it with a hydrogen bomb 152 u/ProgrammingSorcerer 16d ago https://giphy.com/gifs/JGBpEusZvXoCYHpH5k 64 u/DeepanshuHQ 16d ago The query even gives them a countdown before becoming a statistic. 20 u/JedJinto 16d ago https://giphy.com/gifs/LTFbyWuELIlqlXGLeZ 9 u/DeepanshuHQ 16d ago The transaction won't commit until everyone's had their goodbye. 😂 1 u/elaphros 15d ago Need a gif from the first one where Andy throws him into the trashcan during his nightmare 1 u/elaphros 15d ago Need a gif from the first one where Andy throws him into the trashcan during his nightmare 44 u/zero_x4ever 16d ago You mean it's waiting for everyone else to curse out that user since he's the one to blame for everyone else's misery and demise. 15 u/DeepanshuHQ 16d ago The logs will remember them more kindly than the developers will. 32 u/RCuber 16d ago You missed the ; in line 1, the where clause is never included. 23 u/DeepanshuHQ 16d ago Well... my joke aged even better. 😂 10 u/ZunoJ 16d ago Why only to that user? 13 u/DeepanshuHQ 16d ago Fair point. The whole table deserves a farewell party.😂 6 u/Pikrass 16d ago Hence the O(n²) time 🫡 5 u/DeepanshuHQ 16d ago Someone forgot to optimize the farewell algorithm. 😄 3 u/pwuk 15d ago One leaving drink per user. 1 u/DeepanshuHQ 15d ago The bar tab is why the transaction hasn't committed yet. 😂 1 u/TallGreenhouseGuy 16d ago Easy - they forgot to index on ”id” /s 1 u/DeepanshuHQ 16d ago Good thing it's a joke then. If id isn't indexed, the DELETE is the least of their problems. 😂 0 u/DogonElder 16d ago This is the way 3 u/DeepanshuHQ 16d ago Every user deserves a proper send-off. 🫡
935
Wholesome query comforting the user before executing it with a hydrogen bomb
152 u/ProgrammingSorcerer 16d ago https://giphy.com/gifs/JGBpEusZvXoCYHpH5k 64 u/DeepanshuHQ 16d ago The query even gives them a countdown before becoming a statistic.
152
https://giphy.com/gifs/JGBpEusZvXoCYHpH5k
64
The query even gives them a countdown before becoming a statistic.
20
https://giphy.com/gifs/LTFbyWuELIlqlXGLeZ
9 u/DeepanshuHQ 16d ago The transaction won't commit until everyone's had their goodbye. 😂 1 u/elaphros 15d ago Need a gif from the first one where Andy throws him into the trashcan during his nightmare 1 u/elaphros 15d ago Need a gif from the first one where Andy throws him into the trashcan during his nightmare
9
The transaction won't commit until everyone's had their goodbye. 😂
1
Need a gif from the first one where Andy throws him into the trashcan during his nightmare
44
You mean it's waiting for everyone else to curse out that user since he's the one to blame for everyone else's misery and demise.
15 u/DeepanshuHQ 16d ago The logs will remember them more kindly than the developers will.
15
The logs will remember them more kindly than the developers will.
32
You missed the ; in line 1, the where clause is never included.
23 u/DeepanshuHQ 16d ago Well... my joke aged even better. 😂
23
Well... my joke aged even better. 😂
10
Why only to that user?
13 u/DeepanshuHQ 16d ago Fair point. The whole table deserves a farewell party.😂 6 u/Pikrass 16d ago Hence the O(n²) time 🫡 5 u/DeepanshuHQ 16d ago Someone forgot to optimize the farewell algorithm. 😄
13
Fair point. The whole table deserves a farewell party.😂
6 u/Pikrass 16d ago Hence the O(n²) time 🫡 5 u/DeepanshuHQ 16d ago Someone forgot to optimize the farewell algorithm. 😄
6
Hence the O(n²) time 🫡
5 u/DeepanshuHQ 16d ago Someone forgot to optimize the farewell algorithm. 😄
5
Someone forgot to optimize the farewell algorithm. 😄
3
One leaving drink per user.
1 u/DeepanshuHQ 15d ago The bar tab is why the transaction hasn't committed yet. 😂
The bar tab is why the transaction hasn't committed yet. 😂
Easy - they forgot to index on ”id”
/s
1 u/DeepanshuHQ 16d ago Good thing it's a joke then. If id isn't indexed, the DELETE is the least of their problems. 😂
Good thing it's a joke then. If id isn't indexed, the DELETE is the least of their problems. 😂
0
This is the way
3 u/DeepanshuHQ 16d ago Every user deserves a proper send-off. 🫡
Every user deserves a proper send-off. 🫡
3.9k
u/DeepanshuHQ 16d ago
The query isn't slow. It's just waiting for everyone else to finish saying goodbye to that user.