Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
Caché Monitoring Guide - InterSystems Documentation
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
11<br />
<strong>Caché</strong> History Monitor<br />
The History Monitor maintains an historical database of performance and system usage metrics. Its primary purposes are<br />
to:<br />
• Provide a performance baseline and help with analysis of performance issues.<br />
• Help analyze system usage over time for capacity planning.<br />
This database is defined in the SYS.History class package and kept in the %SYS namespace. All of the details of the database<br />
structure are published there and the data is accessible through SQL or the normal persistent object access. The class documentation<br />
in SYS.History also contains descriptions of all the individual properties, methods and queries that are available.<br />
The data is generally organized into performance (see SYS.History.Performance) and system usage (see<br />
SYS.History.SystemUsage) data. The performance metrics are intended to be sampled at short intervals (by default, 30<br />
seconds), and the system usage data at slightly longer intervals (by default, 5 minutes). At the beginning of each day, the<br />
individual interval samples are summarized into hourly and daily tables as averages, maximums, minimums, standard<br />
deviation, medians and totals. You can select which, if any, of the summary functions are kept for each metric class. The<br />
interval and hourly data may be purged automatically after a defined number of days (by default, seven (7) days and 60<br />
days, respectively); the daily summary is intended for long-term analysis and can be purged manually.<br />
To begin collecting data, use the ^%MONAPPMGR utility to activate the %Monitor.System.HistoryPerf and/or<br />
%Monitor.System.HistorySys classes; for more information, see Collecting Data in this chapter.<br />
This chapter contains the following sections:<br />
• Base Metrics<br />
• Collecting Data<br />
• Summaries<br />
• Accessing the Data<br />
11.1 Base Metrics<br />
All of the collected metrics are defined in four %SerialObject classes in SYS.History. These same classes are used as the<br />
basis for the Interval, Hourly, and Daily databases, so all of the properties are defined as %Numeric types to allow for<br />
decimal values in the summaries.<br />
The performance related metrics are defined in:<br />
<strong>Caché</strong> <strong>Monitoring</strong> <strong>Guide</strong> 97