SYS.History.WriteDaemon
Class SYS.History.WriteDaemon Extends %SerialObject [ System = 3 ]
A class describing the metrics kept for the Write Daemon cycle history. The system keeps a list of the last 20 cycles.
This class is primarily used as an embedded object in the PerfData interval collection. But it may also be accessed directly using the "Sample" query as an API to the Write Daemon cycle history.
For details, see History Monitor.
Properties
StartTime
Property StartTime As %TimeStamp [ SqlColumnNumber = 2 ];
Time that this Write Daemon cycle began
Sleep
Property Sleep As %Numeric [ SqlColumnNumber = 3 ];
Time (in milliseconds) that the Write Daemon was inactive before this cycle began
WIJTime
Property WIJTime As %Numeric [ SqlColumnNumber = 4 ];
Time (in milliseconds) that the Write Daemon was writing the Write Image Journal (WIJ) file
WriteTime
Property WriteTime As %Numeric [ SqlColumnNumber = 5 ];
Time (in milliseconds) that the Write Daemon was writing buffers to the database(s)
CycleTime
Property CycleTime As %Numeric [ SqlColumnNumber = 6 ];
Time (in milliseconds) for the Write Daemon cycle to complete
SizeWrite
Property SizeWrite As %Numeric;
The size of database buffers (in KB) written during the cycle.
BufferWrite
Property BufferWrite As %Numeric;
Number of database buffers written during the cycle.
BufferRedirty
Property BufferRedirty As %Numeric;
Number of database buffers written during the cycle that were also written in the prior cycle.
TempQueue
Property TempQueue As %Numeric;
Number of "in-memory" (i.e. IRISTemp) buffers used at the start of the cycle.
TempWrite
Property TempWrite As %Numeric;
Number of "in-memory" buffers written during the cycle (typically none written).
ProcInGlobal
Property ProcInGlobal As %Numeric;
Number of processes actively holding global buffers at the start of the cycle.
StatusFlags
Property StatusFlags As %Integer [ Internal ];
Coded status flags for any special conditions in the cycle. Bits defined with wdcyclehist structure.
TimeStamp
Property TimeStamp As %String;
Start time as UTC date/time stamp in $ZTS format
Methods
GetCycles
ClassMethod GetCycles(Start As %String, End As %String) As %ArrayOfObjects [ Internal ]
Return all WD cycles for an interval. Start and End are UTC timestamps.
PropList
ClassMethod PropList() As %String [ Internal ]
Fetch a list of detail properties for this class Only return those that should be summarized for Hourly and Daily.
SetSummary
ClassMethod SetSummary(ByRef Function As %String, Period As %String) As %Status
Configure the summary methods for this class for either the Hourly or Daily summaries. This is a comma-delimited list of functions to use for the summary. The available functions are Average, Maximum (high-water mark), Minimum (lowest value), Standard Deviation, Median, and Total. These are abbreviated in the 'Function' argument as "Avg", "Max", "Min", StDev", Med", and "Tot". If nothing is specified, the default is "Avg,Max,StDev". You may also specify the string "None" for a summary period to disable that summary.
A null 'Function' argument will return the current summary setting in the 'Function' variable.
The 'Period' argument can be either "Hourly" or "Daily".
SampleExecute
ClassMethod SampleExecute(ByRef qHandle As %Binary) As %Status [ Internal ]
Fetch current Write Daemon cycle history.
SampleClose
ClassMethod SampleClose(ByRef qHandle As %Binary) As %Status [ Internal, PlaceAfter = SampleExecute ]
SampleFetch
ClassMethod SampleFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ Internal, PlaceAfter = SampleExecute ]