The only agent that thinks for itself

Autonomous Monitoring with self-learning AI built-in, operating independently across your entire stack.

Unlimited Metrics & Logs
Machine learning & MCP
5% CPU, 150MB RAM
3GB disk, >1 year retention
800+ integrations, zero config
Dashboards, alerts out of the box
> Discover Netdata Agents

Centralized metrics streaming and storage

Aggregate metrics from multiple agents into centralized Parent nodes for unified monitoring across your infrastructure.

Stream from unlimited agents
Long-term data retention
High availability clustering
Data replication & backup
Scalable architecture
Enterprise-grade security
> Learn about Parents

Fully managed cloud platform

Access your monitoring data from anywhere with our SaaS platform. No infrastructure to manage, automatic updates, and global availability.

Zero infrastructure management
99.9% uptime SLA
Global data centers
Automatic updates & patches
Enterprise SSO & RBAC
SOC2 & ISO certified
> Explore Netdata Cloud

Deploy Netdata Cloud in your infrastructure

Run the full Netdata Cloud platform on-premises for complete data sovereignty and compliance with your security policies.

Complete data sovereignty
Air-gapped deployment
Custom compliance controls
Private network integration
Dedicated support team
Kubernetes & Docker support
> Learn about Cloud On-Premises

Powerful, intuitive monitoring interface

Modern, responsive UI built for real-time troubleshooting with customizable dashboards and advanced visualization capabilities.

Real-time chart updates
Customizable dashboards
Dark & light themes
Advanced filtering & search
Responsive on all devices
Collaboration features
> Explore Netdata UI

Monitor on the go

Native iOS and Android apps bring full monitoring capabilities to your mobile device with real-time alerts and notifications.

iOS & Android apps
Push notifications
Touch-optimized interface
Offline data access
Biometric authentication
Widget support
> Download apps

The future of infrastructure observability

See our strategic direction across AI-native observability, full-stack signals, operational intelligence, and enterprise platform maturity.

AI-native observability
Full-stack signal coverage
Operational intelligence
Enterprise platform maturity
Agent releases every 6 weeks
Cloud continuous delivery
> Explore Product Roadmap

Best energy efficiency

True real-time per-second

100% automated zero config

Centralized observability

Multi-year retention

High availability built-in

Zero maintenance

Always up-to-date

Enterprise security

Complete data control

Air-gap ready

Compliance certified

Millisecond responsiveness

Infinite zoom & pan

Works on any device

Native performance

Instant alerts

Monitor anywhere

AI-native observability

Continuous delivery

Open source foundation

80% Faster Incident Resolution

AI-powered troubleshooting from detection, to root cause and blast radius identification, to reporting.

True Real-Time and Simple, even at Scale

Linearly and infinitely scalable full-stack observability, that can be deployed even mid-crisis.

90% Cost Reduction, Full Fidelity

Instead of centralizing the data, Netdata distributes the code, eliminating pipelines and complexity.

See and Map Your Entire Network

Live topology, flow analytics, and SNMP device and trap monitoring — unified with your full-stack observability.

Control Without Surrender

SOC 2 Type 2 certified with every metric kept on your infrastructure.

Integrations

800+ collectors and notification channels, auto-discovered and ready out of the box.

800+ data collectors
Auto-discovery & zero config
Cloud, infra, app protocols
Notifications out of the box
> Explore integrations
Real Results
46% Cost Reduction

Reduced monitoring costs by 46% while cutting staff overhead by 67%.

— Leonardo Antunez, Codyas

Zero Pipeline

No data shipping. No central storage costs. Query at the edge.

From Our Users
"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

No Query Language

Point-and-click troubleshooting. No PromQL, no LogQL, no learning curve.

Enterprise Ready
67% Less Staff, 46% Cost Cut

Enterprise efficiency without enterprise complexity—real ROI from day one.

— Leonardo Antunez, Codyas

SOC 2 Type 2 Certified

