Skip to content

Commit fcc8a3c

Browse files
committed
adjust summary
1 parent f921886 commit fcc8a3c

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

src/PlanViewer.Core/Services/QueryStoreService.cs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -943,14 +943,15 @@ private static (string PlanStatsCol, string AggAlias) ResolveGroupMetric(string
943943
};
944944
}
945945

946-
/// <summary>
947-
/// Fetches grouped-by-QueryHash results.
948-
/// Step 1: Top X query hashes by metric.
949-
/// Step 2: Top 5 plan hashes per query hash with metrics.
950-
/// Step 3: Top and bottom QueryId/PlanId per query_hash/plan_hash.
951-
/// Returns intermediate (plan_hash level) and leaf (query_id/plan_id level) rows.
952-
/// </summary>
953-
public static async Task<QueryStoreGroupedResult> FetchGroupedByQueryHashAsync(
946+
/// <summary>
947+
/// Fetches grouped-by-QueryHash results.
948+
/// Step 1: Top X query hashes by metric.
949+
/// Step 2: Top 5 plan hashes per query hash with metrics.
950+
/// Step 3: Top and bottom QueryId/PlanId per query_hash/plan_hash.
951+
/// Final : Fetch Query Text and Plan XML for the identified QueryId/PlanId.
952+
/// Returns intermediate (plan_hash level) and leaf (query_id/plan_id level) rows.
953+
/// </summary>
954+
public static async Task<QueryStoreGroupedResult> FetchGroupedByQueryHashAsync(
954955
string connectionString, int topN = 25, string orderBy = "cpu",
955956
QueryStoreFilter? filter = null, CancellationToken ct = default,
956957
DateTime? startUtc = null, DateTime? endUtc = null)

0 commit comments

Comments
 (0)