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-database-suspect-recovery-pending

Operations Guides

SQL Server database in SUSPECT or RECOVERY_PENDING: an offline database and how to recover it

A production database is showing state_desc = SUSPECT or RECOVERY_PENDING in sys.databases. Applications cannot open connections to that database. Users are seeing login failures, query timeouts, or generic “database cannot be opened” errors. The SQL Server instance itself is up, and every other database on it may be fine.

RECOVERY_PENDING rarely means corruption. It usually means SQL Server could not get the resources it needed during recovery: a missing file, a full log volume, a permissions change, or a transient I/O failure at startup. SUSPECT is more serious because recovery actually ran and failed, but it still does not automatically mean data loss. The wrong move is to jump straight to DBCC CHECKDB with REPAIR_ALLOW_DATA_LOSS. The right move is to fix the underlying resource, re-run recovery, and only fall back to repair or restore when that fails.

This article walks through the operator recovery path for SUSPECT, RECOVERY_PENDING, and EMERGENCY, with the gotchas that cost time during a real incident.

What this means

SQL Server exposes database state through sys.databases.state_desc. The three states that matter here are:

  • RECOVERY_PENDING - SQL Server encountered a resource-related error during recovery and could not process the transaction log. The database itself is not necessarily damaged. Files may be missing, the log volume may be full, or system-level resource limits may have prevented startup. Recovery has not run to completion.
  • SUSPECT - Recovery ran and failed. At least the primary filegroup is suspect and may be damaged. SQL Server cannot bring the database online. This is more serious than RECOVERY_PENDING because recovery attempted and could not finish, often pointing at I/O-level corruption.
  • EMERGENCY - A manually set state used for repair. The database becomes read-only, single-user, logging is disabled, and only sysadmin members can connect. You set this deliberately; it is not a state SQL Server enters on its own.

Do not confuse any of these with RECOVERING, which is the normal transient state every database passes through after a restart. Large databases legitimately sit in RECOVERING for minutes or longer, depending on size, VLF count, and workload. RECOVERING is automatic. RECOVERY_PENDING is stuck and requires user action.

One well-known gotcha: DATABASEPROPERTYEX(db, 'Status') returns 'SUSPECT' when the database is actually in RECOVERY_PENDING. This behavior has persisted across versions. Always use sys.databases.state_desc for the authoritative state, not DATABASEPROPERTYEX.

Common causes

CauseWhat it looks likeFirst thing to check
Disk full or log volume full at startupRECOVERY_PENDING immediately after restart, error log shows OS errors writing the logFree space on volumes hosting data and log files
Missing or inaccessible fileRECOVERY_PENDING or SUSPECT, error log shows “The system cannot find the file specified” or OS error 32 (file in use)File paths in sys.master_files exist and are reachable by the SQL Server service account
Storage-level corruptionSUSPECT, prior errors 823/824/825 in the log, rows in msdb.dbo.suspect_pagesError log for I/O errors, suspect_pages table
Service account permissions changeRECOVERY_PENDING after a service account rotation or GPO updateNTFS ACLs on the data and log directories
Antivirus or backup minifilter holding file handlesRECOVERY_PENDING after service restart, OS error 32 (“process cannot access the file because it is being used by another process”) from PID 4Filter Manager activity, AV exclusions, backup software windows
AG replica removal while offlineSUSPECT on AG databases instead of RESOLVING; fixed in SQL Server 2022 CU22 (KB5068450)SQL Server build number, AG history
VSS backup freezing I/O on AG secondaryRECOVERY_PENDING on AG secondary after a VSS backup, latch timeout on boot page (1:9), redo thread suspended; fixed in SQL Server 2019 CU12 (KB5004524)SQL Server build, error log around backup window

Quick checks

Run these read-only checks before changing anything. They tell you whether you have a recoverable resource problem or actual corruption.

-- 1. Authoritative state of every database
SELECT name, state_desc, user_access_desc, is_read_only, is_in_standby,
       recovery_model_desc, log_reuse_wait_desc
