AGENT SKILL

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.

License 许可
MIT
所属仓库
microsoft/bobsql
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
waits-latches-spinlocks-workshop
description
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.

03 SKILL.md 正文

Waits, latches, and spinlocks workshop

Procedure

  1. Read the module map. Select a numbered module and read its own README and scripts. This is separate from the shorter insidewaitslatchesspinlocks collection.
  2. Verify the isolated Windows SQL Server build, WinDbg/symbol setup, SQL tools, and required stress driver. Start with module 0 when debugger prerequisites or safe attach/detach procedures are unfamiliar.
  3. Review targets, authentication, startup flags, affinity, Resource Governor, worker limits, and cleanup. Obtain explicit approval before process attachment, instance changes, server restarts, or heavy/failure workloads.
  4. Capture baseline request/wait, CPU, latch/spinlock, or log observations. Use separate workload/diagnostic sessions and prepare DAC access before threadpool experiments that may block ordinary connections.
  5. Run only the approved module sequence. Resolve internal symbols and type IDs against the actual build; distinguish waits and cumulative counts from evidence of the reproduced bottleneck. Captured driver files are historical.
  6. Stop only the specific lab process IDs, close transactions, detach safely, restore configuration, and follow module cleanup before continuing.

Never run these reproductions in production. Keep dumps/logs private until reviewed and follow secret checks.

04 同仓库更多 Skills

microsoft
microsoft/bobsql

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.

★ 1
microsoft
microsoft/bobsql

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.

★ 1
microsoft
microsoft/bobsql

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/.

★ 1
microsoft
microsoft/bobsql

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/.

★ 1
microsoft
microsoft/bobsql

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.

★ 1
microsoft
microsoft/bobsql

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.

★ 1