Below is the baseline I would use for Oracle 19c production databases, especially RAC/Data Guard environments.
1. Severity model
| Severity | Meaning | Response |
|---|---|---|
| Informational | Trend/capacity information | Dashboard/trending |
| Warning | Degradation or approaching limit | Investigate |
| Critical | High risk / significant degradation | Urgent |
| Fatal / Availability | Service unavailable or data-protection risk | Immediate incident |
For capacity metrics, a useful baseline is:
- Warning: 80%
- Critical: 90%
- Emergency operational threshold: 95%
But don't blindly use 80/90/95 for CPU, latency, Data Guard lag, backup age, etc.
2. Database availability: mandatory
| Metric | Suggested Warning | Critical |
|---|---|---|
| Database Instance Status | n/a | Down |
| Database Status | n/a | Not Open |
| Listener Status | n/a | Down |
| Service Availability | n/a | Down |
| Instance connection | n/a | Unable to connect |
| PDB open state | n/a | Required PDB not READ WRITE |
| Invalid/unexpected instance restart | n/a | Alert |
| Database uptime/restart | Monitor | Unexpected restart |
These should be 24×7 alerts.
3. Tablespace / capacity
| Metric | Warning | Critical |
|---|---|---|
| Tablespace used % | 80% | 90% |
| Tablespace used % | 90% | 95% for selected large tablespaces |
| Tablespace free GB | environment-specific | environment-specific |
| TEMP usage | 80% | 90–95% |
| UNDO usage/pressure | 80% | 90% |
| Datafile autoextend failure | n/a | Immediate |
| Datafile maximum-size proximity | 80% | 90–95% |
| Tablespace growth | abnormal | rapid growth |
| Database total size | Trend | Trend |
Important: don't monitor only percentage.
For a 20 TB tablespace:
which may be completely safe.
For a 20 GB tablespace:
which may be urgent.
Therefore ideally alert on both:
4. FRA and archive logs
This is one of the most important Oracle-specific categories.
| Metric | Warning | Critical |
|---|---|---|
| FRA utilization | 80% | 90% |
| FRA utilization emergency | 95% | |
| Archive destination usage | 80% | 90% |
| Archive destination status | ERROR | Critical |
| Archiver stuck | n/a | Critical |
| Archive generation rate | Baseline deviation | Major deviation |
| Archive log destination full | n/a | Critical |
| Log switches/hour | Trend/baseline | Abnormal rate |
I'd make FRA ≥95% a page/on-call event, particularly for production.
5. Performance
Monitor both utilization and Oracle workload.
CPU
| Metric | Warning | Critical |
|---|---|---|
| Host CPU utilization | >80% sustained 15 min | >90% sustained 10 min |
| DB CPU | Baseline | abnormal sustained |
| CPU run queue | Baseline | sustained contention |
Don't create a production incident just because CPU hits 95% for 30 seconds.
For CPU, duration is critical.
6. Oracle wait events
Monitor:
User I/O
Commit
Concurrency
RAC
Don't normally alert because one wait event exists.
Monitor:
7. SQL performance
This is essential for databases such as your IBM QM/E3 workloads.
Monitor:
- Top SQL by elapsed time
- Top SQL by CPU
- Top SQL by physical reads
- Top SQL by buffer gets
- Top SQL by executions
- SQL response-time degradation
- SQL plan changes
- New plan hash value
- SQL using SQL Plan Baseline
- Parse calls
- Hard parsing
- Invalidations
- Version count
- Long-running SQL
- Parallel SQL
For business-critical SQL, use baseline deviation, for example:
rather than one universal SQL-response threshold.
8. Sessions and processes
| Metric | Warning | Critical |
|---|---|---|
| Sessions / SESSIONS limit | 80% | 90% |
| Processes / PROCESSES limit | 80% | 90% |
| Active sessions | Baseline | abnormal sustained |
| Long-running session | >30 min* | >60 min* |
| Blocking session | >5 min | >15 min |
| Maximum blocking time | 5–10 min | 15 min |
| Failed logins | >baseline | repeated failures |
* depends heavily on workload.
A 2-hour RMAN session isn't necessarily problematic.
A business application's OLTP SQL running 30 minutes probably is.
9. Locking/blocking
Mandatory:
- Blocking sessions
- Long blockers
- Row lock contention
- Deadlocks
- DDL locks
- TX enqueue contention
Suggested:
For highly critical OLTP databases you could tighten this to:
10. Memory
Monitor:
SGA
- SGA utilization
- Shared Pool
- Buffer Cache
- Large Pool
- Java Pool if used
- Shared Pool free memory
- Library cache pressure
- Resize operations
PGA
- PGA allocated
- PGA aggregate limit
- PGA cache hit %
- Workarea executions
- One-pass executions
- Multipass executions
- TEMP spill
Useful threshold:
11. Redo / log switches
Monitor:
- Redo generated/minute
- Redo generated/hour
- Log switches/hour
- Log switch duration
- Checkpoint issues
log file synclog file parallel writecheckpoint not complete- redo allocation/retry pressure
Rather than defining "10 switches/hour is bad", establish a baseline.
For example:
Those are operational examples, not universal Oracle thresholds.
12. TEMP
Monitor:
- TEMP utilization %
- Free TEMP
- Active TEMP consumers
- TEMP usage per session
- TEMP growth
- Sort-to-disk behavior
Suggested:
But again combine percentage with GB remaining.
13. UNDO
Monitor:
- UNDO utilization
- Undo tablespace remaining
- Undo retention
ORA-01555- unexpired/expired undo
- longest-running query versus retention
Any ORA-01555 should generate an event worth investigating.
14. RMAN backup: absolutely mandatory
For production:
| Metric | Warning | Critical |
|---|---|---|
| Last DB backup age | >24/48 h | policy-dependent |
| Failed RMAN backup | Immediate | Critical |
| Archivelog backup failure | Immediate | Critical |
| Backup duration | baseline +30% | +50% |
| Backup size | abnormal deviation | major deviation |
| Obsolete backup buildup | Monitor | storage risk |
| Recovery catalog issue | Warning | Critical |
| Restore validation | scheduled | failure critical |
Most importantly:
Do not equate successful backup with recoverability.
Periodically perform:
and recovery testing.
15. Data Guard
For every Data Guard production configuration monitor:
- Primary/standby status
- Transport lag
- Apply lag
- Redo transport status
- Redo apply status
- Archive gap
- MRP process
- RFS
- Destination errors
- Data Guard broker status
- Fast-Start Failover status if used
- Standby connectivity
- Protection mode
- Switchover readiness
Example baseline:
| Metric | Warning | Critical |
|---|---|---|
| Apply lag | >5 min | >15 min |
| Transport lag | >2 min | >5 min |
| Archive gap | Present | Sustained |
| MRP stopped | n/a | Critical |
| Standby unavailable | n/a | Critical |
For high-RPO systems, these values need to be much tighter.
16. RAC
For Oracle RAC monitor:
Cluster
- CRS availability
- Cluster node status
- Database instance status
- Database service status
- VIP status
- SCAN listener
- Local listener
Interconnect
- Interconnect availability
- Interconnect throughput
- Packet errors/drops
- latency
Cache Fusion
Monitor:
Also look for workload imbalance between nodes.
Example:
may indicate poor service/workload distribution even though the RAC database itself is healthy.
17. ASM
For ASM databases:
| Metric | Warning | Critical |
|---|---|---|
| Diskgroup usage | 80% | 90% |
| Disk offline | n/a | Critical |
| Disk failure | n/a | Critical |
| ASM instance unavailable | n/a | Critical |
| Rebalance activity | Monitor | abnormal duration |
| Usable file MB | Monitor | Critical minimum |
Be careful with ASM percentage alone because redundancy and USABLE_FILE_MB matter.
18. Storage/I/O
Since you're also working with Pure Storage and IBM Power/AIX, I'd correlate Oracle with infrastructure metrics.
Monitor:
- Read latency
- Write latency
- IOPS
- throughput MB/s
- queue depth
- storage utilization
- I/O wait
- ASM disk latency
As practical investigation triggers:
But use the actual array/SAN baseline. Don't turn those example figures directly into universal alerts.
19. AIX/Linux host monitoring
Oracle Enterprise Manager also supports infrastructure metrics through its plug-ins.
Monitor:
CPU
- CPU %
- load/run queue
- physical CPU consumed
- entitlement usage for AIX
- capped/uncapped CPU behavior
For AIX specifically:
are much more informative than looking only at %user.
Memory
- physical memory
- paging
- swap
- paging-space utilization
- Oracle process memory
Filesystems
//tmp/var- Oracle home
- Grid home
- archive filesystem
- backup mounts
- audit filesystem
Baseline:
20. Oracle alert log
I'd make this mandatory.
Monitor ORA errors including:
Also:
- instance termination
- corrupt block
- datafile errors
- control file issues
- archive failures
- ASM errors
ORA-00600, ORA-07445, corruption or database availability errors should normally result in immediate escalation.
21. Data integrity
Monitor:
- invalid objects
- unusable indexes
- corrupted blocks
- offline datafiles
- recovery-required files
- invalid database components
DBA_REGISTRYstatus- failed materialized view refreshes where applicable
Critical examples:
22. Security
Monitor:
- Failed logins
- Locked accounts
- Expiring accounts
- DBA account changes
- privilege grants/revokes
- SYS connections where required
- audit failures
- invalid credentials
- repeated authentication failures
Do not disable monitoring merely because traditional auditing has been disabled. Instead, decide whether failed-login monitoring is required by security/SOX controls.
23. Jobs and Scheduler
Monitor:
Pay particular attention to operational jobs:
- Statistics gathering
- backup
- purge
- application batch
- ETL
- materialized view refresh
24. Statistics/optimizer health
Monitor or report:
- stale statistics
- missing statistics
- failed AutoTask
- statistics gathering duration
- SQL plan changes
- invalid SQL objects
- hard parsing
- cursor proliferation
25. OEM itself
Don't forget monitoring the monitoring system.
Monitor:
- OEM Agent status
- Agent unreachable
- Agent upload problem
- Metric collection error
- DBSNMP credentials
- Preferred credentials
- OMS status
- Repository availability
- Metric collection age
Otherwise you can get a dangerous situation:
Enterprise baseline recommendations
Instead of giving every metric the same priority, I would implement this as P1/P2/P3 monitoring:
P1: availability/data protection
Immediately alert:
- Database down
- RAC instance down unexpectedly
- Listener/service down
- Data Guard apply stopped
- significant Data Guard lag
- archive destination failure
- FRA >95%
- backup failure
- tablespace unable to extend
- ASM diskgroup critical
- corruption
- critical ORA errors
- OEM monitoring unavailable
P2: performance/capacity
Alert after sustained violation:
- CPU
- memory
- I/O latency
- tablespace
- TEMP
- sessions/processes
- blocking
- database response time
- RAC waits
- archive/redo growth
- SQL degradation
P3: proactive DBA health
Dashboard/daily review:
- DB growth
- tablespace growth rate
- capacity forecast
- stale stats
- invalid objects
- SQL plan change
- top SQL changes
- index health where justified
- backup duration trend
- redo generation trend
- performance baseline drift
This is important because Oracle Enterprise Manager Cloud Control supports warning/critical threshold evaluation and consecutive-occurrence behavior. That lets you suppress transient spikes instead of generating incidents from every short threshold crossing.
The standard I would build
For an estate like yours, I would create separate OEM Metric Templates:
No comments:
Post a Comment