ttCacheAutorefIntervalStatsGet
The ttCacheAutorefIntervalStatsGet
built-in procedures returns statistical information about the last 10 autorefresh cycles for a particular autorefresh interval.
Required Privilege
This procedure requires no privileges.
Usage in TimesTen Scaleout and TimesTen Classic
This procedure is supported in both TimesTen Classic and TimesTen Scaleout.Related Views
This procedure has no related views.
Syntax
ttCacheAutorefIntervalStatsGet (autoRefInterval, isStatic)
Parameters
ttCacheAutorefIntervalStatsGet
has the parameters:
Parameter | Type | Description |
---|---|---|
|
|
The The integer value for the autorefresh interval (in milliseconds) is the same value that was originally specified when the autorefresh cache group was created to indicate how often autorefresh is scheduled. |
|
|
Indicates if you are to retrieve information on static or dynamic cache groups with the interval value:
The default is static. |
Result Set
ttCacheAutorefIntervalStatsGet
returns statistical information about the last 10 autorefresh cycles for a particular autorefresh interval:
Column | Type | Description |
---|---|---|
|
|
Autorefresh interval in milliseconds. |
|
|
Indicates that the information is for static or dynamic cache groups with the interval value:
|
|
|
Autorefresh number. |
|
|
Autorefresh start time. |
|
|
Select row limit set for incremental autorefresh cache group. |
|
|
Number of rows refreshed. |
|
|
Number of SQL operations in process. |
|
|
Number of commits. |
|
|
Maximum commit buffer size in bytes. |
|
|
Amount of memory used for commit processing in bytes. |
|
|
Number of times the commit buffer overflowed for each transaction. |
|
|
Number of rows refreshed since the autorefresh thread was started. |
|
|
Number of SQL operations were performed since the autorefresh thread was started. |
|
|
Number of commits since the autorefresh thread was started. |
|
|
Number of |
|
|
Number of "Snapshot too old" errors received since the autorefresh thread started |
Examples
The following example shows how to run ttCacheAutorefIntervalStatsGet
built-in procedure to retrieve statistics for autorefresh cache groups that have been defined as static and have the interval of seven seconds:
Command> call ttCacheAutorefIntervalStatsGet(7000,1); < 7000, 1, 41, 2013-04-25 15:17:00.000000, 0, 0, 0, 1, 0, 0, <NULL>, 132121, 132121, 13, 21, 0, 0, 0, 0 > < 7000, 1, 40, 2013-04-25 15:16:53.000000, 0, 0, 0, 1, 0, 0, <NULL>, 132121, 132121, 12, 21, 0, 0, 0, 0 > < 7000, 1, 39, 2013-04-25 15:16:46.000000, 0, 0, 0, 1, 0, 0, <NULL>, 132121, 132121, 11, 21, 0, 0, 0, 0 > < 7000, 1, 38, 2013-04-25 15:16:39.000000, 0, 0, 0, 1, 0, 0, <NULL>, 132121, 132121, 10, 21, 0, 0, 0, 0 > < 7000, 1, 37, 2013-04-25 15:16:32.000000, 0, 6305, 6305, 1, 0, 131072, <NULL>, 132121, 132121, 9, 21, 0, 0, 0, 0 > < 7000, 1, 36, 2013-04-25 15:16:24.000000, 0, 15616, 15616, 1, 0, 131072, <NULL>, 125816, 125816, 8, 21, 0, 0, 0, 0 > < 7000, 1, 35, 2013-04-25 15:16:17.000000, 0, 18176, 18176, 1, 0, 131072, <NULL>, 110200, 110200, 7, 21, 0, 0, 0, 0 > < 7000, 1, 34, 2013-04-25 15:16:10.000000, 0, 14336, 14336, 1, 0, 131072, <NULL>, 92024, 92024, 6, 21, 0, 0, 0, 0 > < 7000, 1, 33, 2013-04-25 15:16:03.000000, 0, 15360, 15360, 1, 0, 131072, <NULL>, 77688, 77688, 5, 21, 0, 0, 0, 0 > < 7000, 1, 32, 2013-04-25 15:15:56.000000, 0, 11520, 11520, 1, 0, 131072, <NULL>, 62328, 62328, 4, 21, 0, 0, 0, 0 > 10 rows found.
See Also
- ttCacheAutorefreshSelectLimit
- ttCacheAutorefreshXactLimit
- Running Large Transactions with Incremental Autorefresh Read-Only Cache Groups and Configuring a Select Limit for Incremental Autorefresh for Read-Only Cache Groups in Oracle TimesTen In-Memory Database Cache Guide.