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 / mysql / mysql-temp-tables-on-disk

Operations Guides

MySQL Created_tmp_disk_tables: temp tables spilling to disk

Queries that GROUP BY, ORDER BY, DISTINCT, or materialize derived results build internal temporary tables. When those tables exceed memory limits, MySQL spills them to disk. The status counter Created_tmp_disk_tables tracks this, and its ratio to Created_tmp_tables is the signal to watch during a latency incident.

A low ratio is normal. A high ratio means queries pay a random-disk penalty for intermediate results. You see that as rising query latency, increased disk I/O on the data directory, and connection pile-up. This guide covers how to read the ratio, find the offending patterns, and fix them without just adding RAM.

What this means

MySQL exposes two cumulative counters:

  • Created_tmp_tables - every internal temporary table created.
  • Created_tmp_disk_tables - those that spilled to disk.

The ratio to monitor is:

Created_tmp_disk_tables / Created_tmp_tables

Operational thresholds:

  • < 10% - usually acceptable.
  • > 25% - investigate. Queries are spilling frequently enough to hurt latency.
  • > 50% - critical. Disk temp tables are the dominant path.

The memory limit that governs spill depends on the in-memory temp table engine:

  • MEMORY engine - default in MySQL 5.7, or when internal_tmp_mem_storage_engine = MEMORY. Spill happens when the table exceeds MIN(tmp_table_size, max_heap_table_size). Changing only one variable is ineffective; the smaller value wins.
  • TempTable engine - default in MySQL 8.0+. It stores VARCHAR/VARBINARY in memory and, as of MySQL 8.0.13, BLOB/TEXT too; before 8.0.13, or with the MEMORY engine, BLOB/TEXT columns force on-disk storage. temptable_max_ram sets a global budget shared across all sessions (not per-query): when the total RAM used by TempTable reaches it, the engine spills to memory-mapped files or on-disk InnoDB temp tables.

On-disk internal temp tables use InnoDB and land in the session temporary tablespace (ibtmp1). tmpdir is only used for TempTable memory-mapped overflow or for external sort files. A full tmpdir is a separate failure mode from a high Created_tmp_disk_tables ratio; monitor both.

flowchart TD
    A[High disk temp ratio] --> B{BLOB/TEXT in GROUP BY?}
    B -->|Yes| C[On disk with MEMORY engine or pre-8.0.13: rewrite query]
    B -->|No| D{Sort_merge_passes rising?}
    D -->|Yes| E[Filesort spill: add ORDER BY index]
    D -->|No| F{tmp_table_size / max_heap too low?}
    F -->|Yes| G[Raise memory limits]
    F -->|No| H[Capture query plans and optimize]

Common causes

CauseWhat it looks likeFirst thing to check
GROUP BY / DISTINCT on BLOB/TEXT columnsRatio jumps with a specific query digest; these columns force on-disk temp tables with the MEMORY engine or before MySQL 8.0.13Query text for BLOB/TEXT in grouping or select list
Large ORDER BY / filesortSort_merge_passes rising; EXPLAIN shows “Using filesort”EXPLAIN for queries with high SUM_CREATED_TMP_DISK_TABLES
Undersized tmp_table_size / max_heap_table_sizeHigh ratio across many small queries; tables just above the memory limitSHOW VARIABLES for the lower of the two settings
Unindexed joins or subquery materializationSelect_full_join nonzero; large intermediate result setsEXPLAIN for “Using temporary” on joins or derived tables

Quick checks

Run these safe, read-only checks to characterize the spill.

-- Ratio and memory settings
SHOW GLOBAL STATUS WHERE Variable_name IN ('Created_tmp_tables', 'Created_tmp_disk_tables');
SHOW GLOBAL VARIABLES WHERE Variable_name IN ('tmp_table_size', 'max_heap_table_size', 'internal_tmp_mem_storage_engine');
SHOW GLOBAL VARIABLES LIKE 'temptable_max_ram';
-- Related plan-quality signals
SHOW GLOBAL STATUS WHERE Variable_name IN ('Sort_merge_passes', 'Select_full_join', 'Select_scan');
-- Worst offending digests (MySQL 8.0+)
SELECT DIGEST_TEXT,
       COUNT_STAR AS exec_count,
       SUM_CREATED_TMP_TABLES,
       SUM_CREATED_TMP_DISK_TABLES,
       ROUND(AVG_TIMER_WAIT / 1000000000, 2) AS avg_latency_ms
FROM performance_schema.events_statements_summary_by_digest
WHERE SUM_CREATED_TMP_DISK_TABLES > 0
ORDER BY SUM_CREATED_TMP_DISK_TABLES DESC
LIMIT 10;
# ibtmp1 growth and tmpdir usage
ls -lh /var/lib/mysql/ibtmp1
df -h $(mysql -e "SHOW VARIABLES LIKE 'tmpdir';" | awk 'NR==2{print $2}')