Zero data egress. Only metadata reaches the cloud. Your metrics stay on your infrastructure.

Full Coverage
800+ Collectors

Auto-discovered and configured. No manual setup required.

Any Notification Channel

Slack, PagerDuty, Teams, email, webhooks—all built-in.

Built for the People Who Get Paged

Because 3am alerts deserve instant answers, not hour-long hunts.

Every Industry Has Rules. We Master Them.

See how healthcare, finance, and government teams cut monitoring costs 90% while staying audit-ready.

Monitor Any Technology. Configure Nothing.

Install the agent. It already knows your stack.
From Our Users
"A Rare Unicorn"

Netdata gives more than you invest in it. A rare unicorn that obeys the Pareto rule.

— Eduard Porquet Mateu, TMB Barcelona

99% Downtime Reduction

Reduced website downtime by 99% and cloud bill by 30% using Netdata alerts.

— Falkland Islands Government

Real Savings
30% Cloud Cost Reduction

Optimized resource allocation based on Netdata alerts cut cloud spending by 30%.

— Falkland Islands Government

46% Cost Cut

Reduced monitoring staff by 67% while cutting operational costs by 46%.

— Codyas

Real Coverage
"Plugin for Everything"

Netdata has agent capacity or a plugin for everything, including Windows and Kubernetes.

— Eduard Porquet Mateu, TMB Barcelona

"Out-of-the-Box"

So many out-of-the-box features! I mostly don't have to develop anything.

— Simon Beginn, LANCOM Systems

Real Speed
Troubleshooting in 30 Seconds

From 2-3 minutes to 30 seconds—instant visibility into any node issue.

— Matthew Artist, Nodecraft

20% Downtime Reduction

20% less downtime and 40% budget optimization from out-of-the-box monitoring.

— Simon Beginn, LANCOM Systems

Pay per Node. Unlimited Everything Else.

One price per node. Unlimited metrics, logs, users, and retention. No per-GB surprises.

Free tier—forever
No metric limits or caps
Retention you control
Cancel anytime
> See pricing plans

What's Your Monitoring Really Costing You?

Most teams overpay by 40-60%. Let's find out why.

Expose hidden metric charges
Calculate tool consolidation
Customers report 30-67% savings
Results in under 60 seconds
> See what you're really paying

Your Infrastructure Is Unique. Let's Talk.

Because monitoring 10 nodes is different from monitoring 10,000.

On-prem & air-gapped deployment
Volume pricing & agreements
Architecture review for your scale
Compliance & security support
> Start a conversation

Monitoring That Sells Itself

Deploy in minutes. Impress clients in hours. Earn recurring revenue for years.

30-second live demos close deals
Zero config = zero support burden
Competitive margins & deal protection
Response in 48 hours
> Apply to partner

Per-Second Metrics at Homelab Prices

Same engine, same dashboards, same ML. Just priced for tinkerers.

Community: Free forever · 5 nodes · non-commercial
Homelab: $90/yr · unlimited nodes · fair usage
> Get the Homelab Plan

$1,000 Per Referral. Unlimited Referrals.

Your colleagues get 10% off. You get 10% commission. Everyone wins.

10% of subscriptions, up to $1,000 each
Track earnings inside Netdata Cloud
PayPal/Venmo payouts in 3-4 weeks
No caps, no complexity
> Get your referral link
Cost Proof
40% Budget Optimization

"Netdata's significant positive impact" — LANCOM Systems

Calculate Your Savings

Compare vs Datadog, Grafana, Dynatrace

Savings Proof
46% Cost Reduction

"Cut costs by 46%, staff by 67%" — Codyas

30% Cloud Bill Savings

"Reduced cloud bill by 30%" — Falkland Islands Gov

Enterprise Proof
"Better Than Combined Alternatives"

"Better observability with Netdata than combining other tools." — TMB Barcelona

Real Engineers, <24h Response

DPA, SLAs, on-prem, volume pricing

