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-tempdb-version-store-growth

Operations Guides

SQL Server TempDB version store growth: long transactions under RCSI and snapshot isolation

TempDB is filling and the version store is the consumer. You query tempdb.sys.dm_db_file_space_usage and version_store_reserved_page_count dominates the page budget, often after enabling Read Committed Snapshot Isolation (RCSI) or snapshot isolation, after turning a secondary replica into a readable one, or during an online index operation. Queries that depend on TempDB (sorts, hashes, temp tables, even row-versioned reads on secondaries) stall or fail when the volume runs out.

The mechanism is the same in every case. SQL Server writes old row versions into the version store in TempDB so readers see a consistent snapshot without taking shared locks. A background cleanup thread reclaims versions older than the oldest active transaction that could still need them. When a transaction stays open for minutes or hours, or is orphaned by a misbehaving application, cleanup cannot proceed past that transaction’s start time. Every version generated after that point accumulates until TempDB fills.

This guide covers RCSI, snapshot isolation, and AlwaysOn readable secondaries, and the fixes that work when you cannot simply kill the offender.

What this means

Under RCSI, snapshot isolation, AlwaysOn readable secondaries, and online index builds, SQL Server writes pre-image copies of modified rows into the TempDB version store. Readers consume those versions instead of acquiring shared locks on the current row.

The cleanup thread reclaims versions no longer referenced by any active transaction. The key constraint: the cleanup watermark is the oldest active transaction across the entire instance. If a single transaction stays open in any database, cleanup cannot reclaim versions generated after that transaction started. This is true even with Accelerated Database Recovery (ADR) enabled. ADR moves the persistent version store (PVS) into the user database for ADR-enabled databases, but it does not remove the cross-database cleanup constraint for the traditional version store that non-ADR databases still use.

One forgotten long-running transaction can balloon the version store until TempDB fills. Growth is linear in the modification rate, and cleanup is binary: it works or it does not.

flowchart TD
    A[Modifying transaction] --> B[Old row version written to TempDB version store]
    C[Snapshot reader] --> D[Reads pre-image version]
    B --> D
    E[Cleanup thread] -. reclaims versions older than oldest active txn .-> B
    F[Long-running or orphaned txn] -. holds back cleanup watermark .-> E
    F --> G[Version store grows unbounded]
    G --> H[TempDB fills]
    H --> I[Queries fail with 1105 or 3958]

Common causes

CauseWhat it looks likeFirst thing to check
Orphaned application transactionSession is sleeping in sys.dm_exec_sessions, no row in sys.dm_exec_requests, but present in sys.dm_tran_active_snapshot_database_transactionsJoin active snapshot DMV to sys.dm_exec_sessions; look at last_request_start_time
AlwaysOn readable secondary enabledVersion store is large on a secondary replica, no long transactions visible on primarysys.dm_hadr_database_replica_states on the secondary plus redo thread activity
Online index operationVersion store climbs during a large rebuild, drops when the build finishessys.dm_exec_requests filtered to command = 'ALTER INDEX'
ORM leaving transactions openSET IMPLICIT_TRANSACTIONS ON, or framework wrapping every batch in BEGIN TRAN without explicit commitsys.dm_tran_active_snapshot_database_transactions joined to program_name
Cross-database open transactionVersion store not clearing even though the database you care about looks quietsys.dm_tran_active_snapshot_database_transactions across all databases
ADR not actually enabledYou expected PVS to live in the user database but version_store_reserved_page_count is still high in TempDBsys.databases.is_accelerated_database_recovery_on

Quick checks

All queries below are read-only. Run the space-usage query in TempDB context.

-- Check version store share of TempDB
USE tempdb;
SELECT
    SUM(version_store_reserved_page_count) * 8 / 1024 AS version_store_mb,
    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(unallocated_extent_page_count) * 8 / 1024 AS free_space_mb
FROM tempdb.sys.dm_db_file_space_usage;
-- Per-database contribution to version store (SQL Server 2016 SP2 and later)
SELECT
    db_name,
    reserved_space_kb / 1024 AS reserved_mb