FROM sys.databases
WHERE state_desc <> 'ONLINE';

-- 2. Free space on volumes hosting database files
SELECT DISTINCT
    vs.volume_mount_point,
    vs.total_bytes / 1048576 AS total_mb,
    vs.available_bytes / 1048576 AS available_mb,
    CAST(vs.available_bytes * 100.0 / vs.total_bytes AS DECIMAL(5,2)) AS pct_free
FROM sys.master_files mf
CROSS APPLY sys.dm_os_volume_stats(mf.database_id, mf.file_id) vs
ORDER BY pct_free;

-- 3. Database file paths and types
SELECT DB_NAME(database_id) AS db_name, file_id, type_desc, name AS logical_name,
       physical_name, state_desc, size * 8 / 1024 AS size_mb
FROM sys.master_files
WHERE DB_NAME(database_id) IN (
    SELECT name FROM sys.databases WHERE state_desc <> 'ONLINE'
);

-- 4. Persistent I/O corruption record (survives restarts)
SELECT database_id, DB_NAME(database_id) AS db_name,
       file_id, page_id, event_type, error_count, last_update_date
FROM msdb.dbo.suspect_pages
WHERE event_type IN (1, 2, 3);  -- 1=823 or 824 other than bad checksum/torn page, 2=bad checksum (824), 3=torn page (824)

-- 5. Recent critical I/O errors in the SQL Server error log
EXEC sp_readerrorlog 0, 1, 'Error: 823';
EXEC sp_readerrorlog 0, 1, 'Error: 824';
EXEC sp_readerrorlog 0, 1, 'Error: 825';
EXEC sp_readerrorlog 0, 1, 'Error: 9002';

-- 6. SQL Server build (for known-bug exposure on AG setups)
SELECT SERVERPROPERTY('ProductVersion') AS build,
       SERVERPROPERTY('ProductLevel') AS product_level,
       SERVERPROPERTY('Edition') AS edition;

On Windows, also check the Application and System event logs around the last service restart for storage controller, NTFS, or Filter Manager events. On Linux, check journalctl and dmesg for SCSI or filesystem errors against the underlying devices.

How to diagnose it

flowchart TD
    A[sys.databases state_desc not ONLINE] --> B{RECOVERING?}
    B -- yes --> C[Wait. Large DBs take minutes.]
    B -- no --> D{RECOVERY_PENDING or SUSPECT?}
    D -- RECOVERY_PENDING --> E[Read error log for resource error]
    D -- SUSPECT --> F[Read error log for recovery failure]
    E --> G{Resource fixable?
disk, file, perms, AV} G -- yes --> H[Fix resource, then ALTER DATABASE SET ONLINE] G -- no --> I[Restore from backup] F --> J{Errors 823/824/825 or suspect_pages?} J -- yes --> I J -- no --> K[EMERGENCY + DBCC CHECKDB] H --> L[Back online] I --> L K --> M{Repair needed?} M -- no --> H M -- REPAIR_ALLOW_DATA_LOSS --> N[Last resort. Accept data loss.]
  1. Confirm the real state. Query sys.databases.state_desc rather than relying on DATABASEPROPERTYEX, tools, or what the application reported. RECOVERY_PENDING and SUSPECT have different recovery paths.
  2. Find the timestamp in the error log. Look for the recovery attempt that failed. The entries immediately before the failure usually name the file, the OS error code, or the page that could not be read.
  3. Check OS resources first. Disk space, file presence, and service account ACLs are the most common causes and the cheapest to fix. If a volume was full at startup and is now clear, recovery may succeed as soon as you bring the database online.
  4. Check for I/O corruption. Look for errors 823 (hard I/O error), 824 (logical consistency error), and 825 (read retry succeeded, the disk is failing) in the error log, and check msdb.dbo.suspect_pages for durable records. Any of these moves you toward restore, not in-place repair.
  5. Check the AG context. If the database is in an availability group, the recovery path changes. You cannot drop, restore, or run ALTER DATABASE SET HADR OFF against a database that is SUSPECT or RECOVERY_PENDING on the primary. You must fail over, remove the replica from the AG, then recover the database on the now-isolated instance.
  6. Check the build number against known bugs. SQL Server 2022 before CU22 has a bug where AG databases enter SUSPECT instead of RESOLVING when a replica is removed while offline. SQL Server 2019 before CU12 has a bug where VSS backups freeze I/O on AG secondaries, causing RECOVERY_PENDING after the backup window.
  7. Decide between fix-resource, restore, and repair. Fix the resource first. Restore from backup if there is corruption. Reserve EMERGENCY plus DBCC CHECKDB for the case where no good backup exists.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
