Refactor queries_grouped_by_hash and add 4 additional Optimization Scripts #471
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Some customers have a greater focus on duration of queries rather than total slots. The queries_grouped_by_hash_project/org_duration scripts break each query down by duration percentile rather than focusing solely on slot time which can save time rather than modifying a previous script.
Added two additional scripts to gain insights into customers who use BI Engine. One focuses on the duration of each BI Engine mode so they can monitor whether or not BI Engine is helping. The other focuses on why BI Engine was disabled so they can understand why BI Engine may not have been used.
Refactored queries_grouped_by_hash to add ordering and limit clauses. The current comments in the scripts don't align with the script logic.
Also updated the README to reflect some of the latest changes to queries_grouped_by_hash. There were broken links because we broke queries_grouped_by_hash into two separate scripts for project and organization.