FROM sys.dm_tran_version_store_space_usage
ORDER BY reserved_space_kb DESC;
-- Find active snapshot / RCSI transactions holding back cleanup
SELECT
    ast.session_id,
    ast.transaction_id,
    ast.transaction_sequence_num,
    ast.is_snapshot,
    s.login_name,
    s.host_name,
    s.program_name,
    s.last_request_start_time,
    s.last_request_end_time,
    t.text AS most_recent_sql
FROM sys.dm_tran_active_snapshot_database_transactions ast
JOIN sys.dm_exec_sessions s ON ast.session_id = s.session_id
LEFT JOIN sys.dm_exec_connections c ON s.session_id = c.session_id
OUTER APPLY sys.dm_exec_sql_text(c.most_recent_sql_handle) t
ORDER BY ast.transaction_sequence_num;
-- Confirm whether ADR is enabled per database (SQL Server 2019+)
SELECT name, is_accelerated_database_recovery_on
FROM sys.databases
ORDER BY name;
-- PVS size when ADR is enabled (SQL Server 2019 and later)
SELECT
    DB_NAME(pvs.database_id) AS db_name,
    pvs.persistent_version_store_size_kb / 1024 AS pvs_mb
FROM sys.dm_tran_persistent_version_store_stats pvs
ORDER BY pvs.persistent_version_store_size_kb DESC;

How to diagnose it

  1. Confirm the version store is the consumer. Run the space-usage query in TempDB context. If version_store_reserved_page_count is more than half of allocated pages, version store is your problem.

  2. Identify the database contributing versions. Use sys.dm_tran_version_store_space_usage (available since SQL Server 2016 SP2). On older versions, the per-database breakdown is harder, but the active transactions DMV still points to the source.

  3. Find the transaction pinning the cleanup watermark. Query sys.dm_tran_active_snapshot_database_transactions. The is_snapshot column distinguishes snapshot isolation transactions from RCSI read transactions and from transactions that generate versions. A long-running transaction here is your culprit or one of them.

  4. Join to sys.dm_exec_sessions to see program_name, host_name, login_name, and last_request_start_time. A session whose last_request_end_time is null or far in the past, with no row in sys.dm_exec_requests, is a sleeping session holding an open transaction. This is the classic application bug.

  5. If the active snapshot DMV is empty but the version store is still large, suspect AlwaysOn readable secondaries. On a readable secondary, every reader query is implicitly mapped to snapshot isolation, and the redo thread itself can hold a transaction that pins cleanup. Run the DMV queries on the secondary, not the primary.

  6. Do not trust DBCC OPENTRAN alone for RCSI workloads. It may not surface the relevant transaction. The DMV is the authoritative source.

  7. If you recently enabled ADR, verify it is actually on for the database. ADR is per database and only moves version storage to the user database for that database. Other databases still use the TempDB version store.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
version_store_reserved_page_count (tempdb.sys.dm_db_file_space_usage)Direct measure of version store size in TempDBSustained growth, or single reading above 50% of TempDB
sys.dm_tran_version_store_space_usage per databaseTells you which database is generating versionsOne database dominates unexpectedly
sys.dm_tran_active_snapshot_database_transactions row countNumber of transactions that can pin cleanupSustained rows, or a row with a very old transaction_sequence_num
Free space on TempDB volumeCliff-edge failure when exhaustedTrending toward zero
TempDB autogrow events (default trace)Each growth pauses I/O to the fileRepeated events
sys.dm_tran_persistent_version_store_stats (SQL Server 2019+)PVS size for ADR-enabled databasesGrowing without bound
AG secondary redo queue and redo rateSource of version store pressure on readable secondariesRedo queue growing

Fixes

Identify and end the offending transaction

If sys.dm_tran_active_snapshot_database_transactions shows a single transaction with an old transaction_sequence_num and the session is sleeping (no row in sys.dm_exec_requests), the fix is KILL <session_id>.

WARNING: KILL triggers rollback, which can take as long as the transaction ran. Coordinate with the application owner before killing production sessions.