sys.databases.state_descAuthoritative per-database stateAny production database not ONLINE
msdb.dbo.suspect_pagesDurable I/O corruption record that survives restartsAny new row since last check
SQL Server error log entriesDirect evidence of the recovery failure and root causeErrors 823, 824, 825, 9002, OS error 32, “recovery failed”
Free space on database file volumesMost common RECOVERY_PENDING triggerBelow 20%, or below the next configured autogrow increment
SQL Server build numberExposure to known AG-related bugsPre-CU12 on SQL 2019, pre-CU22 on SQL 2022 with AGs
AG replica synchronization healthCatches AG-specific RECOVERY_PENDING earlyNOT_HEALTHY or DISCONNECTED on a synchronous replica
Backup freshness in msdb.dbo.backupsetDecides whether restore is even an optionNo recent full or log backup for the affected database

Fixes

Fix the underlying resource first

For RECOVERY_PENDING caused by a missing file, full disk, locked file handle, or permissions change, fix the resource and bring the database back online. Do not enter EMERGENCY mode for a resource problem.

-- After freeing space, restoring the file path, or fixing ACLs:
ALTER DATABASE [YourDB] SET OFFLINE;
ALTER DATABASE [YourDB] SET ONLINE;

The OFFLINE to ONLINE cycle forces SQL Server to re-attempt recovery. If the original cause was transient (a temporarily unavailable L drive for transaction logs, an AV minifilter that released its handle, a brief disk-full condition), the database will recover normally. No DBCC CHECKDB, no repair, no data loss.

Restore from backup (preferred for SUSPECT with corruption)

If the error log shows 823, 824, or 825 errors, or suspect_pages has new rows for this database, restore is safer than repair. Repair with REPAIR_ALLOW_DATA_LOSS does what its name says. Restoring from a validated backup chain gives you a known-consistent database.

Make sure log backups have been running so you can recover to a point close to the failure. If RESTORE VERIFYONLY has never been run against these backups, do it now; a backup that cannot be restored is not a backup.

EMERGENCY plus DBCC CHECKDB (last resort)

If no good backup exists, the final diagnostic and recovery path is EMERGENCY mode plus DBCC CHECKDB. This is the very last resort, not the first.

-- Destructive path. Use only when restore is not available.
ALTER DATABASE [YourDB] SET EMERGENCY;
ALTER DATABASE [YourDB] SET SINGLE_USER;
DBCC CHECKDB ([YourDB]) WITH NO_INFOMSGS, ALL_ERRORMSGS;

CHECKDB will report whether repair is possible and what level of repair is required. Only if it tells you REPAIR_ALLOW_DATA_LOSS is needed should you consider running:

-- This WILL lose data. Last resort only.
DBCC CHECKDB ([YourDB], REPAIR_ALLOW_DATA_LOSS) WITH NO_INFOMSGS, ALL_ERRORMSGS;

Two constraints to remember. Rebuilding the log is not supported for databases that contain MEMORY_OPTIMIZED_DATA filegroups, so REPAIR_ALLOW_DATA_LOSS may not be available on those databases. And EMERGENCY-mode repair was designed as a recovery mechanism of last resort, not as routine maintenance.

AG-specific recovery

