Health Check¶
Health Check analyzes a Capture Agent's statistics and logs and reports in plain language what happened and what's happening now. Run it first when replication is late or an agent shows Warning. Use it to:
- see whether the agent is healthy, catching up or stuck right now;
- find outages, surges, congestion, throttling and restarts in the period, and when they happened;
- see where the bottleneck is: the source, the staging database or the agent's CPU;
- attach its PDF to a support case.
To run it, select the agent in the SQDR Control Center and click Health Check on its toolbar. It works for a stopped agent too: it reads the agent's hourly statistics and its log, and measures a running agent right now.
What the findings mean¶
Show data under a finding lists the evidence. A Right now verdict right after you open Health Check is preliminary: refresh after a couple of minutes.
| Finding | What it means | What to do |
|---|---|---|
| Right now: healthy | The agent is keeping up. | Nothing. |
| Right now: catching up | A backlog is draining; the finding shows the rate and the time it should take. | Wait. |
| Right now: busy, backlog growing | Capture is falling behind the source. | See When a Capture Agent falls behind. |
| Right now: log position not advancing | The agent isn't moving through the source's log. | Check the agent's Diagnostics tab for errors. |
| Right now: backlog not draining, capture current | Capture is current, but the changes aren't being applied. The finding names the subscription holding most of the rows. | Check that the incremental groups run in the Data Replicator Manager, and the agent's Subscriptions tab. |
| Right now: draining, no new source changes; reader position unknown | No new changes at the source, or the agent hasn't recorded a log position yet. | Nothing, unless the source should be busy. |
| Capture outages | The agent was down for a while. The lag right after is the backlog being replayed. | Find out why it stopped on the Diagnostics tab. |
| Idle window (not verified) | Nothing was captured, but the log can't tell whether the source was quiet or the agent was stopped. | If the source should have had changes then, check when the agent was started and stopped. |
| Quiet hours | The agent was running and the source had no changes. | Nothing. |
| Surges, Scheduled batches | Hours much busier than usual; recurring at the same hour each day, they're batch jobs. | Nothing, unless they cause congestion. |
| Congestion episodes | Periods when the agent fell behind. A long one with little read means it was stuck, not busy. | See When a Capture Agent falls behind. |
| Throttling, Staging storage: above the warning level | The storage monitor paused log reading, or the backlog passed its warning level. Repeated warnings mean the headroom is shrinking. | See When to change the levels. |
| Restarts | Every agent start. It warns only for repeated failures or shutdowns that weren't clean. | Check the Diagnostics tab around those times. |
| Where the time goes | Where the agent spends its time, pointing to the bottleneck: the staging database, the source or the agent's CPU. | Look at the part it names. |
| Apply drain | Less than half of the staged rows were removed after being applied: the apply side isn't keeping up, or a subscription stopped acknowledging. | Check the agent's Subscriptions tab. |
Narrow the period and follow up a finding¶
The period (24 h by default) counts back from the newest data, not from now. On a Db2 for i agent with several journals, the reader list narrows the findings to one journal reader; agent-wide findings stay visible.
A finding with a time opens the Diagnostics tab at that time. When a finding names an incremental group, Open group … in Data Replicator Manager opens it there.