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

22.5.10.43 The ndbinfo threadstat Table

The threadstat table provides a rough snapshot of statistics for threads running in the NDB kernel.

The following table provides information about the columns in the threadstat table. For each column, the table shows the name, data type, and a brief description. Additional information can be found in the notes following the table.

Table 22.419 Columns of the threadstat table

Column Name Type Description
node_id integer Node ID
thr_no integer Thread ID
thr_nm string Thread name
c_loop string Number of loops in main loop
c_exec string Number of signals executed
c_wait string Number of times waiting for additional input
c_l_sent_prioa integer Number of priority A signals sent to own node
c_l_sent_priob integer Number of priority B signals sent to own node
c_r_sent_prioa integer Number of priority A signals sent to remote node
c_r_sent_priob integer Number of priority B signals sent to remote node
os_tid integer OS thread ID
os_now integer OS time (ms)
os_ru_utime integer OS user CPU time (µs)
os_ru_stime integer OS system CPU time (µs)
os_ru_minflt integer OS page reclaims (soft page faults)
os_ru_majflt integer OS page faults (hard page faults)
os_ru_nvcsw integer OS voluntary context switches
os_ru_nivcsw integer OS involuntary context switches

os_time uses the system gettimeofday() call.

The values of the os_ru_utime, os_ru_stime, os_ru_minflt, os_ru_majflt, os_ru_nvcsw, and os_ru_nivcsw columns are obtained using the system getrusage() call, or the equivalent.

Since this table contains counts taken at a given point in time, for best results it is necessary to query this table periodically and store the results in an intermediate table or tables. The MySQL Server's Event Scheduler can be employed to automate such monitoring. For more information, see Section 24.4, “Using the Event Scheduler”.


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-mysql-cluster-ndbinfo-threadstat.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