If the affected database is an AG primary in SUSPECT or RECOVERY_PENDING, you cannot drop, restore, or remove it from the AG in place. You must fail over to a healthy synchronous secondary, remove the damaged replica from the AG, and then recover the database on the isolated instance using one of the paths above.

If the issue is on an AG secondary and your build is below SQL Server 2019 CU12, apply the CU. The bug that leaves AG secondaries in RECOVERY_PENDING after VSS backups was fixed in SQL Server 2019 CU12 (KB5004524). If your build is SQL Server 2022 below CU22 and you are removing offline replicas, apply KB5068450 to stop databases entering SUSPECT instead of RESOLVING.

What not to do

  • Do not detach the database. sp_detach_db against a SUSPECT or RECOVERY_PENDING database fails with “Cannot detach a suspect or recovery pending database. It must be repaired or dropped.”
  • Do not restart the instance as a first response. A restart recycles the error log and loses the recovery context that tells you why recovery failed. It also does not fix a missing file or a full disk.
  • Do not jump to REPAIR_ALLOW_DATA_LOSS. Exhaust the resource fix and the restore path first. The repair option allocates pages, deallocates objects, and rebuilds the log as needed to make the database structurally consistent, which is not the same as making the data correct.
  • Do not run DBCC CHECKDB with repair in EMERGENCY mode without first capturing the current state of the error log, suspect_pages, and any msdb backup history. You will want that evidence for the post-incident review.

Prevention

  • Pre-size data and log files. Autogrow is expensive and log autogrow cannot use Instant File Initialization. A log volume that hits 100 percent at startup is one of the most common RECOVERY_PENDING triggers.
  • Monitor free space on every volume hosting database files. Treat below 20 percent as a ticket and below the next autogrow increment as a page.
  • Run DBCC CHECKDB on a weekly schedule for production databases. Many forms of corruption are only detected by CHECKDB, and finding corruption during a scheduled job is far better than finding it during a restart recovery.
  • Validate backups with restore tests. RESTORE VERIFYONLY is a minimum; actual restores on a non-production system are the gold standard. A SUSPECT database with no tested backup leaves you with REPAIR_ALLOW_DATA_LOSS as the only option.
  • Stay current on cumulative updates, especially on instances hosting availability groups. SQL Server 2019 CU12 and SQL Server 2022 CU22 both fix bugs that directly cause RECOVERY_PENDING and SUSPECT states in AG setups.
  • Review antivirus and backup minifilter behavior. SQL Server file directories should be excluded from AV scans, but minifilter drivers can still intercept IRPs regardless of exclusions. If RECOVERY_PENDING recurs after service restarts and the error log shows OS error 32 from PID 4, the Filter Manager is the prime suspect.
  • Monitor msdb.dbo.suspect_pages. Any new row is a warning. The table is durable across restarts and captures errors 823, 824, and torn page detection that may have been missed in the rolling error log.

How Netdata helps

  • Per-second polling of sys.databases.state_desc catches the transition into SUSPECT, RECOVERY_PENDING, or EMERGENCY as it happens, rather than waiting for an application team to report failed connections.
  • Disk space on the volumes hosting database files is tracked directly through sys.dm_os_volume_stats, so the most common RECOVERY_PENDING cause (a full log or data volume) is visible in the same window as the state change.
  • The SQL Server error log is the primary diagnostic source for recovery failures; search it with sp_readerrorlog for errors 823, 824, 825, and 9002 to correlate a SUSPECT transition with the underlying I/O failure that caused it.
  • For availability groups, replica state and synchronization health are tracked alongside database state, which is critical for diagnosing AG-related RECOVERY_PENDING on secondaries.
  • The SQL Server build number is inventoried, so you can see at a glance whether an instance is exposed to the known VSS or AG-removal bugs that cause these states.
  • Because metrics are retained at per-second granularity, the restart window and the moments before recovery failed can be replayed during the post-incident review without relying on the recycled error log.

See Microsoft SQL Server monitoring with Netdata for the full integration.

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.