Pahalı sorgular0x6D36EE0A2B15B16D
Demo modu

Sorgu 0x6D36EE0A2B15B16D

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

Ort. süre 4,0 ms
Ort. CPU 3,1 ms
Bekleme payı %23,4
Ort. mantıksal okuma 132
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

24.09.2026: 22 çalışma, ort. 0,7 ms25.09.2026: 15 çalışma, ort. 0,9 ms27.09.2026: 97 çalışma, ort. 1,6 ms28.09.2026: 5.501 çalışma, ort. 3,7 ms29.09.2026: 6.706 çalışma, ort. 2,8 ms30.09.2026: 2.282 çalışma, ort. 4,1 ms1.10.2026: 858 çalışma, ort. 7,2 ms2.10.2026: 1.059 çalışma, ort. 11,6 ms max 6.706 çalışma max ort. süre 11,6 ms 24.09.2026 2.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. 7.10.2026 20:39 tanım değişti rag.usp_EmbedQueue_Dequeue
  2. 30.09.2026 20:00 plan değişimi P466 2150→19379
  3. 30.09.2026 20:00 yeni plan plan 19379
  4. 30.09.2026 11:00 yeni plan plan 16699
  5. 30.09.2026 06:00 yeni plan plan 10249
  6. 24.09.2026 08:00 yeni plan plan 2150
  7. 24.09.2026 08:00 yeni plan plan 2202
  8. 24.09.2026 08:00 yeni plan plan 2222

Günler

GünÇalışmaOrt. CPU msOrt. süre ms p95 msOrt. reads
2026-09-24220,30,7 1,126
2026-09-25150,50,9 1,653
2026-09-27971,61,6 2,0155
2026-09-285.5010,93,7 1,335
2026-09-296.7062,82,8 4,5121
2026-09-302.2824,14,1 6,2183
2026-10-018587,17,2 7,7291
2026-10-021.05911,411,6 15,0479

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
102492460,10,18 30.09.2026 11:25 en iyi
166992240,20,280 30.09.2026 20:06
22021680,30,312 2.10.2026 02:27
2150490,40,412 2.10.2026 17:26
222214.3592,72,7115 2.10.2026 02:27
193791.4938,18,1347 2.10.2026 17:25 en kötü

Davranış

Wait kategorileri (QDS)
Memory:15196,CPU:468,Buffer Latch:24
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
(@MaxAttempts int,@BatchSize int,@LeaseSeconds int)WITH c AS (
        SELECT TOP (@BatchSize) *
        FROM rag.EmbedQueue WITH (READPAST, UPDLOCK, ROWLOCK)
        WHERE Status = 'Queued' OR (Status = 'Running' AND LeaseUntilUtc < SYSUTCDATETIME() AND Attempt < @MaxAttempts)
        ORDER BY QueueID
    )
    UPDATE c SET Status = 'Running', Attempt = Attempt + 1, LeaseUntilUtc = DATEADD(second, @LeaseSeconds, SYSUTCDATETIME())
    OUTPUT inserted.QueueID, inserted.SourceType, inserted.SourceRef, inserted.Attempt

Bu sorgunun analizleri

Kayıt yok

Henüz analiz yok.