Table of Contents

Oracle Switch Intervals

Purpose

This monitor will check the time interval between log switches and notify if it happens too often.

Differences between Archive and Redo logs

Oracle recommendation

Oracle's recommendation is that the interval for log switches be 15 to 30 minutes apart, with a maximum of four log switches per hour

Configuration hints

Create a new rule and set the thresholds accordingly. You must use multi-threshold syntax with this monitor.

Atomic fields

Period (hours)The period of time in the past to look for switch interval. Make sure the period overlaps with the monitor schedule so you won't miss any dump

Surveillance table

ParameterDescription
ActiveTo enable/disable a rule.
Max switches per hourThe threshold for the maximum number of switches per hour.
Max interval with no switchesThe threshold for the maximum number of time without switches.
Average switches per hourA threshold for the maximum average time interval between switches per hour.
Auto clearIf checked, the alarm will be cleared as soon as the alarm condition is not met anymore.
Alarm tagThis field allows to add custom text within the alarm message. %MSG% variable will containthe actual generated message and can be used such as: “my_prefix %MSG% my_suffix”. By default, tagwill be used as prefix.
AlarmTo enable alarm sending
MetricTo enable metric sending
ReportIf checked, this line of surveillance will used for showing threshold and severity in the daily report

Generated metrics

metricIdmetricUnitmetricTargetmetricDescription
ORACLE_DATABASE_SWTINTV_MAX_SWT_PER_HOUR
ORACLE_DATABASE_SWTINTV_MAX_INTV_WO_SWT
ORACLE_DATABASE_SWTINTV_AVG_SWT_PER_HOUR