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.8, “The INFORMATION_SCHEMA ENGINES Table”.


Rechercher dans le manuel MySQL

Traduction non disponible

Le manuel MySQL n'est pas encore traduit en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 26/06/2006, dernière modification le 26/10/2018
Source du document imprimé : https://www.gaudry.be/mysql-rf-show-engines.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :en Manuel MySQL : https://dev.mysql.com/

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut