Skip to main content

INFORMATION.SCHEMA.STATEMENTHOURLYSTATS

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

SQL Table Name: INFORMATION_SCHEMA.STATEMENT_HOURLY_STATS

Per hour light weight statistics of this SQL statement

Property Inventory

Parameters

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.

Properties

relationship Day as INFORMATION.SCHEMA.STATEMENTDAILYSTATS [ Required , Inverse = Hours , Cardinality = parent ];
Property methods: 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 StatCommands as %Integer;
Total ObjectScript commands from running this query
Property methods: StatCommandsDisplayToLogical(), StatCommandsGet(), StatCommandsIsValid(), StatCommandsLogicalToDisplay(), StatCommandsNormalize(), StatCommandsSet(), StatCommandsXSDToLogical()
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 StatRowCount as %Integer;
Total %ROWCOUNT from running this query
Property methods: StatRowCountDisplayToLogical(), StatRowCountGet(), StatRowCountIsValid(), StatRowCountLogicalToDisplay(), StatRowCountNormalize(), StatRowCountSet(), StatRowCountXSDToLogical()
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()

Indexes

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

Inherited Members

Inherited Methods

Storage

Storage Model: SQLStorage

Maps: 1

  • Map number 1 is named Master

    thismap.Global: ^rINDEXSQL

  • ^rINDEXSQL("sqlidx",1,{INFORMATION_SCHEMA.STATEMENTS.Hash},"stat",{INFORMATION_SCHEMA.STATEMENT_DAILY_STATS.Day},{Hour})
    =
    Node Delimiter Piece Name
    1 StatCount
    2 StatTotal
    3 StatVariance
    4 StatRowCount
    5 StatCommands
FeedbackOpens in a new tab