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-full

Operations Guides

SQL Server TempDB full: the shared scratch database that halts every query

Applications start failing with error 1105 (“could not allocate space for object in database ’tempdb’ because the ‘PRIMARY’ filegroup is full”) or error 3958, and the failures are not limited to one database. Every query on the instance that needs a temp table, a sort or hash spill, a worktable, or a row version touches TempDB. When TempDB cannot allocate space, all of them fail at once.

This is an instance-wide outage with a single shared point of failure, and it usually has one dominant consumer. The diagnostic job is short: identify which of the three consumer categories filled TempDB, find the sessions responsible, relieve the space pressure, then fix the root cause so it does not recur tomorrow.

Restarting SQL Server makes the symptom disappear because TempDB is recreated empty on every startup. It also destroys the evidence, interrupts every database on the instance, and the workload that filled TempDB the first time will usually fill it again. Treat restart as a last resort, not a fix.

What this means

TempDB is a system database shared by every database and every session on the instance. Space inside it splits into three consumer categories, and the split tells you where to look next:

  • User objects: temp tables and table variables created by application code and sessions.
  • Internal objects: sort and hash spills, worktables, spools. Large internal object consumption almost always means queries are spilling because their memory grants were underestimated (cardinality estimation errors, bad plans).
  • Version store: row versions maintained for Read Committed Snapshot Isolation (RCSI), snapshot isolation, AlwaysOn readable secondaries, and online index operations. A growing version store almost always means one or more long-running transactions are pinning versions that cannot be cleaned up.

Two distinct failure modes share the same symptom of “TempDB problems” and should not be confused:

  • Space exhaustion: TempDB files cannot grow (disk full, max size reached, autogrow disabled) and queries fail with error 1105 or 3958. This is what this article covers.
  • Allocation contention: PAGELATCH waits on allocation pages (PFS, GAM, SGAM) in database ID 2 throttle throughput without any error message. That is a file-count and concurrency problem, not a space problem.

Common causes

CauseWhat it looks likeFirst thing to check
Long-running transaction under RCSI/snapshotVersion store grows steadily, sometimes for hours, then TempDB fillsVersion store size in sys.dm_db_file_space_usage; oldest active transaction
Sort/hash spills from bad memory grantsInternal objects balloon quickly during specific queries; may correlate with a plan regression or ETL windowInternal objects in sys.dm_db_file_space_usage; memory grants and RESOURCE_SEMAPHORE waits
Temp table abuse in application codeUser objects dominate; often a report, job, or ORM-generated batchUser objects in sys.dm_db_file_space_usage; sys.dm_db_session_space_usage
AG readable secondary version storeVersion store grows on the secondary even with little local user workload; blocked by oldest transaction on the primaryVersion store on the secondary; long transactions on the primary
Undersized files or no disk headroomFree space low but no single consumer dominates; files hit max size or volume is fullsys.dm_os_volume_stats for the TempDB volume; file autogrow/max size settings
Insufficient file count with heavy concurrencyPAGELATCH waits on pages in database ID 2, throughput collapses before space runs outsys.dm_os_waiting_tasks with resource_description LIKE '2:%'

Quick checks

All of these are read-only. The most important one first.

-- 1. Who owns the space? MUST run in the TempDB context;
-- sys.dm_db_file_space_usage is database-scoped.
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;
-- 2. Which sessions are consuming TempDB?
SELECT TOP 20
    session_id,
    (user_objects_alloc_page_count - user_objects_dealloc_page_count) * 8 / 1024 AS user_obj_mb,
    (internal_objects_alloc_page_count - internal_objects_dealloc_page_count) * 8 / 1024 AS internal_obj_mb
FROM sys.dm_db_session_space_usage
ORDER BY internal_obj_mb + user_obj_mb DESC;
-- 3. Is the TempDB volume itself out of room?
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
WHERE mf.database_id = 2;
-- 4. Have the TempDB files hit a configured ceiling?
-- max_size = -1 means unlimited; 0 with growth disabled means fixed.
SELECT name, size * 8 / 1024 AS current_mb,
       max_size, growth, is_percent_growth
