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-data-guard-lag ▌

Operations Guides

Oracle Data Guard transport and apply lag: RPO, RTO, and gap detection

Data Guard lag is two measurements operators often treat as one. Transport lag is how far behind the standby is in receiving redo: your real-time Recovery Point Objective (RPO) exposure, the data you would lose if the primary failed right now. Apply lag is how far behind the standby is in applying that redo: your real-time Recovery Time Objective (RTO) exposure, the extra time the standby needs to finish catching up before it can open after a failover.

The distinction matters because the right response differs. Transport lag points at the network path, the primary redo generation rate, and whether SYNC or ASYNC transport is configured. Apply lag points at the standby I/O subsystem, the Managed Recovery Process (MRP0), and whether a redo gap is blocking apply. Alerting on “lag” without splitting these two signals leads to wrong responses at 3 a.m.

This guide covers reading V$DATAGUARD_STATS on the standby and V$ARCHIVE_DEST_STATUS on the primary, detecting redo gaps, and how SYNC transport and Maximum Protection mode turn standby health into primary health.

What transport lag and apply lag actually measure

Transport lag is the wall-clock time between the most recent redo generated on the primary and the most recent redo received at the standby. If the primary is at SCN 10,000 and the standby has only received up to SCN 9,990, transport lag is the time between those two points. On failover, redo generated but never transported is lost.

Apply lag is the wall-clock time between the most recent redo received at the standby and the most recent redo applied to the standby datafiles. Redo may be sitting in standby redo logs or archive logs, received but not yet recovered. On failover, the standby must finish applying this pending redo before it can open.

Lag typeMaps toSeverity guidance
Transport lagRPO (data loss exposure)PAGE if transport lag exceeds RPO SLA
Apply lagRTO (recovery time exposure)TICKET if apply lag exceeds RTO SLA

Typical playbook thresholds: transport lag beyond 1 minute warrants investigation, apply lag beyond 30 minutes is a TICKET, beyond 1 hour is a PAGE. Your thresholds should come from your declared RPO and RTO SLAs, not from generic defaults.

How Data Guard ships and applies redo

flowchart LR
    A["Primary DB\nLGWR writes redo"] --> B["Network transport\nLGWR ASYNC or SYNC"]
    B --> C["Standby: RFS\nreceives redo into\nstandby redo logs"]
    C --> D["MRP0\napplies redo\nto standby datafiles"]
    A -.->|"transport lag\nmeasured here"| C
    C -.->|"apply lag\nmeasured here"| D

On the primary, LGWR flushes redo from the redo log buffer to the online redo logs. For Data Guard, LGWR (or ARCn in ARCH-shipping configurations) ships redo to the standby. The RFS process on the standby receives the redo and writes it to standby redo logs or archive logs. MRP0 then reads those logs and applies redo to the standby datafiles, block by block, in the same way crash recovery applies redo during instance startup.

Transport lag is the gap between primary redo generation and RFS receipt. Apply lag is the gap between RFS receipt and MRP0 application.

Reading V$DATAGUARD_STATS on the standby

V$DATAGUARD_STATS is the canonical view for both lag measurements. It returns rows only when queried on the standby database. On the primary, it returns no rows.

-- Run on the standby database:
SELECT NAME, VALUE, DATUM_TIME
FROM V$DATAGUARD_STATS
WHERE NAME IN ('transport lag', 'apply lag', 'apply finish time');

The VALUE column is a VARCHAR2 formatted as an interval, for example +00 00:00:05 (0 days, 0 hours, 0 minutes, 5 seconds). Parse it carefully if you are feeding it into monitoring tooling. The NAME values you will see include:

NAMEWhat it means
transport lagHow far behind the standby is in receiving redo from the primary
apply lagHow far behind the standby is in applying received redo
apply finish timeEstimated time for MRP0 to finish applying the current backlog
estimated startup timeEstimated time to start the standby after a failover

The DATUM_TIME column records when the standby last received the data used to compute these metrics. This column is critical and frequently ignored.

The DATUM_TIME trap

Transport lag can report +00 00:00:00 (zero) even when the standby has stopped receiving redo entirely. The lag computation uses the last known data point. If the standby is disconnected from the primary, no new data arrives, and the computed lag stays frozen at whatever it was when the connection dropped.

