Analyze collects statistics about the indexes and stores the results in a special table in the database to help make better index selection. Subsequently, the query optimizer uses these statistics to help make better index choices.
Analyze Database
Just simply right-click the database and select Maintain Database -> Analyze Database....Analyze Table
Just simply right-click the table and select Maintain Tables -> Analyze Tables....
Parameters
|
|
Database | Analyzes all indexes in one database when the database name is specified. |
Table | Analyzes all indexes in one table when the table name is specified. |
Related topics:
Vacuum
Reindex