the SQL in sys.schema_unused_indexes
is over-simplified, and not aggregated across nodes
#51269
Labels
sys.schema_unused_indexes
is over-simplified, and not aggregated across nodes
#51269
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
An index in different nodes will appear multiple times in the
sys.schema_unused_indexes
. I forgot to finish the aggregation 🤦.Re-write the SQL should work well:
The text was updated successfully, but these errors were encountered: