for_clause

The following is the syntax for the for_clause in the ANALYZE TABLE statement:

{
FOR TABLE |
FOR ALL [INDEXED] COLUMNS [SIZE integer] |
FOR COLUMNS column_name [SIZE integer] |
FOR ALL [LOCAL] INDEXES
}
FOR TABLE

Specifies that only the table is to be analyzed.

FOR ALL COLUMNS

Specifies that, instead of the table, all columns are to be analyzed; if you specify INDEXED, all indexed columns will be analyzed. SIZE specifies the number of buckets to be generated when columns are being analyzed.

FOR COLUMNS

Provides a list of columns to be analyzed.

FOR ALL INDEXES

Specifies that, instead of the table, all indexes are to be analyzed. This is equivalent to executing an ANALYZE INDEX command for all indexes. If you specify LOCAL, all local indexes will be analyzed.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.12.120.202