SHOW ENGINE

Use this MySQL statement to display details of the status of a given storage engine. This statement provides information on table and record locks for transactions, waiting locks, pending requests, buffer statistics and activity, and logs related to the engine.

Syntax

Below is the syntax for this command. Text within square brackets (i.e, [ and ] ) are optional. Choices are separated by bars (i.e, | ). Ellipses preceded by a comma indicates a repeating pattern. Ellipses before or after syntax are used to highlight a relevant except from the larger syntax. Text displayed in italic letters represent text that should be replaced with the specific names related to the database (e.g., column with the name of the column).

SHOW ENGINE engine {STATUS|MUTEX}

Explanation

Use this statement to display details of the status of a given storage engine. This statement provides information on table and record locks for transactions, waiting locks, pending requests, buffer statistics and activity, and logs related to the engine.

Currently, the engines that may be given are INNODB, NDB, and NDBCLUSTER. These last two keywords are interchangable. Prior to version 5.1.12 of MySQL, the option of DBD was permitted. In later versions, the BDB engine is not supported and a warning message is generated when it is used with this statement. The MUTEX option is available only for the InnoDB engine. For the NDB engine, an empty results set is returned if there are no operations at the time.