Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / SYS.History.WriteDaemon
Private  Storage   

SYS.History.WriteDaemon


serial class SYS.History.WriteDaemon extends
%SerialObject

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.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
13 6 1


Summary


Properties
BufferRedirty BufferWrite CycleTime ProcInGlobal SizeWrite
Sleep StartTime TempQueue TempWrite TimeStamp
WIJTime WriteTime

Methods
%AddToSaveSet %AddToSyncSet %ClassIsLatestVersion %ClassName
%ConstructClone %Delete %DeleteId %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetParameter
%GetSwizzleObject %IsA %IsModified %IsNull
%New %NormalizeObject %ObjectIsNull %ObjectModified
%OnBeforeAddToSync %OnDetermineClass %Open %OpenId
%OriginalNamespace %PackageName %RemoveFromSaveSet %ResolveConcurrencyConflict
%SerializeObject %SetModified %SyncObjectIn %SyncTransport
%ValidateObject LogicalToOdbc OdbcToLogical SetSummary


Properties


• property BufferRedirty as %Numeric;
Number of database buffers written during the cycle that were also written in the prior cycle.
• property BufferWrite as %Numeric;
Number of database buffers written during the cycle.
• property CycleTime as %Numeric;
Time (in milliseconds) for the Write Daemon cycle to complete
• property ProcInGlobal as %Numeric;
Number of processes actively holding global buffers at the start of the cycle.
• property SizeWrite as %Numeric;
The size of database buffers (in KB) written during the cycle.
• property Sleep as %Numeric;
Time (in milliseconds) that the Write Daemon was inactive before this cycle began
• property StartTime as %TimeStamp;
Time that this Write Daemon cycle began
• property TempQueue as %Numeric;
Number of "in-memory" (i.e. IRISTemp) buffers used at the start of the cycle.
• property TempWrite as %Numeric;
Number of "in-memory" buffers written during the cycle (typically none written).
• property TimeStamp as %String;
Start time as UTC date/time stamp in $ZTS format
• property WIJTime as %Numeric;
Time (in milliseconds) that the Write Daemon was writing the Write Image Journal (WIJ) file
• property WriteTime as %Numeric;
Time (in milliseconds) that the Write Daemon was writing buffers to the database(s)

Methods


• 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".

Queries


• query Sample()
Selects StartTime As %TimeStamp, Sleep As %Integer, WIJTime As %Integer, WriteTime As %Integer, CycleTime As %Integer, SizeWrite As %Integer, BufferWrite As %Integer, TempQueue As %Integer, TempWrite As %Integer, ProcInGlobal As %Integer, Flags As %Integer, TimeStamp As %String, BufferRedirty As %Integer
Fetch current Write Daemon cycle history.