Pahalı sorgular0x05F0D48A03B5F4E6
Demo modu

Sorgu 0x05F0D48A03B5F4E6

SQL-1 · DB-11· rag.usp_QueryCandidates_Mark · dönem 2026-10-03 → 2026-10-09 · 548 çalışma · Pahalı sorgulara dön

Ort. süre 16,2 ms▲ %740,6
Ort. CPU 16,2 ms▲ %742,5
Bekleme payı %0,3▼ %41,9
Ort. mantıksal okuma 5.828▲ %1747,3
En büyük bellek izni –

Değişim: önceki dönem 2026-09-26 → 2026-10-02 ile karşılaştırma (çalışma ağırlıklı ortalama).

Takip

Yeni

Bu sorgu henüz analiz edilmedi.

Bilinen sorgu, ertele:

Günlük trend

3.10.2026: 1 çalışma, ort. 93,5 ms4.10.2026: 41 çalışma, ort. 3,5 ms5.10.2026: 263 çalışma, ort. 15,7 ms6.10.2026: 122 çalışma, ort. 22,6 ms7.10.2026: 67 çalışma, ort. 3,1 ms9.10.2026: 54 çalışma, ort. 28,8 ms max 263 çalışma max ort. süre 93,5 ms 3.10.2026 9.10.2026
Çalışma sayısı (sol ölçek)Ortalama süre (sağ ölçek)

Ne değişti, ne zaman

Dönemden 14 gün öncesinden itibaren: planlar, plan değişimleri, nesne tanımı, analizler, uygulanan öneriler.
  1. 6.10.2026 00:00 yeni plan plan 63511
  2. 5.10.2026 10:00 tanım değişti rag.usp_QueryCandidates_Mark
  3. 5.10.2026 09:00 yeni plan plan 45142
  4. 1.10.2026 21:00 plan değişimi P411 30730→30856
  5. 1.10.2026 21:00 yeni plan plan 30730
  6. 1.10.2026 21:00 yeni plan plan 30856
  7. 1.10.2026 19:00 yeni plan plan 27296
  8. 1.10.2026 19:00 yeni plan plan 27736
  9. 30.09.2026 05:00 yeni plan plan 9584
  10. 30.09.2026 05:00 yeni plan plan 9601
  11. 30.09.2026 05:00 yeni plan plan 9611

Günler

GünÇalışmaOrt. CPU msOrt. süre ms p95 msOrt. reads
2026-10-03192,793,5 93,524.388
2026-10-04413,53,5 56,0809
2026-10-0526315,715,7 99,05.955
2026-10-0612222,622,6 114,88.185
2026-10-07673,13,1 98,4861
2026-10-095428,628,8 187,39.515

Planlar

QDS, dönem içinde; ham veri 14 gün saklanır
PlanÇalışmaOrt. süre msOrt. CPU ms Ort. readsSon çalışma
272962071,41,4124 9.10.2026 17:44 en iyi
6351111,41,4135 6.10.2026 00:16
308562921,41,4122 6.10.2026 05:50
277361081,81,8390 9.10.2026 17:45
4514229100,6100,141.320 5.10.2026 21:01
3073061123,7123,645.431 9.10.2026 19:10 en kötü

Davranış

Wait kategorileri (QDS)
Memory:27,CPU:17,Buffer IO:8
Session'da görülen wait'ler
–
Başka oturumları bloklama
0
En büyük memory grant
–

Saat dağılımı

session yakalama
00:00 — 00001:00 — 002:00 — 003:00 — 00304:00 — 005:00 — 006:00 — 00607:00 — 008:00 — 009:00 — 00910:00 — 011:00 — 012:00 — 01213:00 — 014:00 — 015:00 — 01516:00 — 017:00 — 018:00 — 01819:00 — 020:00 — 021:00 — 02122:00 — 023:00 — 0

Sorgu metni

SQL
(@days int,@from date,@to date)SELECT q.ServerID, q.DatabaseName, q.query_hash,
           SUM(IIF(q.StatDateUtc >= @from, ISNULL(q.Executions, 0), 0)) AS CExec,
           SUM(IIF(q.StatDateUtc >= @from, ISNULL(q.TotalCpuMs, 0), 0)) AS CCpu,
           SUM(IIF(q.StatDateUtc >= @from, ISNULL(q.TotalDurationMs, 0), 0)) AS CDur,
           SUM(IIF(q.StatDateUtc >= @from, ISNULL(CAST(q.BlockedOthersCount AS bigint), 0), 0)) AS CBlock,
           SUM(IIF(q.StatDateUtc < @from, ISNULL(q.Executions, 0), 0)) AS PExec,
           SUM(IIF(q.StatDateUtc < @from, ISNULL(q.TotalDurationMs, 0), 0)) AS PDur
    INTO #s
    FROM perf.QueryDailyStats AS q
    JOIN DBA.ManagedServers AS ms ON ms.ServerID = q.ServerID AND ISNULL(ms.IsActive, 0) = 1
    JOIN DBA.MonitoredDatabase AS md ON md.ServerID = q.ServerID AND md.DatabaseName = q.DatabaseName AND md.IsActive = 1
    WHERE q.StatDateUtc >= DATEADD(day, -@days, CAST(@from AS datetime)) AND q.StatDateUtc <= @to
    GROUP BY q.ServerID, q.DatabaseName, q.query_hash

Bu sorgunun analizleri

Kayıt yok

Henüz analiz yok.