Why Partners Win
Demo Live Infrastructure

One command, 30 seconds, real data—no sandbox needed

Zero Tickets, High Margins

Auto-config + per-node pricing = predictable profit

Homelab Ready
Free Video Course

8-episode Netdata tutorial by LearnLinux.tv

76k+ GitHub Stars

3rd most starred monitoring project

Worth Recommending
Product That Delivers

Customers report 40-67% cost cuts, 99% downtime reduction

Zero Risk to Your Rep

Free tier lets them try before they buy

AI Support Assistant, Available 24/7

Nedi has access to all official documentation, source code, and resources. Ask any question about Netdata—responds in your language.

Deployment & configuration
Troubleshooting & sizing
Alerts & notifications
Evidence-based answers
> Ask Nedi now

Never Fight Fires Alone

Docs, community, and expert help—pick your path to resolution.

Learn.netdata.cloud docs
Discord, Forums, GitHub
Premium support available
> Get answers now

60 Seconds to First Dashboard

One command to install. Zero config. 850+ integrations documented.

Linux, Windows, K8s, Docker
Auto-discovers your stack
> Read our documentation

76,000+ Engineers Strong

615+ contributors. 1.5M daily downloads. One mission: simplify observability.

Per-Second. 90% Cheaper. Data Stays Home.

Side-by-side comparisons: costs, real-time granularity, and data sovereignty for every major tool.

See why teams switch from Datadog, Prometheus, Grafana, and more.

> Browse all comparisons
Edge-Native Observability, Born Open Source
Per-second visibility, ML on every metric, and data that never leaves your infrastructure.
Founded in 2016
615+ contributors worldwide
Remote-first, engineering-driven
Open source first
> Read our story
Promises We Publish—and Prove
12 principles backed by open code, independent validation, and measurable outcomes.
Open source, peer-reviewed
Zero config, instant value
Data sovereignty by design
Aligned pricing, no surprises
> See all 12 principles
Edge-Native, AI-Ready, 100% Open
76k+ stars. Full ML, AI, and automation—GPLv3+, not premium add-ons.
76,000+ GitHub stars
GPLv3+ licensed forever
ML on every metric, included
Zero vendor lock-in
> Explore our open source
Build Real-Time Observability for the World
Remote-first team shipping per-second monitoring with ML on every metric.
Remote-first, fully distributed
Open source (76k+ stars)
Challenging technical problems
Your code on millions of systems
> See open roles
Meet the Team Behind Netdata
Conferences, meetups, and tradeshows where you can see Netdata in action and talk to the engineers who build it.
Live demos and deep dives
Book 1-on-1 meetings
Talks and panel sessions
Event recaps and photos
> See all events
Talk to a Netdata Human in <24 Hours
Sales, partnerships, press, or professional services—real engineers, fast answers.
Discuss your observability needs
Pricing and volume discounts
Partnership opportunities
Media and press inquiries
> Book a conversation
Your Data. Your Rules.
On-prem data, cloud control plane, transparent terms.
Trust & Scale
76,000+ GitHub Stars

One of the most popular open-source monitoring projects

SOC 2 Type 2 Certified

Enterprise-grade security and compliance

Data Sovereignty

Your metrics stay on your infrastructure

Validated
University of Amsterdam

"Most energy-efficient monitoring solution" — ICSOC 2023, peer-reviewed

ADASTEC (Autonomous Driving)

"Doesn't miss alerts—mission-critical trust for safety software"

Community Stats
615+ Contributors

Global community improving monitoring for everyone

1.5M+ Downloads/Day

Trusted by teams worldwide

GPLv3+ Licensed

Free forever, fully open source agent

Why Join?
Remote-First

Work from anywhere, async-friendly culture

Impact at Scale

Your work helps millions of systems

$ guides / microsoft-sql-server / microsoft-sql-server-buffer-cache-hit-ratio-low

Operations Guides

SQL Server buffer cache hit ratio low: when the working set no longer fits in memory