FROM sys.database_files;
-- Run in TempDB context (USE tempdb) to see TempDB's own files.
-- 5. Confirm error 1105 / version store failures in the error log:
EXEC sp_readerrorlog 0, 1, 'Error: 1105';
-- 6. Is this actually allocation contention rather than space?
SELECT session_id, wait_type, wait_duration_ms, resource_description
FROM sys.dm_os_waiting_tasks
WHERE wait_type LIKE 'PAGELATCH_%'
  AND resource_description LIKE '2:%';  -- database_id 2 = tempdb

How to diagnose it

  1. Run the space breakdown query (check 1) in the TempDB context. This is the fork in the road. The dominant column determines everything else. Forgetting USE tempdb is the most common mistake here; run against the wrong database and the numbers will mislead you.

  2. Branch on the dominant consumer:

    • Version store is large: hunt long-running transactions. Find open transactions and their age, and identify which sessions hold them. On an AlwaysOn readable secondary, remember that readable secondaries generate version store rows locally, and cleanup on the secondary is gated by the oldest open transaction on the primary. The culprit may not be on the instance you are looking at.
    • Internal objects are large: queries are spilling. Correlate with memory grants: check sys.dm_exec_query_memory_grants for queries with large requested or granted memory, and check wait stats for RESOURCE_SEMAPHORE. Spills follow cardinality estimation errors and bad plans. If this started suddenly, look for a recent plan change or statistics update.
    • User objects are large: use sys.dm_db_session_space_usage (check 2) to rank sessions by net allocation, then inspect what those sessions are running. The usual suspects are reporting queries materializing huge temp tables, ETL staging, or application code building temp tables in loops.
    • No category dominates but free space is near zero: TempDB is simply undersized for the workload, the volume is out of room (check 3), or the files hit a max size ceiling (check 4).
  3. Identify the responsible sessions and what they are executing before killing anything. Join the top consumers from sys.dm_db_session_space_usage to sys.dm_exec_requests and sys.dm_exec_sql_text to see the actual query text.

  4. Decide: relieve, kill, or grow. If a single session or transaction is the cause and it is safe to terminate, killing it frees the space (after rollback completes). If the consumption is legitimate workload, the relief is more space: grow files, add a file on a volume with headroom, or free the volume.

flowchart TD
    A[Error 1105 / 3958
queries failing instance-wide] --> B[dm_db_file_space_usage
in tempdb context] B --> C{Which consumer
dominates?} C -->|Version store| D[Long-running transaction
RCSI / snapshot / AG secondary] C -->|Internal objects| E[Sort/hash spills
bad memory grants / bad plan] C -->|User objects| F[Temp tables / table variables
find session via dm_db_session_space_usage] C -->|None, free near zero| G[Undersized files / disk full
check volume + max_size] D --> H[Kill or wait out transaction
then grow headroom] E --> I[Fix plan / memory grant
then review spill volume] F --> J[Fix code or kill session
then right-size TempDB] G --> K[Grow files / add file
free volume space]

Metrics and signals to monitor

SignalWhy it mattersWarning sign
TempDB free spaceCliff-edge resource: works until it does not, then queries fail immediatelyBelow 20%: investigate. Below 10%: urgent. Below 5% and still falling: page
Version store reserved MBLeading indicator for the slow-burn version store fillAbove 50% of TempDB, or steady growth over hours
Internal objects reserved MBProxy for spill volume from memory grant problemsRapid growth correlated with specific queries or jobs
User objects reserved MBProxy for temp table consumptionGrowth that tracks a specific application or session
TempDB autogrow eventsMeans TempDB was not pre-sized; each event pauses I/O on that file while new space initializesAny event during business hours
PAGELATCH waits on database ID 2Allocation contention, a different failure mode than spaceAbove 5% of total waits
Volume free space on TempDB driveThe outer bound on autogrowFree space less than the next growth increment plus margin
Memory grants pending / RESOURCE_SEMAPHORE waitsQueries queuing for grants spill to TempDB when they proceed with too littleAny sustained nonzero value

