ttOptStatsExport
This procedure returns the set of statements required to restore the table statistics to the current state. If no table is specified, it returns the set of statements required to restore the table statistics for all user tables that the calling user has permission to access.
Required Privilege
This procedure requires ADMIN privilege.
Syntax
ttOptStatsExport('tblName')Parameters
ttOptStatsExport has the parameter:
| Parameter | Type | Description |
|---|---|---|
|
|
|
Name of the table whose statistics are to be returned. If Using a synonym to specify a table name is not supported. |
Result Set
ttOptStatsExport returns the result set:
| Column | Type | Description |
|---|---|---|
|
|
|
The set of statements required to restore the table(s) statistics to the current state. |
Examples
CALL ttOptStatsExport('MyTable');See Also
- Create Script to Regenerate Current Table Statistics in the Oracle TimesTen In-Memory Database Operations Guide.