Pahalı sorgular0x33122C4563C82DC8
Demo modu

Sorgu 0x33122C4563C82DC8

SQL-1 · DB-12· rag.usp_PlanChange_Detect · dönem 2026-09-12 → 2026-10-11 · 185 çalışma · Pahalı sorgulara dön

Ort. süre 2,2 ms
Ort. CPU 2,2 ms
Bekleme payı %3
Ort. mantıksal okuma 155
En büyük bellek izni –

Önceki dönemde çalışma yok; değişim hesaplanmadı.

Takip

Yeni

Bu sorgu henüz analiz edilmedi.

Bilinen sorgu, ertele:

Günlük trend

28.09.2026: 53 çalışma, ort. 0,9 ms29.09.2026: 84 çalışma, ort. 0,9 ms30.09.2026: 19 çalışma, ort. 0,7 ms1.10.2026: 4 çalışma, ort. 4,0 ms3.10.2026: 1 çalışma, ort. 5,1 ms4.10.2026: 17 çalışma, ort. 5,7 ms5.10.2026: 3 çalışma, ort. 9,2 ms6.10.2026: 2 çalışma, ort. 8,7 ms7.10.2026: 1 çalışma, ort. 95,4 ms9.10.2026: 1 çalışma, ort. 16,1 ms max 84 çalışma max ort. süre 95,4 ms 28.09.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. 9.10.2026 14:00 yeni plan plan 8791
  2. 6.10.2026 22:00 yeni plan plan 8651
  3. 6.10.2026 03:00 yeni plan plan 8588
  4. 6.10.2026 02:00 tanım değişti rag.usp_PlanChange_Detect
  5. 5.10.2026 08:00 yeni plan plan 8319
  6. 5.10.2026 03:00 yeni plan plan 8183
  7. 3.10.2026 03:00 yeni plan plan 7989
  8. 1.10.2026 21:00 yeni plan plan 7768
  9. 1.10.2026 19:00 yeni plan plan 7625
  10. 30.09.2026 06:00 yeni plan plan 7426
  11. 28.09.2026 19:00 yeni plan plan 6472
  12. 28.09.2026 19:00 yeni plan plan 6558
  13. 28.09.2026 16:00 yeni plan plan 5992
  14. 28.09.2026 16:00 yeni plan plan 6024
  15. 28.09.2026 16:00 yeni plan plan 6065

Günler

GünÇalışmaOrt. CPU msOrt. süre ms p95 msOrt. reads
2026-09-28530,90,9 1,231
2026-09-29840,90,9 1,427
2026-09-30190,70,7 1,48
2026-10-0144,04,0 6,2430
2026-10-0314,85,1 5,1739
2026-10-04175,75,7 8,2848
2026-10-0539,29,2 14,9966
2026-10-0628,68,7 9,61.364
2026-10-07188,395,4 95,41.603
2026-10-09116,116,1 16,1490

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
7426180,70,77 30.09.2026 22:30 en iyi
762510,80,84 1.10.2026 19:05
6065240,80,824 28.09.2026 17:03
65581040,90,926 29.09.2026 18:42
647281,11,055 30.09.2026 03:30
599211,21,2100 28.09.2026 16:24
602411,21,284 28.09.2026 16:25
776835,15,0571 1.10.2026 23:30
818315,65,6947 5.10.2026 03:30
7989185,75,7842 4.10.2026 23:30
858817,87,71.259 6.10.2026 03:30
8319211,011,0975 5.10.2026 09:30
8791116,116,1490 9.10.2026 14:52
8651431,629,71.634 8.10.2026 20:02 en kötü

Davranış

Wait kategorileri (QDS)
Memory:10,Buffer IO:7,CPU:4
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
INSERT rag.PlanChangeMetric (CaseID, PlanRole, Executions, Aborted, Failed, AvgDurationMs, MaxDurationMs, StdevDurationMs,
               AvgCpuMs, MaxCpuMs, AvgLogicalReads, MaxLogicalReads, AvgPhysicalReads, AvgWrites, AvgMemoryKb, AvgTempdbKb, AvgDop,
               AvgRows, MaxRows, FirstUtc, LastUtc)
        SELECT r.CaseID, r.PlanRole, p.Execs, p.Aborted, p.Failed,
               p.SumDur / p.Execs / 1000.0, p.MaxDur / 1000.0,
               SQRT(CASE WHEN p.SumSq / p.Execs - SQUARE(p.SumDur / p.Execs) > 0 THEN p.SumSq / p.Execs - SQUARE(p.SumDur / p.Execs) ELSE 0 END) / 1000.0,
               p.SumCpu / p.Execs / 1000.0, p.MaxCpu / 1000.0, p.SumReads / p.Execs, p.MaxReads, p.SumPhys / p.Execs, p.SumWrites / p.Execs,
               p.SumMem / p.Execs * 8, p.SumTempdb / p.Execs * 8, p.SumDop / p.Execs, p.SumRows / p.Execs, p.MaxRows, p.FirstUtc, p.LastUtc
        FROM #role AS r
        JOIN #ps AS p ON p.ServerID = r.ServerID AND p.DatabaseName = r.DatabaseName AND p.plan_id = r.plan_id

Bu sorgunun analizleri

Kayıt yok

Henüz analiz yok.