Fixes

Relieve space immediately

  • Kill the offending session or transaction when one session is clearly responsible and the business cost of killing it is lower than the ongoing outage. Warn: rollback can take as long as the original work took, so space may not come back instantly. Confirm what the session is doing before you kill it.
  • Grow the TempDB data files if the volume has headroom. Manual growth is preferable to relying on autogrow, which pauses I/O while the new space is initialized.
  • Add a TempDB data file on a different volume with free space if the current volume is exhausted. This is a valid emergency relief move when you cannot free the existing volume quickly.
  • Free the volume if other files (backups, exports) are sharing the TempDB drive. Backups written to the same volume as database files is a classic misconfiguration.

Fix the root cause by consumer type

  • Version store: find and end the long-running transaction. On readable secondaries, look at the primary: the secondary’s version store cannot clean up versions still needed by the oldest transaction upstream. Long term, enforce transaction duration limits in application code and alert on old open transactions before they become TempDB incidents.
  • Internal objects (spills): fix the plan. Update statistics, address the cardinality estimation error, force a known-good plan, or optimize the query. Right-sizing memory grants reduces spill volume directly. This class of problem recurs until the plan is fixed; adding disk only buys time.
  • User objects: fix the code. Batch large temp table operations, replace repeated temp table creation with table variables or direct set operations where appropriate, and review reports and ETL that materialize large intermediate results.

Configuration fixes

  • File count: Microsoft’s guidance is one TempDB data file per logical CPU up to 8, then add in multiples of 4 if allocation contention persists. This addresses PAGELATCH contention, not space, but undersized file count and space pressure often coexist on busy instances. Keep all data files the same size so round-robin allocation stays balanced.
  • Pre-size files to the workload’s steady-state need. TempDB is recreated at its configured initial size on every restart, so an undersized initial size guarantees a burst of autogrow stalls after each restart.
  • max size and autogrow: a max size ceiling or disabled autogrow turns “TempDB grows” into “error 1105” even when the disk has free space. If you cap growth, alert well below the cap. A ceiling without monitoring is a scheduled outage.

What about restarting?

A restart recreates TempDB empty and will clear the immediate failure. It also closes every connection, cold-starts the buffer pool for every database, discards the DMV evidence you need to find the root cause, and resets the clock on a workload that will likely refill it. Use it only when you cannot relieve space any other way, and capture the diagnostic queries above first.

Prevention

  • Monitor TempDB space by category continuously, not just total free space. The three-way breakdown (user, internal, version store) is what turns a 3 a.m. page into a five-minute diagnosis.
  • Alert on trend, not just threshold. Free space below 20% is investigation territory; below 10% is urgent. But version store growing steadily for hours is a warning long before either threshold trips.
  • Alert on autogrow events. If TempDB grows during normal operations, it was not pre-sized, and every growth event stalled I/O while it happened.
  • Alert on long-running transactions proportional to your TempDB headroom, especially on instances using RCSI, snapshot isolation, or readable secondaries.
  • Pre-size and right-count the files: equal-sized files, one per logical CPU up to 8, sized for steady-state workload, on a volume with clear headroom and nothing else competing for it.
  • Track memory grant health (grants pending, RESOURCE_SEMAPHORE waits) so spill-driven TempDB growth shows up as a memory problem before it shows up as a space problem.

How Netdata helps

  • Netdata collects SQL Server performance counters and wait statistics per second, so TempDB autogrow stalls, PAGELATCH contention, and RESOURCE_SEMAPHORE waits are visible as they develop rather than after queries start failing.
  • Tracking TempDB space by consumer category over time separates the slow version-store burn (hours, one bad transaction) from the fast spill-driven fill (minutes, one bad plan), which is the distinction that decides your first response.
  • Correlating TempDB growth with memory grants pending and wait stats on the same timeline confirms or rules out spill-driven fills without querying DMVs by hand during the incident.
  • Anomaly detection on version store size and free space catches the slow drift patterns that fixed thresholds miss until it is too late.
  • 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.