The following sections provide information about modifying the operation of the PerformanceManager and vSphere Server performance data collection and storage.
Changes to a vCenter performance interval are global and apply to all entities in the system. VMware recommends that you do not modify the historical intervals. The PerfInterval data objects in the
PerformanceManager.
historicalInterval array are related. Modifications to a performance interval affects the entire system and may cause problems.
If you must modify a performance interval, use the PerformanceManager.UpdatePerfInterval method and follow these guidelines.
The PerformanceManager provides the
UpdateCounterLevelMapping method to change the collection level for individual performance counters (
PerfCounterInfo.level). Consider carefully the performance and storage consequences of using the
UpdateCounterLevelMapping method. If you use this method, you may cause a significant increase in data collection and storage, along with a corresponding decrease in performance. vCenter Server performance and database storage requirements depend on the collection levels defined for the performance intervals (
PerformanceManager.historicalInterval) and the collection levels specified for individual performance counters (PerfCounterInfo.level).
The performance interval collection level (PerfInterval.level) defines the set of counters for which the vCenter Server stores performance data. The Server will store data for counters at the specified level and for counters at all lower levels.
You can use the UpdateCounterLevelMapping method to change the collection level for individual counters. You can also use the
UpdatePerfLevel method to change the collection level for the system-defined performance intervals. These methods can cause a significant increase in the amount of data collected and stored in the vCenter database.
The vSphere Client displays the Performance Manager historical interval collection levels in the vCenter management statistics display. The vSphere Client also displays an estimate of the amount of storage that is required for data collection at the displayed levels. If individual counter levels are modified through the vSphere API (the UpdateCounterLevelMapping method), the vSphere Client will show a modified estimate. However, the vSphere Client cannot detect that the method has been called and it cannot display the current levels for individual counters. If you see a significantly increased estimate for storage, be aware that someone may have used the vSphere API to modify data collection.