The real health indicator is whether DATUM_TIME is advancing. If you query V$DATAGUARD_STATS twice, 30 seconds apart, and DATUM_TIME has not changed, the standby is not receiving redo regardless of what the VALUE column says. Monitoring only the lag value without checking DATUM_TIME staleness is a common blind spot that hides transport failures behind a zero.

Reading V$ARCHIVE_DEST_STATUS on the primary

From the primary side, V$ARCHIVE_DEST_STATUS gives a coarser view of standby progress:

-- Run on the primary database:
SELECT DEST_ID, STATUS, ARCHIVED_SEQ#, APPLIED_SEQ#,
       ARCHIVED_SEQ# - APPLIED_SEQ# AS lag_sequences
FROM V$ARCHIVE_DEST_STATUS
WHERE STATUS = 'VALID' AND TYPE = 'PHYSICAL';

ARCHIVED_SEQ# is the highest archived log sequence number shipped to this destination. APPLIED_SEQ# is the highest sequence applied on the standby. The delta tells you how many archive log sequences the standby is behind. This is a sequence-level measurement, not a time-based one: one sequence might represent 5 minutes or 50 minutes of redo depending on redo log size and generation rate.

This view is useful for a quick health check from the primary, but V$DATAGUARD_STATS on the standby gives the time-based lag values that map directly to RPO and RTO.

Checking MRP process status

Lag values assume the apply process is running. If MRP0 is not running, apply lag grows without bound and the standby is not a valid failover target. Check V$MANAGED_STANDBY (deprecated in 12.2; prefer V$DATAGUARD_PROCESS):

-- Run on the standby database:
SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#
FROM V$MANAGED_STANDBY
WHERE PROCESS LIKE 'MRP%' OR PROCESS = 'RFS';

If MRP0 does not appear in the results, media recovery is not running. The standby may be open READ ONLY without apply, or apply may have stopped due to an error. Status WAIT_FOR_LOG means MRP0 is waiting for the next log to arrive, which is normal between logs. Status APPLYING_LOG means it is actively recovering.

Gap detection: when redo sequences go missing

A redo gap occurs when the standby is missing one or more archive log sequences between the last applied sequence and the current sequence. Gaps block apply: MRP0 cannot apply sequence 1001 if it has not seen sequence 1000. Common causes include network outages that drop redo transport, primary archive log retention too short (logs deleted before the standby fetched them), or standby downtime longer than the primary’s archive retention window.

Check for gaps on the standby:

-- Run on the standby database:
SELECT * FROM V$ARCHIVE_GAP;

V$ARCHIVE_GAP returns rows only when there is a gap. No rows means no gap. If rows are present, the THREAD#, LOW_SEQUENCE#, and HIGH_SEQUENCE# columns identify the missing sequence range.

When a gap exists, it must be resolved before apply can proceed. With FAL (Fetch Archive Log) server and client configured, gaps often resolve automatically once connectivity is restored. If they do not, manually copy the missing archive logs from the primary to the standby and register them with ALTER DATABASE REGISTER LOGFILE. Oracle does not require a blanket stop/restart around registration; check whether Redo Apply resumes and, if it had failed to determine a starting sequence, restart managed recovery after the missing log is registered.

From the primary side, the ARCHIVED_SEQ# minus APPLIED_SEQ# delta in V$ARCHIVE_DEST_STATUS also reveals a gap pattern: if the delta is growing and not shrinking, either standby apply is slow or there is a gap blocking progress.

SYNC transport and Maximum Protection: when standby health becomes primary health

In ASYNC transport mode, the primary ships redo to the standby without waiting for acknowledgment. Standby problems (network latency, slow I/O, MRP0 stopped) do not directly impact primary performance. The cost is that transport lag can grow without bound, increasing RPO exposure.

In SYNC transport mode (used in Maximum Availability and Maximum Protection), every primary commit waits for the standby to acknowledge receipt of the redo before the commit returns to the application. Standby and network health directly impact primary commit latency. A slow standby network path shows up on the primary as elevated log file sync wait times. The primary’s log file sync and the standby’s transport lag become correlated signals.

