April 2007
Intermediate to advanced
1032 pages
19h 28m
English
MySQL supports several SQL statements that relate to the maintenance and management of databases. For example, with one we can repair a damaged table, and with another one we can check whether a table with indexes is still correct. Generally, database managers, not developers, use these statements. Still, we discuss them here to be complete.
This chapter discusses the following statements:
• ANALYZE TABLE
• CHECKSUM TABLE
• OPTIMIZE TABLE
• CHECK TABLE
• REPAIR TABLE
• BACKUP TABLE
• RESTORE TABLE
These statements belong to the group called table maintenance statements.
Note that MySQL also supports special utilities with which comparable actions can be performed. Because this book ...
Read now
Unlock full access