Rechercher dans le manuel MySQL

13.7.6.16 SHOW ENGINES Syntax

  1. SHOW [STORAGE] ENGINES

SHOW ENGINES displays status information about the server's storage engines. This is particularly useful for checking whether a storage engine is supported, or to see what the default engine is.

For information about MySQL storage engines, see Chapter 15, The InnoDB Storage Engine, and Chapter 16, Alternative Storage Engines.

  1. mysql> SHOW ENGINES\G
  2. *************************** 1. row ***************************
  3.       Engine: ARCHIVE
  4.      Support: YES
  5.      Comment: Archive storage engine
  6.           XA: NO
  7.   Savepoints: NO
  8. *************************** 2. row ***************************
  9.       Engine: BLACKHOLE
  10.      Support: YES
  11.      Comment: /dev/null storage engine (anything you write to it disappears)
  12.           XA: NO
  13.   Savepoints: NO
  14. *************************** 3. row ***************************
  15.       Engine: MRG_MYISAM
  16.      Support: YES
  17.      Comment: Collection of identical MyISAM tables
  18.           XA: NO
  19.   Savepoints: NO
  20. *************************** 4. row ***************************
  21.       Engine: FEDERATED
  22.      Support: NO
  23.      Comment: Federated MySQL storage engine
  24.           XA: NULL
  25.   Savepoints: NULL
  26. *************************** 5. row ***************************
  27.       Engine: MyISAM
  28.      Support: YES
  29.      Comment: MyISAM storage engine
  30.           XA: NO
  31.   Savepoints: NO
  32. *************************** 6. row ***************************
  33.       Engine: PERFORMANCE_SCHEMA
  34.      Support: YES
  35.      Comment: Performance Schema
  36.           XA: NO
  37.   Savepoints: NO
  38. *************************** 7. row ***************************
  39.       Engine: InnoDB
  40.      Support: DEFAULT
  41.      Comment: Supports transactions, row-level locking, and foreign keys
  42.           XA: YES
  43.   Savepoints: YES
  44. *************************** 8. row ***************************
  45.       Engine: MEMORY
  46.      Support: YES
  47.      Comment: Hash based, stored in memory, useful for temporary tables
  48.           XA: NO
  49.   Savepoints: NO
  50. *************************** 9. row ***************************
  51.       Engine: CSV
  52.      Support: YES
  53.      Comment: CSV storage engine
  54.           XA: NO
  55.   Savepoints: NO

The output from SHOW ENGINES may vary according to the MySQL version used and other factors.

SHOW ENGINES output has these columns:

  • Engine

    The name of the storage engine.

  • Support

    The server's level of support for the storage engine, as shown in the following table.

    Value Meaning
    YES The engine is supported and is active
    DEFAULT Like YES, plus this is the default engine
    NO The engine is not supported
    DISABLED The engine is supported but has been disabled

    A value of NO means that the server was compiled without support for the engine, so it cannot be enabled at runtime.

    A value of DISABLED occurs either because the server was started with an option that disables the engine, or because not all options required to enable it were given. In the latter case, the error log should contain a reason indicating why the option is disabled. See Section 5.4.2, “The Error Log”.

    You might also see DISABLED for a storage engine if the server was compiled to support it, but was started with a --skip-engine_name option. For the NDB storage engine, DISABLED means the server was compiled with support for NDB Cluster, but was not started with the --ndbcluster option.

    All MySQL servers support MyISAM tables. It is not possible to disable MyISAM.

  • Comment

    A brief description of the storage engine.

  • Transactions

    Whether the storage engine supports transactions.

  • XA

    Whether the storage engine supports XA transactions.

  • Savepoints

    Whether the storage engine supports savepoints.

Storage engine information is also available from the INFORMATION_SCHEMA ENGINES table. See Section 25.9, “The INFORMATION_SCHEMA ENGINES Table”.


Find a PHP function

Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-show-engines.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:en Manuel MySQL : https://dev.mysql.com/

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut