waits-latches-spinlocks
Investigate SQL Server waits, scheduler yield, buffer latches, LOCK_HASH spinlocks, and Azure SQL log governance. Use when working with examples/insidewaitslatchesspinlocks and its debugwaits, latches, spinlocks, or loggovernance areas.
- License 许可
- MIT
- 所属仓库
- microsoft/bobsql
- 最近更新
- 2026-11-11
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- waits-latches-spinlocks
- description
- Investigate SQL Server waits, scheduler yield, buffer latches, LOCK_HASH spinlocks, and Azure SQL log governance. Use when working with examples/insidewaitslatchesspinlocks and its debugwaits, latches, spinlocks, or loggovernance areas.
03 SKILL.md 正文
Waits, latches, and spinlocks
Procedure
- Use the collection map
to choose the scenario. Read its Markdown entry point and retained
readme.txtinstructions. - Confirm platform, SQL build/tier, instance, SQL tools, and the scenario's WinDbg/symbol or stress-driver dependencies. Review startup flags, authentication, local paths, and resource limits.
- Use a disposable lab. Obtain approval before restarts, debugger attachment, Resource Governor changes, heavy traffic, bulk inserts, or configuration changes. Supply credentials privately; do not reuse literal demo passwords.
- Capture baseline requests, wait/latch/spinlock counters, and CPU/log metrics. Run the approved workload in the intended sessions, then compare deltas and stacks rather than equating a cumulative wait count with the root cause.
- Resolve spinlock type IDs and internal symbols against the current build. Captured driver output is reference material, not proof of current behavior.
- Stop the specific lab processes, close transactions, detach the debugger, and follow the chosen cleanup while restoring prior settings.
Do not run contention or failure reproductions in production. Follow secret checks before publishing logs or scripts.
04 同仓库更多 Skills
sql-versioning-apps
Launch, run, review, rehearse, test, or update the local SQL versioning click-through apps in examples/sqlversioning/apps. Use when the user says run the app, start the app, open the app, demo apps, browser demos, SQL versioning visuals, or asks about the Cowboys-themed demo pages. In this repository, running the app means opening a NEW normal external browser window, not the VS Code integrated browser.
shift-handoff
Find the patients who most need a shift handoff, and prepare a structured SBAR handoff for one named patient — grounded entirely in that patient's live chart — for the clinician to review and save.
nvidianim
NVIDIA NIM on AKS with GPU — vector embeddings and chat completions from SQL Server 2025 T-SQL using GPU-accelerated inference. Use when: deploying NIM containers on AKS, creating AKS GPU node pools, testing NIM endpoints, creating external models for NIM embeddings, Azure Local edge AI pattern, working in nvidianim/.
zavahospital
ZavaHospital – AI-powered inpatient clinical assistant using SQL Server 2025 vector search + NVIDIA NIM on AKS. Use when: deploying zavahospital scripts, building encounter embeddings, running vector search procs, generating clinical recommendations via NIM chat, creating doctor notes search, working in zavahealth/sqlserver2025/zavahospital/.
wardgeneral
Guide the cumulative Ward General Hospital Azure SQL Hyperscale demo: provision/schema, architecture, .NET 10 Blazor app, SQL AI, agentic shift handoff, security/RLS, observability, failover/PITR/geo, scaling, and tuning. Use for examples/wardgeneral.
waits-latches-spinlocks-workshop
Guide the numbered Inside Waits, Latches, and Spinlocks workshop: WinDbg basics, blocking, scheduler yield, preemptive waits, threadpool exhaustion, log governance, latches, and spinlocks. Use for examples/insidewaitslatchesspinlocks_workshop.