Re:Things I wished more developers knew about databases
by jatone on Wednesday April 22, 2020 @03:08PM
(#22949051)
in reality it does work that way.
the problem you describe is completely different and its more a measure of system health in its entirety of the DB. it can be easier to fix or harder depending on the precise cause. but that's a standard debugging skill which isn't strictly in the DBA skillset.
Re:Things I wished more developers knew about databases
by james-mcelwain on Wednesday April 22, 2020 @09:50PM
(#22952089)
This is my experience especially with ORMs. It's really hard to optimize when your "top query time" list is just a list of your most frequently called methods, where there's no single obvious pathological case, but lots of little inefficiencies.
E.g., for a quick practice run, try optimizing Wordpress without making it a static page via caching - how many queries will you have to optimize and how much of a codebase rewrite will it be to make it significantly more performant?