OPTIMIZER_STATISTICS
This view contains column statistics calculated on columns when a table is processed by autostats or the ANALYZE
command.
It displays one row per column per table. The values displayed here are estimates used for query optimization, they are not exact.
Column Name | Description |
---|---|
| The name of the related database. |
| The name of the related table. |
| The name of the related column. |
| The number of rows in a given table. |
| The number of |
| The number of unique values stored within a given column. |
| Whether or not autostats are currently enabled for a given column. |
| Whether or not autostats are considered too out-of-date to be used currently. |
| This column is deprecated and no longer used and its value is always |
| This column is deprecated and no longer used and its value is always |
| This column is deprecated and no longer used and its value is always |
| Whether advanced histograms are collected on this column. |
| Whether legacy histograms are collected on this column. This column is now deprecated. |
| Whether histograms (of either type) are collected on this column . |
| The sample size collected to build histograms on this column. |
| The timestamp at which autostats were last updated for a given column. |