If the transaction is on a readable secondary replica and is being held by the redo thread itself, address what is blocking redo. Usually that is a long-running read query on the secondary that took a conflicting schema stability lock. You may need to kill the reader, not the redo thread.

Address the application bug

The deeper fix is to make the application commit or roll back promptly. Common patterns that cause orphaned transactions:

  • ORMs that wrap every operation in BEGIN TRAN and rely on connection close to roll back. Under connection pooling, the connection does not close, so the transaction stays open.
  • Code paths that throw between BEGIN TRAN and COMMIT without an exception handler that rolls back.
  • SET IMPLICIT_TRANSACTIONS ON at the session level combined with a query that does not explicitly commit.
  • Monitoring agents or ETL jobs that hold a transaction across a long sleep or wait.

AlwaysOn readable secondary specifics

When a secondary is configured as readable, SQL Server silently maps all read queries to snapshot isolation. This generates versions in the secondary’s TempDB even if RCSI is not enabled on the primary. The redo thread itself holds a transaction that pins version cleanup while it processes. Practical mitigations:

  • Cap read workload concurrency on the secondary.
  • Watch the redo queue. If redo cannot keep up, version store pressure compounds.
  • Be aware of the 14-byte row overhead on the primary database when readable secondaries are configured. Disk-based tables gain a version pointer that can cause page splits on hot tables.

ADR and PVS

SQL Server 2019 introduced Accelerated Database Recovery, which stores versions in a persistent version store (PVS) inside the user database instead of TempDB. ADR does not eliminate the cross-database cleanup constraint for the traditional version store. Databases without ADR still use TempDB. ADR is per-database, not instance-wide.

SQL Server 2022 added multi-threaded PVS cleanup and transaction-level cleanup that separates committed versions from aborted ones. sys.dm_tran_persistent_version_store_stats, available since SQL Server 2019, reports PVS size for monitoring.

SQL Server 2025 allows ADR to be enabled on TempDB itself, giving tempdb transactions the same instantaneous rollback and aggressive log truncation benefits as user databases. Enabling or disabling requires an instance restart.

Manual PVS cleanup is available via sys.sp_persistent_version_cleanup (SQL Server 2019 and later) for ADR-enabled databases during maintenance windows.

Add TempDB space as emergency relief

Adding a TempDB data file on a different volume buys time but does not fix the underlying cause. Do this only when TempDB is about to fill and the culprit cannot be addressed immediately. Pre-grow TempDB correctly afterward.

Prevention

  • Alert on version store share of TempDB. Alert when version_store_reserved_page_count exceeds roughly 50% of TempDB size sustained. The 50% threshold is a widely-used heuristic. Calibrate to your TempDB size and modification rate.
  • Capture active snapshot transactions periodically. Sample sys.dm_tran_active_snapshot_database_transactions every 30 to 60 seconds and alert on any transaction older than a threshold your workload defines.
  • Audit application transaction duration before enabling RCSI. RCSI does not cause long transactions, but it makes their cost visible in TempDB.
  • Plan TempDB on readable secondaries separately. Secondary replica TempDB pressure is independent of primary capacity planning.
  • Monitor PVS size when ADR is enabled. Use sys.dm_tran_persistent_version_store_stats and verify cleanup is keeping up.
  • Treat long transactions under RCSI like long transactions preventing log truncation. Both are single points of failure for shared cleanup machinery.

How Netdata helps

  • Per-second collection of TempDB space utilization, broken into user objects, internal objects, and version store, lets you see the version store climbing before it fills the volume.
  • Correlating version store growth with active transactions and wait statistics shortens the path from “TempDB is growing” to “this session is the culprit”.
  • On readable secondaries, combining version store metrics with AG redo queue size and redo rate shows whether redo pressure is the source.
  • Anomaly detection on version_store_reserved_page_count flags growth that deviates from baseline before crossing an absolute threshold.
  • Tracking TempDB autogrow events alongside version store size distinguishes a sudden growth event from a gradual accumulation.

Netdata’s Microsoft SQL Server monitoring with Netdata 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.