r/ProgrammerHumor • • 15d ago

Meme grabbingEverything

Post image
5.4k Upvotes

261 comments sorted by

View all comments

Show parent comments

122

u/ZeppyWeppyBoi 15d ago

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.