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

27.4.3.28 The schema_table_lock_waits and x$schema_table_lock_waits Views

These views display which sessions are blocked waiting on metadata locks, and what is blocking them.

The column descriptions here are brief. For additional information, see the description of the Performance Schema metadata_locks table at Section 26.12.12.3, “The metadata_locks Table”.

The schema_table_lock_waits and x$schema_table_lock_waits views have these columns:

  • object_schema

    The schema containing the object to be locked.

  • object_name

    The name of the instrumented object.

  • waiting_thread_id

    The thread ID of the thread that is waiting for the lock.

  • waiting_pid

    The processlist ID of the thread that is waiting for the lock.

  • waiting_account

    The account associated with the session that is waiting for the lock.

  • waiting_lock_type

    The type of the waiting lock.

  • waiting_lock_duration

    How long the waiting lock has been waiting.

  • waiting_query

    The statement that is waiting for the lock.

  • waiting_query_secs

    How long the statement has been waiting, in seconds.

  • waiting_query_rows_affected

    The number of rows affected by the statement.

  • waiting_query_rows_examined

    The number of rows read from storage engines by the statement.

  • blocking_thread_id

    The thread ID of the thread that is blocking the waiting lock.

  • blocking_pid

    The processlist ID of the thread that is blocking the waiting lock.

  • blocking_account

    The account associated with the thread that is blocking the waiting lock.

  • blocking_lock_type

    The type of lock that is blocking the waiting lock.

  • blocking_lock_duration

    How long the blocking lock has been held.

  • sql_kill_blocking_query

    The KILL statement to execute to kill the blocking statement.

  • sql_kill_blocking_connection

    The KILL statement to execute to kill the session running the blocking statement.


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-sys-schema-table-lock-waits.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