The following is the syntax for the for_clause in the ANALYZE TABLE statement:
{ FOR TABLE | FOR ALL [INDEXED] COLUMNS [SIZEinteger
] | FOR COLUMNScolumn_name
[SIZEinteger
] | FOR ALL [LOCAL] INDEXES }
Specifies that only the table is to be analyzed.
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.
Provides a list of columns to be analyzed.
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.