Keine Cache-Version

Caching deaktiviert Standardeinstellung für diese Seite:aktiviert (code DEF204)
Wenn die Anzeige zu langsam ist, können Sie den Benutzermodus deaktivieren, um die zwischengespeicherte Version anzuzeigen.

Rechercher dans le manuel MySQL

26.12.2.5 The setup_threads Table

The setup_threads table lists instrumented thread classes. It exposes thread class names and attributes:

  1. mysql> SELECT * FROM performance_schema.setup_threads\G
  2. *************************** 1. row ***************************
  3.          NAME: thread/performance_schema/setup
  4.       ENABLED: YES
  5.       HISTORY: YES
  6.    PROPERTIES: singleton
  7.    VOLATILITY: 0
  8. DOCUMENTATION: NULL
  9. ...
  10. *************************** 4. row ***************************
  11.          NAME: thread/sql/main
  12.       ENABLED: YES
  13.       HISTORY: YES
  14.    PROPERTIES: singleton
  15.    VOLATILITY: 0
  16. DOCUMENTATION: NULL
  17. *************************** 5. row ***************************
  18.          NAME: thread/sql/one_connection
  19.       ENABLED: YES
  20.       HISTORY: YES
  21.    PROPERTIES: user
  22.    VOLATILITY: 0
  23. DOCUMENTATION: NULL
  24. ...
  25. *************************** 10. row ***************************
  26.          NAME: thread/sql/event_scheduler
  27.       ENABLED: YES
  28.       HISTORY: YES
  29.    PROPERTIES: singleton
  30.    VOLATILITY: 0
  31. DOCUMENTATION: NULL

The setup_threads table has these columns:

  • NAME

    The instrument name. Thread instruments begin with thread (for example, thread/sql/parser_service or thread/performance_schema/setup).

  • ENABLED

    Whether the instrument is enabled. The value is YES or NO. This column can be modified, although setting ENABLED has no effect for threads that are already running.

    For background threads, setting the ENABLED value controls whether INSTRUMENTED is set to YES or NO for threads that are subsequently created for this instrument and listed in the threads table. For foreground threads, this column has no effect; the setup_actors table takes precedence.

  • HISTORY

    Whether to log historical events for the instrument. The value is YES or NO. This column can be modified, although setting HISTORY has no effect for threads that are already running.

    For background threads, setting the HISTORY value controls whether HISTORY is set to YES or NO for threads that are subsequently created for this instrument and listed in the threads table. For foreground threads, this column has no effect; the setup_actors table takes precedence.

  • PROPERTIES

    The instrument properties. This column uses the SET data type, so multiple flags from the following list can be set per instrument:

    • singleton: The instrument has a single instance. For example, there is only one thread for the thread/sql/main instrument.

    • user: The instrument is directly related to user workload (as opposed to system workload). For example, threads such as thread/sql/one_connection executing a user session have the user property to differentiate them from system threads.

  • VOLATILITY

    The instrument volatility. This column has the same meaning as in the setup_instruments table. See Section 26.12.2.3, “The setup_instruments Table”.

  • DOCUMENTATION

    A string describing the instrument purpose. The value is NULL if no description is available.

The setup_threads table has these indexes:

  • Primary key on (NAME)

TRUNCATE TABLE is not permitted for the setup_threads table.


Suchen Sie im MySQL-Handbuch

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 26/06/2006, zuletzt geändert 26/10/2018
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/mysql-rf-setup-threads-table.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:en Manuel MySQL : https://dev.mysql.com/

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.

Inhaltsverzeichnis Haut