This procedure is used to set the statistics preferences of the specified table in the specified schema.
DBMS_STATS.SET_TABLE_PREFS ( ownname IN VARCHAR2, tabname IN VARCHAR2, pname IN VARCHAR2, pvalue IN VARCHAR2);
Table 127-91 SET_TABLE_PREFS Procedure Parameters
Parameter | Description |
---|---|
|
Owner name |
|
Table name |
|
Preference name. The default value for following preferences can be set:
|
. |
|
. |
|
. |
|
. |
- integer : Number of histogram buckets. Must be in the range [1,254].- REPEAT : Collects histograms only on the columns that already have histograms.- AUTO : Oracle determines the columns to collect histograms based on data distribution and the workload of the columns.- SKEWONLY : Oracle determines the columns to collect histograms based on the data distribution of the columns.- column_name : name of a column- extension : can be either a column group in the format of (column_name, colume_name [, ...]) or an expression
The default is |
. |
|
. |
'
|
. |
|
. |
If the |
. |
|
pvalue |
Preference value. If |