Examveda

Which of the following columns is not returned by 'OPTIMIZE TABLE'?

A. Table

B. Op

C. Msg_type

D. Msg_txt

Answer: Option D

Solution (By Examveda Team)

This question is about the OPTIMIZE TABLE command in MySQL. This command is used to improve the performance of your tables by reorganizing the data and making it faster to access.

When you run OPTIMIZE TABLE, MySQL returns information about the optimization process. This information is displayed in a table-like format.

Let's understand the options:

Option A: Table - This column shows the name of the table that is being optimized. This column is returned by OPTIMIZE TABLE.

Option B: Op - This column indicates the operation being performed during optimization. This column is returned by OPTIMIZE TABLE.

Option C: Msg_type - This column displays the type of message related to the optimization process. This column is returned by OPTIMIZE TABLE.

Option D: Msg_txt - This column contains the actual message related to the optimization process. This column is NOT returned by OPTIMIZE TABLE.

So, the correct answer is Option D: Msg_txt.

This Question Belongs to MySQL >> MySQL Miscellaneous

Join The Discussion

Related Questions on MySQL Miscellaneous