SHOW ENGINES

This statement is used to list all supported storage engines. The syntax is included only for compatibility with MySQL.

Synopsis

ShowEnginesStmt

SHOW ENGINES - 图1

ShowLikeOrWhere

SHOW ENGINES - 图2

  1. ShowEnginesStmt ::=
  2. "SHOW" "ENGINES" ShowLikeOrWhere?
  3. ShowLikeOrWhere ::=
  4. "LIKE" SimpleExpr
  5. | "WHERE" Expression

Examples

  1. mysql> SHOW ENGINES;
  2. +--------+---------+------------------------------------------------------------+--------------+------+------------+
  3. | Engine | Support | Comment | Transactions | XA | Savepoints |
  4. +--------+---------+------------------------------------------------------------+--------------+------+------------+
  5. | InnoDB | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
  6. +--------+---------+------------------------------------------------------------+--------------+------+------------+
  7. 1 row in set (0.00 sec)

MySQL compatibility

  • This statement will always only return InnoDB as the supported engine. Internally, TiDB will typically use TiKV as the storage engine.