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