How to diagnose it

  1. Compute the ratio over a window. Do not trust a single sample. Take two readings 1-5 minutes apart and calculate delta(Created_tmp_disk_tables) / delta(Created_tmp_tables).
  2. Confirm user impact. Correlate the ratio with Slow_queries rate, P99 latency, or Threads_running. A high ratio without latency impact is a planning ticket, not a page.
  3. Find the queries. Query performance_schema.events_statements_summary_by_digest for digests with high SUM_CREATED_TMP_DISK_TABLES.
  4. Inspect the plans. Run EXPLAIN (or EXPLAIN ANALYZE on MySQL 8.0.18+) and look for Using temporary and Using filesort.
  5. Identify the engine. Check internal_tmp_mem_storage_engine. If it is TempTable, check whether the TempTable RAM budget (temptable_max_ram) is exhausted.
  6. Check memory limits. For the MEMORY engine, compare the effective limit MIN(tmp_table_size, max_heap_table_size) against the estimated intermediate result size.
  7. Check disk targets separately. Confirm whether growth is in ibtmp1 or tmpdir. They have different fixes.
  8. Look for schema anti-patterns. With the MEMORY engine, or before MySQL 8.0.13, any BLOB/TEXT column in a GROUP BY or DISTINCT forces disk regardless of size.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
Created_tmp_disk_tables / Created_tmp_tablesDirect measure of temp table spill> 25% investigate; > 50% critical
Sort_merge_passes rateFilesort operations spilling to diskSustained increase above baseline
Select_full_join rateUnindexed joins that create large intermediate resultsNonzero sustained rate in OLTP
Threads_runningQueries taking longer pile upSustained above CPU core count × 3
Slow_queries rateUser-visible latency impact> 3× baseline correlated with temp table spikes
ibtmp1 / tmpdir disk usageDisk exhaustion from on-disk temp tables> 80% full on either volume

Fixes

Rewrite queries that force on-disk temp tables

With the MEMORY engine, or before MySQL 8.0.13, BLOB/TEXT columns in a GROUP BY, DISTINCT, or ORDER BY always produce on-disk temp tables (from 8.0.13 the default TempTable engine stores them in memory). The fix is to remove the column from the grouping, group on a derived hash or surrogate key, or pre-aggregate in application code. You cannot tune past this with memory limits when the MEMORY engine is in use.

Add or fix indexes

If EXPLAIN shows Using temporary; Using filesort, try a covering index that matches the GROUP BY or ORDER BY columns in order. A well-ordered index lets MySQL stream rows without building a temp table. Fix Select_full_join by adding indexes on join columns.

Resize memory limits correctly

For the MEMORY engine, raise tmp_table_size and max_heap_table_size together and keep them equal. The effective limit is the minimum of the two. Do not set them arbitrarily large. Each connection can allocate up to the limit, so aggregate memory consumption is max_connections × limit.

For the TempTable engine in MySQL 8.0+, if temp tables spill because they exceed the TempTable RAM budget, raise temptable_max_ram. Monitor total system RAM; under high concurrency aggregate temp table memory can pressure the OOM killer.

Contain disk usage

ibtmp1 autoextends and does not shrink without a MySQL restart. Cap it in the configuration file and restart:

innodb_temp_data_file_path = ibtmp1:12M:autoextend:max:10G

Warning: this requires a restart. A cap prevents runaway growth, but queries fail with “The table is full” when the limit is hit. Only use a cap if you have monitoring and an optimization plan in place. Keep tmpdir on a separate partition so that TempTable overflow or external sort files cannot fill the data volume.

Kill runaway queries as a temporary measure

If a specific report or batch job is generating huge temp tables and causing an outage, KILL QUERY <id> or KILL <thread_id> stops it. This is disruptive, but it gives immediate relief while you rewrite the query.

Prevention

  • Set long_query_time to 1 second or lower and review the slow query log for patterns that correlate with temp table spikes.
  • Require EXPLAIN review in staging for any new query that aggregates, sorts, or joins large tables.
  • Keep tmp_table_size and max_heap_table_size equal and sized for your workload. Revisit them when data or concurrency grows.
  • Monitor disk space on both the data directory (for ibtmp1) and tmpdir independently.
  • Track per-digest temp table counters in performance_schema to catch query regressions before they cascade into saturation.

How Netdata helps

  • Surfaces Created_tmp_disk_tables, Created_tmp_tables, and the computed disk-temp ratio.
  • Correlates temp table spill with Sort_merge_passes, Select_full_join, and Threads_running on the same time axis so you can confirm the failure mode quickly.
  • Alerts on ratio thresholds (> 25% investigate, > 50% critical) and on derivative spikes in Created_tmp_disk_tables.
  • Shows per-second disk charts for the MySQL data directory and tmpdir, helping distinguish ibtmp1 growth from tmpdir exhaustion.
  • Displays query latency percentiles from performance_schema digests alongside temp table counters to confirm user impact.
The Netdata solution

MySQL monitoring with Netdata

Netdata monitors MySQL and MariaDB with per-second metrics and ML anomaly detection. Track connection usage, query throughput, slow queries, redo-log pressure, and replication lag alongside the host and storage signals that explain them.