A low buffer cache hit ratio (BCHR) gets two reactions in production: teams page on-call for a single dip during a maintenance window, or they ignore a sustained decline because the counter is “unreliable.” Both are wrong. BCHR is a weak signal alone, but paired with Page Life Expectancy (PLE), PAGEIOLATCH_* waits, and workload context, it tells you whether your working set still fits in the buffer pool.

For OLTP, BCHR should sit above 99%. Below 95% on OLTP means the working set no longer fits comfortably in the buffer pool and you are paying for it in physical I/O. Below 90% on OLTP, with elevated PAGEIOLATCH_* waits and rising I/O stall, is critical. A data warehouse doing large sequential scans legitimately runs at 80-95%, and treating that as an incident is a category error.

The counters behind BCHR are cumulative since server start, which is why the ratio becomes very stable over time and why a sudden drop is informative while a slow decline is hard to spot without trending. A single sample taken during a burst scan, a cold start, or a DBCC operation misleads.

What this means

BCHR is the percentage of page requests satisfied from the buffer pool without a physical disk read. It is computed as Buffer cache hit ratio divided by Buffer cache hit ratio base, multiplied by 100. Both counters live in sys.dm_os_performance_counters under the Buffer Manager object.

-- Read BCHR as a percentage
SELECT
    (a.cntr_value * 1.0 / NULLIF(b.cntr_value, 0)) * 100.0 AS buffer_cache_hit_ratio
FROM sys.dm_os_performance_counters a
JOIN sys.dm_os_performance_counters b
    ON a.object_name = b.object_name
   AND ISNULL(a.instance_name, '') = ISNULL(b.instance_name, '')
WHERE a.counter_name = 'Buffer cache hit ratio'
  AND b.counter_name = 'Buffer cache hit ratio base';

Because the counters are cumulative, once the buffer pool has been warm for hours the ratio barely moves. A recent regression is visible as a slow drift, not a cliff. Trend the value; do not alert on a single sample.

BCHR includes TempDB page reads. On workloads with heavy TempDB usage (large sort/hash spills, aggressive temp table use, RCSI version store activity), TempDB churn can pull the ratio down even when the user database working set fits in memory. Check whether TempDB is the consumer before concluding the buffer pool is undersized.

Workload context is mandatory

A single BCHR threshold does not apply across workload types:

WorkloadNormalInvestigateCritical
OLTP> 99%< 95%< 90% with elevated PAGEIOLATCH and I/O stall
Data warehouse / large-scan reporting> 80%< 70%Workload-specific

A data warehouse at 85% BCHR during a nightly scan window is healthy. An OLTP database at 85% during business hours is in trouble. Classify the workload before interpreting the number.

Common causes

CauseWhat it looks likeFirst thing to check
Buffer pool undersized (max server memory too low or physical RAM insufficient)BCHR sustained below 95% on OLTP, PLE trending down, PAGEIOLATCH_SH dominant, I/O stall rising on data filessys.dm_os_process_memory and sys.dm_os_sys_memory; compare committed memory to max server memory
Cold start or recent restartBCHR low for minutes to hours after startup, climbing steadily, no user complaints yetUptime since last restart; PLE also low and climbing
Large sequential scan (DBCC CHECKDB, index rebuild, reporting query)BCHR dips during the operation, recovers after; PAGEIOLATCH_* may spike brieflyActive requests in sys.dm_exec_requests with high logical_reads; maintenance window schedule
Memory pressure spiral (bad plan with large memory grant, OS pressure, CLR leak)BCHR declining, PLE dropping rapidly, lazy writer pages/sec elevated, memory grants pending above zero, I/O stall climbingsys.dm_exec_query_memory_grants for a query hoarding a grant; sys.dm_os_sys_memory.system_memory_state_desc
TempDB skew (sort/hash spills, version store)BCHR lower than expected, TempDB I/O high, no clear user-database memory issuesys.dm_db_file_space_usage in TempDB context; RESOURCE_SEMAPHORE waits
Read-ahead masking real pressureBCHR above 95% but PLE low and PAGEIOLATCH_* waits elevatedPLE per NUMA node; PAGEIOLATCH_* wait time and ratio

