ttLatchStatsGet
This procedure is primarily meant to be used when requested by TimesTen technical support.
Required Privilege
This procedure requires ADMIN
privileges to show all active connections or database level statistics. No privileges are required to show the current connection's latch statistics.
Usage in TimesTen Scaleout and TimesTen Classic
This procedure is supported in TimesTen Classic.
TimesTen Scaleout applications can call this built-in procedure
In TimesTen Scaleout, this procedure runs locally on the element from which it is called.
Related Views
This procedure has no related views.
Syntax
ttLatchStatsGet (level, operation)
Parameters
ttLatchStatsGet
has these parameters:
Parameter | Type | Description |
---|---|---|
|
|
The level controls the number of connections for which the stats are printed. Valid values are:
|
|
|
This value controls the verbosity level of the output. Valid values are:
|
Result Set
Results sets are divided into two types: contention point and statistics.
ttLatchStatsGet
returns the result set for contention points. These describe the location of contention.
Column | Type | Description |
---|---|---|
|
|
Function name containing the contention point. |
|
|
The file that contains the |
|
|
The line number of the |
|
|
Description of this contention point. |
ttLatchStatsGet
returns the result set for statistics. These describe detailed statistics about this contention point:
Column | Type | Description |
---|---|---|
|
|
The name of the connection experiencing contention. |
|
|
The number of times the |
|
|
The number of times the |
|
|
The number of times the |
|
|
The number of times the |
|
|
The number of times the |
|
|
The average number of times the |
Examples
The following example shows an example result set for a call to ttLatchStatsGet
.
CALL ttLatchStatsGet(); < getSmallMed, heap.c 2675, Generic description, sampledb1, 1, 0, 1, 0, -1, -1, 0 > < sbhpallocAttempt, heap.c 3712, Generic description, sampledb1, 1, 0, 1, 0, -1, -1, 0 >
See Also