What is ANALYZE TABLE statement?
The ANALYZE TABLE statement is used for analyzing a table for the following purposes: • Verify the validity of the storage format of the table. • Collect and manage statistics for the table. • Identify migrated and chained rows in the table. The statistics collected are stored in the data dictionary. The statistics are utilized by the optimizer in choosing the most appropriate execution plan for statements issued against the associated table.