Maximum Protection goes further: if the primary loses contact with all SYNC standbys, it shuts itself down to prevent data loss. This is by design. Zero data loss (RPO of 0) is guaranteed even at the cost of primary availability. A standby going down in Maximum Protection mode causes a primary outage. This is the most aggressive Data Guard mode and must be operated with full awareness of this behavior.

In SYNC configurations, monitoring standby health is not just about failover readiness. It is about primary performance and availability right now. A transport lag spike in a SYNC configuration means primary commits are stalling.

Common misuses

Alerting on a single “lag” metric. Combining transport lag and apply lag into one alert loses the diagnostic information needed to respond correctly. Transport lag points to the network path. Apply lag points to the standby I/O and MRP. Split them.

Trusting zero lag without checking DATUM_TIME. A frozen DATUM_TIME with zero transport lag means the standby is disconnected, not healthy. Always check DATUM_TIME advancement alongside the lag value.

Querying V$DATAGUARD_STATS on the primary. The view returns no rows on the primary. Operators who do not know this assume the query failed or the standby is unreachable. Run it on the standby.

Assuming the Broker will alert when apply is stopped. APPLY-OFF means Redo Apply is stopped, and SUCCESS reflects that the database is in its intended state—not that apply is desired and healthy. Monitor the actual Redo Apply/MRP state and the Broker intended state separately.

Ignoring standby redo log thread assignment. For a multi-thread redo source, Oracle explicitly says to determine each source redo thread and specify the corresponding THREAD when adding standby redo logs. If V$STANDBY_LOG shows logs unassigned to the expected threads, drop and recreate them with explicit THREAD values before relying on real-time apply.

Signals to watch in production

SignalWhy it mattersWarning sign
V$DATAGUARD_STATS transport lag (standby)Direct RPO exposure. Growing transport lag means increasing potential data loss on failover.Sustained transport lag beyond your RPO SLA
V$DATAGUARD_STATS apply lag (standby)Direct RTO exposure. Growing apply lag means the standby needs more time to open after failover.Sustained apply lag beyond your RTO SLA
V$DATAGUARD_STATS DATUM_TIME (standby)Indicates whether lag values are fresh. Frozen DATUM_TIME means the standby is disconnected.DATUM_TIME not advancing between queries
V$ARCHIVE_DEST_STATUS ARCHIVED_SEQ# minus APPLIED_SEQ# (primary)Coarse standby progress indicator from the primary side. Growing delta means standby falling behind.Delta growing over consecutive checks
V$ARCHIVE_GAP (standby)Detects missing redo sequences that block apply.Any rows present
V$MANAGED_STANDBY MRP0 status (standby)Confirms the apply process is running. No MRP0 means apply is stopped.MRP0 not listed, or status not APPLYING_LOG or WAIT_FOR_LOG
Redo generation rate (primary)Determines transport bandwidth demand. Spikes can overwhelm network or standby I/O.Redo rate exceeding network capacity or standby apply throughput
log file sync wait (primary, SYNC only)In SYNC mode, standby or network latency directly impacts primary commit latency.log file sync rising in correlation with standby transport lag

How Netdata helps

Netdata’s Oracle Database monitoring collects per-second metrics that let you correlate Data Guard lag signals with primary and standby health in a single timeline.

  • Transport lag and apply lag trends: per-second collection of V$DATAGUARD_STATS values lets you see lag growing before it breaches your RPO or RTO SLA.
  • DATUM_TIME staleness detection: tracking DATUM_TIME alongside the lag values surfaces a frozen datum time even when the lag value itself reports zero.
  • Primary-side correlation: redo generation rate, log file sync wait times, and archive destination status on the primary can be overlaid with standby lag to identify whether a transport lag spike correlates with a primary redo burst or a network event.
  • MRP0 process monitoring: separate visibility into whether the apply process is running prevents the scenario where lag is growing but nobody noticed MRP0 stopped.
  • Anomaly detection on lag patterns: flags unusual behavior like the intermittent cycling caused by standby redo log thread misassignment, even when the average lag looks acceptable.

For the full setup, see Oracle Database monitoring with Netdata.

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.