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 / oracle-database / oracle-database-sql-plan-regression ▌

Operations Guides

Oracle SQL plan regression: when a good query suddenly starts doing full scans

A query that returned in 10 milliseconds for months now takes 10 seconds. The application is timing out. CPU on the database host is pinned. The instance is OPEN, the listener responds, existing connections work, but every page load crawls. There is no error in the alert log. Nothing crashed.

This is SQL plan regression. Oracle’s cost-based optimizer chose a new execution plan for a statement that used to perform well. The old plan walked an index and touched a handful of blocks. The new plan does a full table scan and touches millions. The SQL_ID is the same, but the PLAN_HASH_VALUE changed, and BUFFER_GETS per execution jumped by one to three orders of magnitude.

If the statement runs hundreds of times per second, the database drowns in logical I/O. The buffer cache, CPU, and storage I/O all saturate together. One optimizer decision cascades into a system-wide performance emergency within minutes.

The most common trigger is routine statistics gathering. The fix is to force the known-good plan back immediately, then investigate why the optimizer flipped.

What this means

Oracle’s optimizer is cost-based. Every hard parse estimates the cost of available access paths and picks the cheapest. When the inputs to that estimate change, the plan can change. The inputs that matter most:

  • Table and index statistics (row counts, distinct values, data distribution)
  • Histograms on skewed columns
  • Bind variable values at first hard parse (bind peeking)
  • Optimizer parameters (OPTIMIZER_MODE, OPTIMIZER_INDEX_COST_ADJ, OPTIMIZER_FEATURES_ENABLE)
  • Object availability (index visibility, partition existence)

When one of these shifts, the optimizer may decide a full table scan is cheaper than an index range scan. Sometimes it is right. On OLTP workloads with selective predicates, it is often catastrophically wrong.

The distinguishing feature of plan regression versus a general load increase is the per-execution metric change. The query is not running more often. It is doing more work each time it runs. BUFFER_GETS / EXECUTIONS for the regressed plan hash is 10x to 1000x higher than for the previous plan hash.

If executions per second are flat but logical reads spiked, you have a plan regression. If executions per second also spiked, you have a workload change.

Common causes

CauseWhat it looks likeFirst thing to check
Statistics gathering (DBMS_STATS)Onset correlates with maintenance window or auto-stats jobDBA_TAB_STATS_HISTORY for last gather timestamp
Bind variable peekingSame SQL_ID alternates between good and bad plan hashesV$SQL child cursors with different PLAN_HASH_VALUE
Histogram added or removedCardinality estimate shifts dramatically for one columnDBA_TAB_COL_STATISTICS.HISTOGRAM
Index made invisible or droppedPlan loses an index access path entirelyDBA_INDEXES.VISIBILITY
Optimizer parameter changeMultiple SQL_IDs regress simultaneouslyRecent ALTER SYSTEM changes
Version upgradeCluster-wide regressions after patch or upgradeOPTIMIZER_FEATURES_ENABLE setting

Quick checks

These are read-only and safe to run during an active incident.

-- Find SQL_IDs with multiple plan hashes in the cursor cache
SELECT SQL_ID, COUNT(DISTINCT PLAN_HASH_VALUE) AS plan_count
FROM V$SQL GROUP BY SQL_ID
HAVING COUNT(DISTINCT PLAN_HASH_VALUE) > 1
ORDER BY plan_count DESC;
-- Top SQL by buffer gets per execution (the regression offenders)
SELECT SQL_ID, PLAN_HASH_VALUE, EXECUTIONS,
       ROUND(BUFFER_GETS / NULLIF(EXECUTIONS, 0)) AS gets_per_exec,
       ROUND(ELAPSED_TIME / NULLIF(EXECUTIONS, 0) / 1000) AS ms_per_exec,
       SUBSTR(SQL_TEXT, 1, 120) AS sql_preview
FROM V$SQL WHERE EXECUTIONS > 0
ORDER BY BUFFER_GETS DESC
FETCH FIRST 20 ROWS ONLY;
-- Check for full-scan wait spike
SELECT EVENT, TOTAL_WAITS, TIME_WAITED_MICRO,
       ROUND(TIME_WAITED_MICRO / NULLIF(TOTAL_WAITS, 0) / 1000, 2) AS avg_ms
