Version sans cache

Mise en cache désactivé. Réglage défaut pour cette page : actif (code DEF204)
Si l'affichage est trop lent, vous pouvez désactiver le mode utilisateur pour visualiser la version en cache.

Rechercher dans le manuel MySQL

25.13 The INFORMATION_SCHEMA ndb _transid _mysql _connection _map Table

The ndb_transid_mysql_connection_map table provides a mapping between NDB transactions, NDB transaction coordinators, and MySQL Servers attached to an NDB Cluster as API nodes. This information is used when populating the server_operations and server_transactions tables of the ndbinfo NDB Cluster information database.

INFORMATION_SCHEMA Name SHOW Name Remarks
mysql_connection_id MySQL Server connection ID
node_id Transaction coordinator node ID
ndb_transid NDB transaction ID

The mysql_connection_id is the same as the connection or session ID shown in the output of SHOW PROCESSLIST.

There are no SHOW statements associated with this table.

This is a nonstandard table, specific to NDB Cluster. It is implemented as an INFORMATION_SCHEMA plugin; you can verify that it is supported by checking the output of SHOW PLUGINS. If ndb_transid_mysql_connection_map support is enabled, the output from this statement includes a plugin having this name, of type INFORMATION SCHEMA, and having status ACTIVE, as shown here (using emphasized text):

  1. mysql> SHOW PLUGINS;
  2. +----------------------------------+--------+--------------------+---------+---------+
  3. | Name                             | Status | Type               | Library | License |
  4. +----------------------------------+--------+--------------------+---------+---------+
  5. | binlog                           | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  6. | mysql_native_password            | ACTIVE | AUTHENTICATION     | NULL    | GPL     |
  7. | CSV                              | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  8. | MEMORY                           | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  9. | MRG_MYISAM                       | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  10. | MyISAM                           | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  11. | PERFORMANCE_SCHEMA               | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  12. | BLACKHOLE                        | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  13. | ARCHIVE                          | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  14. | ndbcluster                       | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  15. | ndbinfo                          | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  16. | ndb_transid_mysql_connection_map | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  17. | InnoDB                           | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  18. | INNODB_TRX                       | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  19. | INNODB_LOCKS                     | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  20. | INNODB_LOCK_WAITS                | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  21. | INNODB_CMP                       | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  22. | INNODB_CMP_RESET                 | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  23. | INNODB_CMPMEM                    | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  24. | INNODB_CMPMEM_RESET              | ACTIVE | INFORMATION SCHEMA | NULL    | GPL     |
  25. | partition                        | ACTIVE | STORAGE ENGINE     | NULL    | GPL     |
  26. +----------------------------------+--------+--------------------+---------+---------+
  27. 22 rows in set (0.00 sec)

The plugin is enabled by default. You can disable it (or force the server not to run unless the plugin starts) by starting the server with the --ndb-transid-mysql-connection-map option. If the plugin is disabled, the status is shown by SHOW PLUGINS as DISABLED. The plugin cannot be enabled or disabled at runtime.

Although the names of this table and its columns are displayed using lowercase, you can use uppercase or lowercase when referring to them in SQL statements.

For this table to be created, the MySQL Server must be a binary supplied with the NDB Cluster distribution, or one built from the NDB Cluster sources with NDB storage engine support enabled. It is not available in the standard MySQL 8.0 Server.


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-ndb-transid-mysql-connection-map-table.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