The last row is the trap. Read-ahead keeps the cache populated with pages the scan is about to consume, so BCHR can stay high even when the buffer pool is churning violently. This is why BCHR alone is a weak signal and must be read with PLE.

Quick checks

Run these read-only checks before escalating. They take seconds and resolve most misdiagnoses.

-- 1. Current BCHR
SELECT
    (a.cntr_value * 1.0 / NULLIF(b.cntr_value, 0)) * 100.0 AS buffer_cache_hit_ratio
FROM sys.dm_os_performance_counters a
JOIN sys.dm_os_performance_counters b
    ON a.object_name = b.object_name
   AND ISNULL(a.instance_name, '') = ISNULL(b.instance_name, '')
WHERE a.counter_name = 'Buffer cache hit ratio'
  AND b.counter_name = 'Buffer cache hit ratio base';

-- 2. Page Life Expectancy (instance-wide and per NUMA node)
SELECT 'instance' AS scope, cntr_value AS ple_seconds
FROM sys.dm_os_performance_counters
WHERE counter_name = 'Page life expectancy'
  AND object_name LIKE '%Buffer Manager%'
UNION ALL
SELECT instance_name AS scope, cntr_value AS ple_seconds
FROM sys.dm_os_performance_counters
WHERE counter_name = 'Page life expectancy'
  AND object_name LIKE '%Buffer Node%';

-- 3. Top waits (exclude benign idle waits)
SELECT TOP 15
    wait_type,
    waiting_tasks_count,
    wait_time_ms,
    wait_time_ms - signal_wait_time_ms AS resource_wait_time_ms,
    CAST(100.0 * wait_time_ms / SUM(wait_time_ms) OVER() AS DECIMAL(5,2)) AS pct
FROM sys.dm_os_wait_stats
WHERE wait_type NOT IN (
    'SLEEP_TASK', 'BROKER_TO_FLUSH', 'BROKER_TASK_STOP',
    'CLR_AUTO_EVENT', 'CLR_MANUAL_EVENT', 'LAZYWRITER_SLEEP',
    'SQLTRACE_BUFFER_FLUSH', 'WAITFOR', 'XE_TIMER_EVENT',
    'XE_DISPATCHER_WAIT', 'FT_IFTS_SCHEDULER_IDLE_WAIT',
    'BROKER_EVENTHANDLER', 'SP_SERVER_DIAGNOSTICS_SLEEP',
    'HADR_FILESTREAM_IOMGR_IOCOMPLETION', 'DIRTY_PAGE_POLL',
    'DISPATCHER_QUEUE_SEMAPHORE', 'QDS_PERSIST_TASK_MAIN_LOOP_SLEEP',
    'QDS_ASYNC_QUEUE', 'CHECKPOINT_QUEUE', 'REQUEST_FOR_DEADLOCK_SEARCH',
    'LOGMGR_QUEUE', 'ONDEMAND_TASK_QUEUE', 'HADR_WORK_QUEUE',
    'BROKER_TRANSMITTER', 'KSOURCE_WAKEUP'
)
AND waiting_tasks_count > 0
ORDER BY wait_time_ms DESC;

-- 4. OS memory state
SELECT
    total_physical_memory_kb / 1024 AS total_physical_mb,
    available_physical_memory_kb / 1024 AS available_physical_mb,
    system_memory_state_desc
FROM sys.dm_os_sys_memory;

-- 5. SQL Server process memory and pressure flag
SELECT
    physical_memory_in_use_kb / 1024 AS sql_physical_mb,
    process_physical_memory_low,
    process_virtual_memory_low
FROM sys.dm_os_process_memory;

-- 6. Memory grants pending (should be zero)
SELECT cntr_value AS memory_grants_pending
FROM sys.dm_os_performance_counters
WHERE counter_name = 'Memory Grants Pending'
  AND object_name LIKE '%Memory Manager%';

-- 7. I/O stall per file (focus on data files for read latency)
SELECT TOP 20
    DB_NAME(vfs.database_id) AS database_name,
    mf.name AS file_name,
    mf.type_desc,
    vfs.io_stall_read_ms,
    vfs.num_of_reads,
    CASE WHEN vfs.num_of_reads > 0
         THEN vfs.io_stall_read_ms * 1.0 / vfs.num_of_reads
         ELSE 0 END AS avg_read_latency_ms
FROM sys.dm_io_virtual_file_stats(NULL, NULL) vfs
JOIN sys.master_files mf
    ON vfs.database_id = mf.database_id AND vfs.file_id = mf.file_id
ORDER BY vfs.io_stall_read_ms DESC;

For TempDB space consumers, run the following in a TempDB-connected session:

-- 8. TempDB space consumers (run in TempDB context)
USE tempdb;
SELECT
    SUM(user_object_reserved_page_count) * 8 / 1024 AS user_objects_mb,
    SUM(internal_object_reserved_page_count) * 8 / 1024 AS internal_objects_mb,
    SUM(version_store_reserved_page_count) * 8 / 1024 AS version_store_mb,
    SUM(unallocated_extent_page_count) * 8 / 1024 AS free_space_mb
FROM tempdb.sys.dm_db_file_space_usage;

These checks tell you whether the low BCHR is a memory problem, a storage problem, a workload problem, or a non-problem.

How to diagnose it

  1. Confirm the workload type. Is this OLTP or a data warehouse / reporting workload? If the latter and BCHR is 80-95% during scan-heavy windows, it is likely not an incident. Check whether the drop correlates with a known reporting job or maintenance window.

  2. Rule out cold start. If the instance restarted recently, BCHR and PLE will both be low and climbing. Check SQL Server uptime. If the trend is upward and there are no user complaints, wait for warmup before acting.

  3. Read BCHR alongside PLE. This is the single most important step. PLE tells you how long pages survive in the buffer pool before eviction. A reasonable community heuristic (not Microsoft-specified) is that PLE should be at least (buffer_pool_size_GB / 4) * 300 seconds. The old “PLE below 300” rule is calibrated for 32-bit systems with roughly 4GB and is misleading on modern hardware.

    • BCHR low and PLE low and dropping: buffer pool memory pressure. Move to step 4.
    • BCHR low and PLE stable: likely a scan-heavy workload or storage latency issue, not memory pressure. Check I/O stall and the active query profile.
    • BCHR high and PLE low: read-ahead is masking churn. The buffer pool is cycling pages fast even though hits are being served. This is the classic “100% BCHR with PLE of 103 seconds” trap. Treat it as memory pressure.
  4. Check per-NUMA-node PLE. On NUMA systems, the instance-wide PLE is an average across nodes, not a minimum. One node can be starved while the aggregate looks healthy. Query Buffer Node(NNN)\Page life expectancy for each node. If nodes are imbalanced, you have a foreign-memory-access problem or a workload skew problem, not a simple memory shortage.

  5. Check wait statistics for PAGEIOLATCH_*. PAGEIOLATCH_SH and PAGEIOLATCH_EX are the waits that directly reflect physical page reads. If they are dominant (more than 30-40% of total waits) and rising, the buffer pool is not absorbing reads. This confirms the low BCHR is real pressure, not a sampling artifact.

  6. Check I/O stall on data files. Use sys.dm_io_virtual_file_stats deltas. If read latency is above 20ms sustained on data files, the storage subsystem is struggling to keep up with the physical read rate the buffer pool is generating. This is the second-order effect of memory pressure, but it can also be the root cause: slow storage makes the buffer pool look undersized.

  7. Check for a single query hoarding a memory grant. A bad plan with an overestimated sort or hash can grab a large memory grant, shrinking the buffer pool and triggering the spiral. Query sys.dm_exec_query_memory_grants ordered by granted_memory_kb or wait_time_ms.

  8. Check OS-level memory pressure. system_memory_state_desc showing anything other than “Available physical memory is high”, or process_physical_memory_low = 1, means the OS is pressuring SQL Server. Check for co-located processes, VM balloon drivers, or max server memory set too high and starving the OS.

