Pahalı sorgular0x55AE145AECF68E88
Demo modu

Sorgu 0x55AE145AECF68E88

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

Ort. süre 19,3 ms▲ %90,9
Ort. CPU 19,2 ms▲ %99,9
Bekleme payı %0,4▼ %91,4
Ort. mantıksal okuma 701▲ %92,5
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: 4.627 çalışma, ort. 18,6 ms4.10.2026: 5.703 çalışma, ort. 20,1 ms5.10.2026: 1.025 çalışma, ort. 18,0 ms max 5.703 çalışma max ort. süre 20,1 ms 3.10.2026 5.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:51 tanım değişti rag.usp_EmbedQueue_Dequeue
  2. 30.09.2026 22:00 yeni plan plan 7545
  3. 29.09.2026 21:00 yeni plan plan 7330
  4. 24.09.2026 08:00 yeni plan plan 2150
  5. 24.09.2026 08:00 yeni plan plan 2202
  6. 24.09.2026 08:00 yeni plan plan 2222

Günler

GünÇalışmaOrt. CPU msOrt. süre ms p95 msOrt. reads
2026-10-034.62718,518,6 21,6674
2026-10-045.70319,920,1 24,9721
2026-10-051.02518,018,0 18,7715

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
222211.35519,319,2701 5.10.2026 02:59

Davranış

Wait kategorileri (QDS)
CPU:1122,Memory:8,Buffer IO:1
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.