Hi User1971 - back in the "good old days", SQL Performance was a slightly easier beast to tackle. Now that we have things such user-defined data structures, materialised views, partitioning, any number of index structures, external tables, new SQL constructs (eg partition by), etc etc, trouble-shooting sql performance can be quite a challenging task. Explain plans provide the path the database chose to tackle the query at hand, not the reasoning why. There were more detailed tools such as tkprof back in the day, but I've been out of that game for a while now. It's not a trivial undertaking when trouble-shooting database performance issues.
------------------------------
Scott Taylor
Specialist Business Systems
Port Waratah Coal Services
------------------------------
Original Message:
Sent: Wed October 20, 2021 08:41 PM
From: User1971
Subject: SQL Data Analysis - Books & Resources
@Andrew Jeffery mentioned this book a while back:
SQL Performance Explained by Markus Winand
That book was definitely an in interesting read. And I'm glad I have a copy.
But also, it was pretty advanced and a few chapters were over my head/very detailed. I think a lot of us would benefit from having more concise guidelines about SQL performance best practices -- and clear instructions about how to use explain plans.
I don't think explain plans and SQL performance troubleshooting need to be as complicated as people make them out to be.
#Maximo
#AssetandFacilitiesManagement