ttStatsConfigGet
ttStatsConfigGet built-in procedure returns parameters of the ttStats utility that you can set with the ttStatsConfig built-in procedure. This procedure does not take any input and outputs a multiple row result set with name/value pair parameters.
Required Privilege
This procedure requires no privilege.
Syntax
ttStatsConfigGet()
Parameters
ttStatsConfigGet has no parameters:
Result Set
ttStatsConfigGet returns the result set:
| Column | Type | Description |
|---|---|---|
|
|
|
The name of the parameter. |
|
|
|
The current value of the parameter. |
Parameter / Value Pairs
These are the return parameter/value pairs in TimesTen:
These parameter/value pairs can be returned in the result set in TimesTen:
| Parameter | Description |
|---|---|
|
|
The frequency at which a SQL command sample is taken. The default is |
|
|
The unique identifier of a SQL command in the TimesTen command cache. If you do not supply a value, TimesTen displays the current value of the command. |
|
|
The existing SQL run time statistics are reset if the specified value is nonzero. |
Examples
These are the supported examples:
View the configuration settings of ttStatsConfig:
Command> call ttStatsConfigGet(); < SQLCMDSAMPLEFACTOR, 1 > < CONNSAMPLEFACTOR, 2047,0 > < STATSLEVEL, TYPICAL > 3 rows found.
See Also