Skip to main content


persistent class INFORMATION.SCHEMA.STATEMENTHOURLYSTATS extends %Library.Persistent, %XML.Adaptor


Per hour light weight statistics of this SQL statement

Property Inventory


parameter READONLY = 1;
Inherited description: READONLY = 1 means that objects can be created, opened but not saved or deleted. Tables are projected to SQL as READONLY.


relationship Day as INFORMATION.SCHEMA.STATEMENTDAILYSTATS [ Required , Inverse = Hours , Cardinality = parent ];
Property methods: DayCheck(), DayDelete(), DayGet(), DayGetObject(), DayGetObjectId(), DayGetSwizzled(), DayIsValid(), DayNewObject(), DayOnDelete(), DayRClose(), DayRExec(), DayRFetch(), DayRelate(), DaySQLCompute(), DaySet(), DaySetObject(), DaySetObjectId(), DayUnRelate(), DayUnSwizzle()
property Hour as %Integer [ Required ];
Hour these stats were recorded on, this is an integer 0-23 so 0 is after midnight up to 1am and 1 is from 1am up to 2am, etc.
Property methods: HourDisplayToLogical(), HourGet(), HourIsValid(), HourLogicalToDisplay(), HourNormalize(), HourSet(), HourXSDToLogical()
property StatCount as %Integer;
Total number of times we have recorded this query being run
Property methods: StatCountDisplayToLogical(), StatCountGet(), StatCountIsValid(), StatCountLogicalToDisplay(), StatCountNormalize(), StatCountSet(), StatCountXSDToLogical()
property StatTotal as %Double;
Total time spent running this query
Property methods: StatTotalDisplayToLogical(), StatTotalGet(), StatTotalIsValid(), StatTotalLogicalToDisplay(), StatTotalLogicalToXSD(), StatTotalNormalize(), StatTotalOdbcToLogical(), StatTotalSet(), StatTotalXSDToLogical()
property StatVariance as %Double;
Variance in time from running this query
Property methods: StatVarianceDisplayToLogical(), StatVarianceGet(), StatVarianceIsValid(), StatVarianceLogicalToDisplay(), StatVarianceLogicalToXSD(), StatVarianceNormalize(), StatVarianceOdbcToLogical(), StatVarianceSet(), StatVarianceXSDToLogical()


index (StatementHourlyStatsIDKey on Hour) [IdKey, Type = key];
Index methods: StatementHourlyStatsIDKeyCheck(), StatementHourlyStatsIDKeyDelete(), StatementHourlyStatsIDKeyExists(), StatementHourlyStatsIDKeyOpen(), StatementHourlyStatsIDKeySQLCheckUnique(), StatementHourlyStatsIDKeySQLExists(), StatementHourlyStatsIDKeySQLFindPKeyByConstraint(), StatementHourlyStatsIDKeySQLFindRowIDByConstraint()

Inherited Members

Inherited Methods


Storage Model: SQLStorage

Maps: 1

  • Map number 1 is named Master

    thismap.Global: ^rINDEXSQL

    Node Delimiter Piece Name
    1 StatCount
    2 StatTotal
    3 StatVariance
FeedbackOpens in a new tab