請教關於ANALYZE 命令的一些疑惑

lfree發表於2005-08-17

摘自:http://www.itpub.net/410314.html

FOR TABLE Specify FOR TABLE to restrict the statistics collected to only table
statistics rather than table and column statistics.
FOR COLUMNS Specify FOR COLUMNS to restrict the statistics collected to only
column statistics for the specified columns and scalar object attributes, rather than
for all columns and attributes; attribute specifies the qualified column name of
an item in an object.
FOR ALL COLUMNS Specify FOR ALL COLUMNS to collect column statistics for all
columns and scalar object attributes.
FOR ALL INDEXED COLUMNS Specify FOR ALL INDEXED COLUMNS to collect
column statistics for all indexed columns in the table.
FOR ALL INDEXES Specify FOR ALL INDEXES if you want all indexes associated
with the table to be analyzed.



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-82793/,如需轉載,請註明出處,否則將追究法律責任。

相關文章