flowchart TD
    A[Low BCHR reported] --> B{Workload type?}
    B -- Data warehouse / scan --> C[Check window and maintenance schedule]
    B -- OLTP --> D{Recently restarted?}
    D -- Yes --> E[Wait for warmup, trend upward]
    D -- No --> F{Read PLE}
    F -- PLE low and dropping --> G[Memory pressure: grants, OS, max memory]
    F -- PLE stable --> H[Scan or storage: I/O stall and active queries]
    F -- PLE low but BCHR high --> I[Read-ahead masking: treat as memory pressure]
    G --> J[Correlate with PAGEIOLATCH waits and I/O stall]
    H --> J
    I --> J
    J --> K[Confirm root cause before acting]

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Buffer cache hit ratioFraction of page requests served from memorySustained below 95% on OLTP, or below 90% with elevated waits
Page Life Expectancy (instance)How long pages survive before evictionSudden 50%+ drop from baseline; sustained below the (GB/4)*300 heuristic
Page Life Expectancy (per NUMA node)Catches single-node starvation hidden by the averageOne node significantly lower than others
PAGEIOLATCH_SH / PAGEIOLATCH_EX waitsDirect reflection of physical page readsDominant wait type, above 30-40% of total waits
I/O stall read latency per data fileStorage latency as experienced by the engineSustained above 20ms on data files
Lazy writer pages/secEviction activity, normally near zero outside checkpointSustained nonzero during normal operations
Memory grants pendingQueries queued for workspace memoryAny sustained nonzero value
RESOURCE_SEMAPHORE waitAggregated memory grant wait timeAppearing in top waits
system_memory_state_descOS-level memory pressure flagValue other than “Available physical memory is high”
process_physical_memory_lowOS has notified SQL Server of pressureValue of 1
TempDB space (internal objects, version store)Sort/hash spills and RCSI versioning consume buffer pool indirectlyInternal objects or version store growing
Batch requests/secWorkload context for interpreting all of the aboveDeviation beyond 2x or 0.5x of baseline

Fixes

Buffer pool undersized

If max server memory is set too low relative to physical RAM and the workload, raise it. On a dedicated SQL Server host, max server memory should typically be set to roughly 75-85% of physical RAM, leaving the remainder for the OS and external components. The exact OS reservation depends on system size; available physical memory below 1-2GB on a dedicated host is concerning and risks working-set trimming. Ensure Lock Pages in Memory (LPIM) is granted on Windows to prevent the OS from paging SQL Server’s working set. Without LPIM, OS memory pressure can page out the working set, which is catastrophic for performance and largely invisible in SQL Server metrics.

If physical RAM is genuinely insufficient for the working set, adding memory is the only durable fix. Track database growth versus buffer pool size to estimate runway.

Memory pressure spiral (bad plan or grant hoarding)

If sys.dm_exec_query_memory_grants shows one query holding a large grant, kill the session after assessment. The rollback may take as long as the original transaction. Then identify the plan: use Query Store (SQL 2016+) to compare plans and force a known-good one, or clear the specific plan handle with DBCC FREEPROCCACHE(<plan_handle>), a variant available on all supported SQL Server versions (since SQL Server 2008). Long-term, address the cardinality estimation error through statistics updates, parameter sniffing fixes, or missing indexes.

OS-level or external memory pressure

Identify the competing process. Common culprits: antivirus scanning database files (exclude SQL directories, per Microsoft guidance), backup agents, co-located applications, and VM balloon drivers. If max server memory is set too high and the OS is under pressure, lower it. On Linux, check the OOM score for sqlservr and adjust mssql-conf settings to protect the process.

