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

SYS.History.Database


serial class SYS.History.Database extends
%SerialObject

A list of Database properties for the SysData interval collection class

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2


Summary


Properties
FileSize FreeSpace

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 FileSize as %Numeric;
Size of each database file (in MB)
• property FreeSpace as %Numeric;
Freespace available in each database file (in MB)
NOTE: this value is fetched from the %Monitor.System.Freespace class samples, so that must be "active" or this will be blank.

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