Diagnostic Queries for Query Tuning