FROM V$SYSTEM_EVENT WHERE EVENT = 'db file scattered read';
-- Logical reads (database work rate)
SELECT NAME, VALUE FROM V$SYSSTAT
WHERE NAME IN ('session logical reads', 'db block gets', 'consistent gets');
-- Active sessions grouped by wait class
SELECT NVL(WAIT_CLASS, 'ON CPU') AS wait_class, COUNT(*) AS sessions
FROM V$SESSION
WHERE STATUS = 'ACTIVE' AND TYPE = 'USER' AND WAIT_CLASS != 'Idle'
GROUP BY NVL(WAIT_CLASS, 'ON CPU')
ORDER BY COUNT(*) DESC;
-- Existing SQL Plan Baselines
SELECT SQL_HANDLE, PLAN_NAME, ENABLED, ACCEPTED, FIXED, ORIGIN
FROM DBA_SQL_PLAN_BASELINES
WHERE PARSING_SCHEMA_NAME = '<schema>';

How to diagnose it

flowchart TD
    A[Stats gather or bind peek] --> B[Optimizer picks new plan]
    B --> C[Full scan replaces index scan]
    C --> D[BUFFER_GETS per exec jumps 10x-1000x]
    D --> E[db file scattered read waits spike]
    D --> F[Logical reads and CPU spike]
    E --> G[Sessions queue, TPS drops]
    F --> G
  1. Identify the regressed SQL_ID. Run the multi-plan query above. Cross-reference with the top-buffer-gets query. The SQL_ID that appears in both lists with a new PLAN_HASH_VALUE and high gets_per_exec is your primary suspect.

  2. Compare the old and new plans. For the suspect SQL_ID, pull both plan hashes from V$SQL_PLAN:

-- Show access paths for each plan hash
SELECT PLAN_HASH_VALUE, ID, OPERATION, OPTIONS, OBJECT_NAME, COST
FROM V$SQL_PLAN
WHERE SQL_ID = '&sql_id'
ORDER BY PLAN_HASH_VALUE, ID;

Look for the access path change: TABLE ACCESS BY INDEX ROWID becoming TABLE ACCESS FULL, or an INDEX RANGE SCAN disappearing from the plan.

  1. Quantify the regression. Compare BUFFER_GETS / EXECUTIONS and ELAPSED_TIME / EXECUTIONS between the old and new plan hashes. A 10x increase confirms plan regression. A 100x or 1000x increase is typical for full-scan regressions on large tables.

  2. Find the trigger. Check what changed:

    • DBA_TAB_STATS_HISTORY: when were statistics last gathered on the affected tables?
    • DBA_TAB_COL_STATISTICS: did a histogram appear or disappear?
    • DBA_INDEXES: is the expected index still VISIBLE?
    • V$SQL_SHARED_CURSOR: why did a new child cursor get created?
  3. Confirm with wait events. If db file scattered read dominates the wait profile and User I/O or CPU is the top wait class, this confirms full-scan pressure from the regressed SQL.

  4. Check for bind peeking. If the SQL uses bind variables, different bind values can produce different plans on first hard parse. Look at V$SQL_BIND_CAPTURE and child cursor counts. Adaptive cursor sharing may have created a child cursor with a bad plan for a specific bind value, while other children retained the good plan.

Metrics and signals to monitor

SignalWhy it mattersWarning sign
BUFFER_GETS / EXECUTIONS per SQL_IDDirect measure of plan efficiency per runIncrease greater than 10x from baseline
PLAN_HASH_VALUE count per SQL_IDDetects plan flips in the cursor cacheNew hash with worse per-exec metrics
db file scattered read wait timeFull scans dominating I/OSudden spike on OLTP workload
session logical reads rateTotal database work being done2x sustained increase without throughput gain
CPU utilizationScanning and latching is CPU-intensiveSpike with flat or declining TPS
Active sessions vs CPU coresQueue depth from slow queriesRatio sustained above 2.0
parse count (hard)New cursor creation rateSpike correlating with plan change

Fixes

Stabilize immediately: force the known-good plan

During an active incident, the priority is restoring the old plan before the system saturates further. Two mechanisms:

SQL Plan Baseline from cursor cache. Load the known-good plan into a baseline so the optimizer prefers it:

-- Load the good plan from cursor cache (requires the plan still resident).
-- The loaded plan is ENABLED and ACCEPTED by default, so the optimizer
-- will use it on the next hard parse instead of the regressed plan.
BEGIN
  DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE(
    sql_id          => '<sql_id>',
    plan_hash_value => <good_plan_hash>
  );
END;
/

If OPTIMIZER_USE_SQL_PLAN_BASELINES is TRUE (the default), the optimizer uses accepted baseline plans instead of any new plan it would otherwise choose. The regressed cursor must age out or be invalidated before the baseline takes effect.

