Oracle® TimesTen In-Memory Database Reference Release 11.2.1 Part Number E13069-03 |
|
|
View PDF |
Description
Returns statistics information in text format.
This procedure requires the SELECT privilege on the specified tables.
Syntax
ttOptGetColStats('tblName', 'colName')
Parameters
ttOptGetColStats has these parameters:
Parameter | Type | Description |
---|---|---|
tblName |
TT_CHAR (61) | Name of the table whose statistics are to be returned. If NULL is passed, then values for all tables are returned. |
colName |
TT_CHAR (30) | Name of the column for which statistics should be returned. If NULL is passed, statistics for all columns in the specified table are returned. |
Result set
ttOptGetColStats returns the result set:
Column | Type | Description |
---|---|---|
tblName |
TT_CHAR (30) | Name of the table. |
colName |
TT_CHAR (30) | Name of the column. |
stats |
TT_VARCHAR (409600) NOT NULL | Statistics in text form. |
Examples
CALL ttOptGetColStats (); < T1 , X1, (2, 10, 10, 100 (,4, 40, 10 ,1, 10, 5) ,(4, 20, 20 ,11, 20, 15) )>
See also