Skip to main content

INFORMATION.SCHEMA.STATEMENTDAILYSTATS

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

SQL Table Name: INFORMATION_SCHEMA.STATEMENT_DAILY_STATS

Per day 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

property Day as %Date [ Required ];
Day these stats were recorded on
Property methods: DayDisplayToLogical(), DayGet(), DayIsValid(), DayLogicalToDisplay(), DayLogicalToOdbc(), DayLogicalToXSD(), DayNormalize(), DayOdbcToLogical(), DaySet(), DayXSDToLogical()
relationship Hours as array of INFORMATION.SCHEMA.STATEMENTHOURLYSTATS (XMLPROJECTION = "NONE") [ InitialExpression = $listbuild("INFORMATION.SCHEMA.STATEMENTHOURLYSTATS","Day",+$this,"children",1,1) , Transient , Inverse = Day , Cardinality = children ];
Breakdown of light weight SQL stats per hour within the day
Property methods: HoursGet(), HoursGetObject(), HoursGetObjectId(), HoursGetSwizzled(), HoursIsEmpty(), HoursIsValid(), HoursNewObject(), HoursRClose(), HoursRExec(), HoursRFetch(), HoursRelate(), HoursSQLCompute(), HoursSet(), HoursUnRelate()
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()
relationship Statement as INFORMATION.SCHEMA.STATEMENTS [ Required , Inverse = Days , Cardinality = parent ];
Property methods: StatementCheck(), StatementDailyStatsIDKeyCheck(), StatementDailyStatsIDKeyDelete(), StatementDailyStatsIDKeyExists(), StatementDailyStatsIDKeyOpen(), StatementDailyStatsIDKeySQLCheckUnique(), StatementDailyStatsIDKeySQLExists(), StatementDailyStatsIDKeySQLFindPKeyByConstraint(), StatementDailyStatsIDKeySQLFindRowIDByConstraint(), StatementDelete(), StatementGet(), StatementGetObject(), StatementGetObjectId(), StatementGetSwizzled(), StatementIsValid(), StatementNewObject(), StatementOnDelete(), StatementRClose(), StatementRExec(), StatementRFetch(), StatementRelate(), StatementSQLCompute(), StatementSet(), StatementSetObject(), StatementSetObjectId(), StatementUnRelate(), StatementUnSwizzle()

Indexes

index (StatementDailyStatsIDKey on Day) [IdKey, Type = key];
Index methods: StatementDailyStatsIDKeyCheck(), StatementDailyStatsIDKeyDelete(), StatementDailyStatsIDKeyExists(), StatementDailyStatsIDKeyOpen(), StatementDailyStatsIDKeySQLCheckUnique(), StatementDailyStatsIDKeySQLExists(), StatementDailyStatsIDKeySQLFindPKeyByConstraint(), StatementDailyStatsIDKeySQLFindRowIDByConstraint()

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",{Day})
    =
    Node Delimiter Piece Name
    1 StatCount
    2 StatTotal
    3 StatVariance
    4 StatRowCount
FeedbackOpens in a new tab