Specifications

VMware, Inc. 285
Chapter 18 Setting Up and Monitoring Performance Statistics and Resource Maps
Using Collection Levels Effectively
Toretrievemoredetailedmetricsforashortperiodoftime,viewarealtimedata
chartratherthanincreasethecollectionlevel.Viewingrealtimedatahasless
impactonperformancebecausemetricsareretrieveddirectlyfromthesource
withoutbeingwrittentotheVirtualCenterdatabase.Formoreinformationon
data
charts,see“PerformanceCharts”onpage 289.
Whenyouusecollectionlevel3or4todiagnoseproblems,resetthecollectionlevel
toitspreviousstateassoonaspossible.
Whenyouusecollectionlevel4,trytolimitthecollectionperiodtotheDay
intervalsothedatabaseisn’timpacted.Ifyouneedtosavethedataforlongerthan
1day,increasetheDayintervaldurationto2or3ratherthanusetheWeek
interval.Forexample,
ifyouneedtorecorddataovertheweekend,settheinterval
to3days.Asarule,increasethecollectionintervaltotheWeekintervalonlywhen
youneedtheintervaldurationtobemorethan3days.
How statistical data is stored in the database
Thestatisticaldataforeachcollectionintervalisstoredinitsowndatabasetable.Atthe
endofaninterval,oneoftwothingscanoccur:
Ifthenextintervalisdisabled,thedatainthetablethatisolderthantheinterval
durationispurged.
Ifthenextintervalisenabled,thedataisaggregatedintogroupsandisrolledupto
thedatabasetableofthesubsequentcollectioninterval.Forexample,saytheDay
intervalhasa5minutecollectionfrequencyandtheWeekintervalhasa30minute
collectionfrequency.WhentheDay
intervalcompletes,itaggregatesthe5minute
queriesintogroupsof6(equalling30minutes)androllsthe30minutedatablock
totheWeekintervaldatabasetable.Thedayolddataisthenpurgedfromthe
databasetomakeroomfornewqueries.Figure 181,“Example:DailyStatistics
Collection,”on
page 282showsthedefaultrollupprocess.