Skip to main content

INFORMATION.SCHEMA.STATEMENTPARAMETERSTATS

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

SQL Table Name: INFORMATION_SCHEMA.STATEMENT_PARAMETER_STATS

Daily parameter 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 AverageRuntime as %Double (SCALE = 3) [ Calculated , Required ];
Average runtime with this list of parameter values
Property methods: AverageRuntimeCompute(), AverageRuntimeDisplayToLogical(), AverageRuntimeGet(), AverageRuntimeIsValid(), AverageRuntimeLogicalToDisplay(), AverageRuntimeLogicalToXSD(), AverageRuntimeNormalize(), AverageRuntimeOdbcToLogical(), AverageRuntimeSQLCompute(), AverageRuntimeXSDToLogical()
relationship Day as INFORMATION.SCHEMA.STATEMENTDAILYSTATS [ Required , Inverse = Parameters , Cardinality = parent ];
Property methods: DayGet(), DayGetObject(), DayGetObjectId(), DayGetSwizzled(), DayIsValid(), DayNewObject(), DayOnDelete(), DayRClose(), DayRExec(), DayRFetch(), DayRelate(), DaySQLCompute(), DaySet(), DaySetObject(), DaySetObjectId(), DayUnRelate(), DayUnSwizzle()
property Frequency as %Integer [ Required ];
Number of times this list of parameter values was used
Property methods: FrequencyDisplayToLogical(), FrequencyGet(), FrequencyIsValid(), FrequencyLogicalToDisplay(), FrequencyNormalize(), FrequencySet(), FrequencyXSDToLogical()
property Values as %List [ Required ];
List of actual parameter values used in order
Property methods: ValuesGet(), ValuesIsValid(), ValuesLogicalToOdbc(), ValuesLogicalToXSD(), ValuesOdbcToLogical(), ValuesSet(), ValuesXSDToLogical()

Indexes

index (StatementParameterStatsIDKey on ValuesHash) [IdKey, Type = key];
Index methods: StatementParameterStatsIDKeyCheck(), StatementParameterStatsIDKeyDelete(), StatementParameterStatsIDKeyExists(), StatementParameterStatsIDKeyOpen(), StatementParameterStatsIDKeySQLCheckUnique(), StatementParameterStatsIDKeySQLExists(), StatementParameterStatsIDKeySQLFindPKeyByConstraint(), StatementParameterStatsIDKeySQLFindRowIDByConstraint()

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},"params",{ValuesHash},"stats")
    =
    Node Delimiter Piece Name
    Values
    1 Frequency
    2 TotalRuntime
FeedbackOpens in a new tab