MV_ PROSPECTIVE_ HISTOGRAMS
This view contains information about columns which were used in queries where a histogram could have been utilized, but did not have histograms.
This view counts over all queries (rows) in the in-memory plancache in order to distinguish which of these contain applicable columns.
Note that this view displays the columns that did not have histograms at the time each plan was compiled, so it will continue to display such columns even after histograms are collected.information_
looking for columns where RANGE_
is false.
Column Name |
Description |
---|---|
|
The name of the related database. |
|
The name of the related table. |
|
The name of a given column for which a prospective histogram has been identified. |
|
The number of times the column was used in queries where a histogram could have been utilized, counting once per query per occurrence of the table. |
Last modified: January 5, 2024