MySQL High Availability by Charles Bell;Mats Kindahl;Lars Thalmann

MySQL High Availability by Charles Bell;Mats Kindahl;Lars Thalmann

Author:Charles Bell;Mats Kindahl;Lars Thalmann
Format: mobi
Tags: COMPUTERS / Database Management / General
Publisher: O'Reilly Media
Published: 2010-06-27T23:00:00+00:00


Using ANALYZE TABLE

The MySQL optimizer, like most traditional optimizers, uses statistical information about tables to perform its analysis of the optimal query execution plan. These statistics include information about indexes, distribution of values, and table structure, among many items.

The ANALYZE TABLE command recalculates the key distribution for one or more tables. This information determines the table order for a join operation. The syntax for the ANALYZE TABLE command is shown below:

ANALYZE [LOCAL | NO_WRITE_TO_BINLOG] TABLE <table_list>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.