Scan-heavy workload on OLTP

If a reporting query or ad-hoc scan is evicting hot OLTP pages, isolate the workload. Options: Resource Governor (Enterprise edition), a readable AG secondary for reporting, off-peak scheduling, or query and index tuning to reduce the scan footprint. A covering index that turns a table scan into an index seek can eliminate the eviction pressure entirely.

TempDB-driven skew

If TempDB internal objects (sort/hash spills) or version store are pulling BCHR down, address the root cause: fix memory grants so queries do not spill, shorten long-running transactions under RCSI so the version store does not grow, and configure TempDB file count appropriately. Microsoft’s current guidance for SQL Server 2019/2022 is one data file per logical processor up to 8 (SQL Server Setup adds as many files as logical processors or eight, whichever is lower), then add files in multiples of 4 if PAGELATCH contention persists.

Storage latency

If PLE is stable but I/O stall is high, the storage subsystem is the bottleneck, not memory. Adding memory will not help. Check for SAN latency, disk failure, RAID rebuild, VM storage throttling (IOPS or throughput caps on cloud disks), or misplaced files with log and data on the same spindle.

Prevention

  • Trend BCHR and PLE together. A single sample of either is noise. Track both as time series with at least per-minute granularity. Watch for sustained trends, not single dips.
  • Establish a workload-type-aware baseline. Do not apply OLTP thresholds to a data warehouse. Classify each database and set thresholds accordingly.
  • Pre-size database and log files. Auto-growth events pause I/O to the affected file. Log file auto-growth is especially expensive because Instant File Initialization does not apply to log files.
  • Monitor max server memory against physical RAM. Re-evaluate after hardware changes, OS updates, or adding co-located services.
  • Track memory grants pending proactively. It should be zero. Any sustained nonzero value is a leading indicator of the spiral.
  • Schedule maintenance windows with monitoring awareness. DBCC CHECKDB, index rebuilds, and statistics updates legitimately drive BCHR down and PAGEIOLATCH up. Suppress or de-prioritize alerts during these windows rather than disabling monitoring.
  • Watch per-NUMA-node PLE on multi-NUMA systems. The instance-wide average hides single-node starvation.

How Netdata helps

  • Per-second BCHR and PLE collection catches the difference between a single dip and a sustained decline, which is exactly the distinction that prevents both over- and under-reaction.
  • Correlated memory pressure view. Netdata surfaces BCHR, PLE (instance and per NUMA node where available), PAGEIOLATCH_* waits, lazy writer pages/sec, and memory grants pending in the same time window, so you can confirm whether a low BCHR is real pressure or a sampling artifact without bouncing between DMV queries.
  • Wait statistics as a time series. Snapshotting sys.dm_os_wait_stats deltas at per-second granularity turns the cumulative DMV into a current-behavior signal, which is how wait stats are meant to be used.
  • I/O stall per file alongside BCHR. When BCHR drops, seeing read latency on data files in the same view tells you immediately whether you have a memory problem, a storage problem, or both.
  • ML anomaly detection on workload baselines. Batch requests/sec, transactions/sec, and BCHR all have time-of-day and day-of-week patterns. Anomaly detection flags deviations from the baseline rather than relying on fixed thresholds that do not fit both OLTP and data warehouse workloads.

Netdata’s Microsoft SQL Server monitoring brings these signals together with per-second metrics and ML anomaly detection.

The Netdata solution

Microsoft SQL Server monitoring with Netdata

Netdata monitors SQL Server with per-second metrics, pre-built dashboards, and ML-powered anomaly detection. Correlate wait statistics, blocking chains, transaction-log and TempDB pressure, Page Life Expectancy, memory grants, per-file I/O stalls, and AlwaysOn send/redo queues against the rest of your stack so you catch the incidents in these runbooks before they page anyone.