r/developersIndia • u/dronzer7716 • Jan 16 '24
Tips Optimizing SQL Queries by 23x!!!
This was the first time that I wrote an article about a thing that I was working on, and this was the very first time something like this was assigned to me and I was very excited to investigate and find potential improvements, Wrote an article about it hope you guys will also find it useful.
63
Upvotes
View all comments
Show parent comment
12
u/Witty-Play9499 Jan 16 '24
The Stack Overflow link that you have pasted has the top answer talking about how joins are only slow if the database is not being used correctly and that it can be argued that joins are one of the primary use cases of relational databases and that they are actually fast and that de-normalization should only be used after a many number of common Database managment techniques have been tried out and failed.
I personally think at the end of the day, its hard to make blanket statements and that everything really is a trade-off and is context specific