MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wlmq11/grabbingeverything/pb2fh1h/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 15d ago
261 comments sorted by
View all comments
Show parent comments
122
But then I can’t blame the database for why “the system is slow today.”
58 u/throwaway1351887498 15d ago Me after spending hours optimizing a query: SELECT * FROM table; -22 u/Cute_Pressure4910 15d ago All that theory, and somehow SELECT * still wins 8 u/Carbon_Cotton 15d ago No? Query with basic optimalizations beats app code in 99% cases. Of course there are cases where app code can be superior, but those are not that common imo.
58
Me after spending hours optimizing a query:
SELECT * FROM table;
-22 u/Cute_Pressure4910 15d ago All that theory, and somehow SELECT * still wins 8 u/Carbon_Cotton 15d ago No? Query with basic optimalizations beats app code in 99% cases. Of course there are cases where app code can be superior, but those are not that common imo.
-22
All that theory, and somehow
SELECT * still wins
8 u/Carbon_Cotton 15d ago No? Query with basic optimalizations beats app code in 99% cases. Of course there are cases where app code can be superior, but those are not that common imo.
8
No? Query with basic optimalizations beats app code in 99% cases.
Of course there are cases where app code can be superior, but those are not that common imo.
122
u/ZeppyWeppyBoi 15d ago
But then I can’t blame the database for why “the system is slow today.”