Home / vanterx / mssql-performance-skills · skills/sqlmemory-review/SKILL.md · GitHub

sqlmemory-review skillA

sqlmemory-review is agent-read markdown (skill) from vanterx/mssql-performance-skills: Analyze SQL Server memory pressure using buffer pool metrics, plan cache composition, memory grants, and memory clerk data. Applies 20 checks (O1–O20) covering Page Life Expectancy degradation, single-use plan cache bloat, RESOURCE_SEMAPHORE queue depth, memory grant timeouts, buffer pool concentration, ColumnStore and In-Memory OLTP footprint, OS memory pressure notifications, and server memory configuration. Use this skill when the server is paging, queries queue for memory grants, or PLE is l.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# SQL Server Memory Review Skill

## Purpose

Analyze SQL Server memory state and identify the root cause of memory pressure. Applies 20 checks (O1–O20) across four categories:

- **O1–O5** — Buffer pool and Page Life Expectancy: detect low PLE, declining trends, NUMA node imbalance, and buffer pool concentration in a single database
- **O6–O10** — Plan cache: single-use plan bloat, excessive compile counts, large individual plans, and high plan cache churn
- **O11–O15** — Memory grants and RESOURCE_SEMAPHORE: detect grant queuing, grant timeouts, oversized grants, and Resource Governor misconfigurations
- **O16–O20** — Memory clerks, OS pressure, and configuration: ColumnStore/In-Memory OLTP memory footprint, OS pressure notifications, stolen (non-buffer) memory dominance, Lock Pages in Memory misconfiguration, and Max Server Memory not explicitly set

## Input

Accept any of:
- Output from `sys.dm_os_memory_clerks` capture query below (paste the result grid)
- Output from `sys.dm_os_ring_buffers` WHERE `ring_buffer_type = N'RING_BUFFER_RESOURCE_MONITOR'` — memory pressure notifications (also accept `RING_BUFFER_OOM` records for out-of-memory events)
…

Read the whole file at its exact version.

How to install

Latest version
mdr add vanterx/mssql-performance-skills/sqlmemory-review@git:20260622.55f8c85
Exact content
mdr add vanterx/mssql-performance-skills/sqlmemory-review@sha256:7da939e740fb4201

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7zusojdjf4h34abb.svg)](https://markdownregistry.com/a/art_7zusojdjf4h34abb)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260622.55f8c85 latest2026-06-22 55f8c85 23,056 BA view · diff
git:20260610.a205f822026-06-10 a205f82 21,391 BA view · diff
git:20260605.9ec0ebe2026-06-05 9ec0ebe 20,980 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (23056 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

vanterx/mssql-performance-skills · 5 stars · license MIT · pushed 2026-09-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7zusojdjf4h34abb
GET https://markdownregistry.com/api/v1/resolve?ref=vanterx/mssql-performance-skills/sqlmemory-review
GET https://markdownregistry.com/api/v1/blob/7da939e740fb420151c7cdfc1411a30becbc23c06f2b475bc6fd8ced106fd8c6

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from vanterx/mssql-performance-skills

AGENTS.md agents
vanterx/mssql-performance-skills · AGENTS.md
git:20260709.012214c · audit A · 5 stars
CLAUDE.md claude
vanterx/mssql-performance-skills · CLAUDE.md
git:20260919.8a7bf7e · audit A · 5 stars
mssql-performance-review skill
vanterx/mssql-performance-skills · skills/mssql-performance-review/SKILL.md · Agentic offline orchestrator for end-to-end SQL Server performance reviews. Forms hypotheses from artifacts or…
git:20260919.8a7bf7e · audit A · 5 stars
sqlag-review skill
vanterx/mssql-performance-skills · skills/sqlag-review/SKILL.md · Audits SQL Server Always On Availability Group configuration correctness across all layers — prerequisites, replica…
git:20260622.55f8c85 · audit A · 5 stars
sqlblocking-review skill
vanterx/mssql-performance-skills · skills/sqlblocking-review/SKILL.md · Analyze SQL Server lock blocking from sys.dm_exec_requests, sys.dm_exec_sessions, sys.dm_os_waiting_tasks…
git:20260919.8a7bf7e · audit A · 5 stars
sqlbootstraplog-review skill
vanterx/mssql-performance-skills · skills/sqlbootstraplog-review/SKILL.md · Analyze SQL Server Setup Bootstrap log files to diagnose failed installations, failed Cumulative Update or Service Pack…
git:20260611.bd7f3cf · audit A · 5 stars
sqlclusterlog-review skill
vanterx/mssql-performance-skills · skills/sqlclusterlog-review/SKILL.md · Analyzes Windows Server Failover Cluster (WSFC) CLUSTER.LOG files for Always On Availability Group root-cause…
git:20260622.55f8c85 · audit A · 5 stars
sqldbconfig-review skill
vanterx/mssql-performance-skills · skills/sqldbconfig-review/SKILL.md · Analyze SQL Server instance and database configuration drift against proven DBA best practices. Applies 29 checks…
git:20260919.8a7bf7e · audit A · 5 stars
sqldeadlock-review skill
vanterx/mssql-performance-skills · skills/sqldeadlock-review/SKILL.md · Analyze SQL Server deadlock XML (from system_health XE session, SSMS deadlock graph, or trace) to identify root cause…
git:20260919.8a7bf7e · audit A · 5 stars
sqldiskio-review skill
vanterx/mssql-performance-skills · skills/sqldiskio-review/SKILL.md · Analyze SQL Server file-level I/O latency and auto-growth events using sys.dm_io_virtual_file_stats, sys.master_files…
git:20260622.55f8c85 · audit A · 5 stars
sqlencryption-review skill
vanterx/mssql-performance-skills · skills/sqlencryption-review/SKILL.md · Analyze SQL Server encryption posture across all layers — TDE, Always Encrypted, cell-level encryption, backup…
git:20260622.55f8c85 · audit A · 5 stars
sqlerrorlog-review skill
vanterx/mssql-performance-skills · skills/sqlerrorlog-review/SKILL.md · Analyzes SQL Server ERRORLOG files for operational issues, availability group failures, memory pressure, I/O subsystem…
git:20260622.55f8c85 · audit A · 5 stars

Every file in vanterx/mssql-performance-skills

Browse by kind, by grade A, or by owner.