SQL Profile or SQL Patch. For faster intervention when you cannot wait for baseline capture or evolution, a SQL Profile or SQL Patch can force the optimizer toward the known-good plan. These are override mechanisms that apply hints outside the application SQL text. Use these when the old cursor has aged out of the cache and a baseline capture is no longer possible.

Undo the statistics change

If statistics gathering triggered the regression, restore the previous statistics:

-- Restore table statistics to a previous timestamp.
-- WARNING: this invalidates dependent cursors, causing a hard-parse spike
-- on the affected objects. Run during a controlled window, not mid-incident
-- on a system already CPU-bound.
BEGIN
  DBMS_STATS.RESTORE_TABLE_STATS(
    ownname          => '<schema>',
    tabname          => '<table>',
    as_of_timestamp  => '<timestamp_before_regression>'
  );
END;
/

Check DBA_TAB_STATS_HISTORY for available restore timestamps.

Remove a problematic histogram

If a new histogram caused the cardinality estimate to flip, regather statistics without it:

-- Regather stats without histogram on the offending column.
-- WARNING: like RESTORE_TABLE_STATS, this invalidates dependent cursors.
BEGIN
  DBMS_STATS.GATHER_TABLE_STATS(
    ownname   => '<schema>',
    tabname   => '<table>',
    method_opt => 'FOR COLUMNS <column> SIZE 1'
  );
END;
/

SIZE 1 means no histogram on that column. The optimizer falls back to uniform distribution estimates.

Tradeoffs

Forcing a plan with a baseline or profile locks the optimizer to that plan. This prevents regressions but also prevents the optimizer from finding genuinely better plans as data distribution evolves. For high-frequency OLTP SQL where predictability matters more than incremental optimization, this tradeoff is worth it. For reporting or batch SQL that benefits from adaptive plans, manage baselines with periodic evolution instead of pinning them.

Prevention

  • Capture SQL Plan Baselines for critical SQL. Enable OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES at session or system level (for example, through the application logon trigger), or manually load baselines for known-critical SQL_IDs using DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE. New plans are captured but not accepted until they pass verification.
  • Stage statistics changes. Gather statistics with PUBLISH set to FALSE, then compare pending stats against published using DBMS_STATS.DIFF_TABLE_STATS_IN_PENDING. Publish only if the diff is safe. The 19c DBMS_STATS reference documents the pending-statistics comparison function without an edition restriction; verify installed-package availability if you are on a constrained edition.
  • Monitor buffer_gets per execution. Track this ratio for your top 20 SQL_IDs and alert on changes greater than 10x. This is the most underdeployed signal in Oracle monitoring.
  • Lock plans for high-frequency SQL. Use FIXED baselines (DBMS_SPM.ALTER_SQL_PLAN_BASELINE with FIXED set to YES) for SQL that must never change plan without an explicit change review.
  • Test upgrades with plan stability in mind. After a version upgrade, use OPTIMIZER_FEATURES_ENABLE to isolate optimizer behavior changes. Capture baselines before the upgrade.
  • Review the automatic SPM evolve task. Oracle 19c includes SYS_AUTO_SPM_EVOLVE_TASK and the High Frequency SPM Evolve Advisor Task. Edition support and automatic evolution capabilities vary: SQL Plan Management is available in Enterprise Edition, while Standard Edition 2 has reduced capabilities; verify the installed edition and task state before relying on automation.

How Netdata helps

Plan regression is a per-execution problem that becomes visible as a system-wide spike. Netdata correlates the system-level signals that confirm the cascade:

  • Logical reads per second (session logical reads from V$SYSSTAT) surfaces as a sudden 2x to 10x spike with no corresponding throughput increase, distinguishing a plan flip from a workload increase.
  • db file scattered read wait time trending up on an OLTP system is the full-scan signature. Correlating this with a logical reads spike confirms the regression pattern.
  • CPU utilization rising while TPS stays flat or drops indicates the database is burning cycles on unproductive scans rather than useful work.
  • Active sessions versus CPU core count shows queue depth growing as regressed queries pile up behind the full scans.
  • Anomaly detection on logical reads, physical reads, and CPU baselines flags the deviation within seconds of the plan flip, before the application starts timing out.
  • Per-second granularity means you can see the exact minute the regression started and correlate it with statistics job completion or a parameter change.

Oracle Database monitoring with Netdata brings these signals together with per-second metrics and anomaly detection.

The Netdata solution

Oracle Database monitoring with Netdata

Netdata monitors Oracle Database with per-second metrics and automatic dashboards. Watch wait events, redo and archive-log activity, tablespace and undo space, and session and lock activity so the failure modes in these runbooks surface before the instance hangs.