Data Object - PerfInterval

Property of
PerformanceManager, PerformanceStatisticsDescription
Parameter to
CreatePerfInterval, UpdatePerfInterval

Data Object Description

This data object type contains metadata about a performance interval.

For ESX systems, a single instance of this data object exists. It cannot be modified. It has these properties:


VirtualCenter Server system provides four instances of this data object by default, that apply globally to all system entities.

Example Collection Levels
VirtualCenter Server uses the specifications configured in its historical intervals to collect metrics from the ESX systems that it manages. The quantity of data collected depends on the level settings for the server, and the level associated with a specific counter. Both factors may change from one version of the products to the next. In general, the lower the number, the smaller the amount of data collected. For VirtualCenter Server 2.5, for example, the levels 1 through 4 collected data as follows:

  1. Basic counters defined with "average" rollup type for CPU, Memory, Disk, and Network; plus counters for System Uptime, System Heartbeat, and DRS (Distributed Resource Scheduler, tracked in the "clusterServices" group). Does not include counters for devices.
  2. Counters defined with "average," "summation," and "latest" rollup types for CPU, Memory, Disk, and Network; plus counters for System Uptime, System Heartbeat, and DRS (clusterServices). Does not include counters for devices.
  3. Counters defined with "average," "summmation," and "latest" rollup types for CPU, Memory, Disk, Network, and all devices; plus counters for System Uptime, System Heartbeat, and DRS (clusterServices).
  4. All counters defined for all entities and devices, for every rollup type, including “minimum” and “maximum.”

Default properties for the four built-in historical intervals include:

130086400Past day1true
21800604800Past week1true
372002592000Past month1true
46640031536000Past year1true

All values are in seconds. The default setting for vCenter Server is level 1, which retains sampled statistical data as follows:

Data older than a year is purged from the vCenter Server database.

Prior to version 2.5 of the API, this data object could be used in conjunction with the CreatePerfInterval operation, to define new, custom historical intervals. That operation has been deprecated: Adding and deleting objects of this type is no longer supported. However, the default historical intervals can be enabled or disabled, and can be modified within certain limits (with the UpdatePerfInterval operation).


Name Type Description

Indicates whether the interval is enabled (true) or disabled (false). Disabling a historical interval prevents vCenter Server from collecting metrics for that interval and all higher (longer) intervals.

For example, disabling the "Past Month" interval disables both "Past Month" and "Past Year" intervals. The system will aggregate and retain performance data using the "Past Day" and "Past Week" intervals only.

Since VI API 2.5

A unique identifier for the interval.

Since VI API 2.5

Number of seconds that the statistics corresponding to this interval are kept on the system.

Statistics collection level for this historical interval. vCenter Server will aggregate only those statistics that match the value of this property for this historical interval. For ESX, the value of this property is null. For vCenter Server, the value will be a number from 1 to 4.

Since VI API 2.5

The name of the historical interval. A localized string that provides a name for the interval. Names include:
  • "Past Day"
  • "Past Week"
  • "Past Month"
  • "Past Year"
The name is not meaningful in terms of system behavior. That is, the interval named “Past Week” works as it does because of its length, level, and so on, not because of the value of this string.

Number of seconds that data is sampled for this interval. The real-time samplingPeriod is 20 seconds.
Properties inherited from DynamicData
dynamicProperty, dynamicType
*Need not be set
Show WSDL type definition