Rechercher dans le manuel MySQL
27.12.2.2 The setup_consumers Table
The setup_consumers
table lists
the types of consumers for which event information can be
stored and which are enabled:
+----------------------------------+---------+ | NAME | ENABLED | +----------------------------------+---------+ | events_statements_current | YES | | events_statements_history | YES | | events_transactions_current | YES | | events_transactions_history | YES | | global_instrumentation | YES | | thread_instrumentation | YES | | statements_digest | YES | +----------------------------------+---------+
The consumer settings in the
setup_consumers
table form a
hierarchy from higher levels to lower. For detailed
information about the effect of enabling different consumers,
see Section 27.4.7, “Pre-Filtering by Consumer”.
Modifications to the
setup_consumers
table affect
monitoring immediately.
The setup_consumers
table has
these columns:
NAME
The consumer name.
ENABLED
Whether the consumer is enabled. The value is
YES
orNO
. This column can be modified. If you disable a consumer, the server does not spend time adding event information to it.
The setup_consumers
table has
these indexes:
Primary key on (
NAME
)
TRUNCATE TABLE
is not permitted
for the setup_consumers
table.
Document created the 26/06/2006, last modified the 26/10/2018
Source of the printed document:https://www.gaudry.be/en/mysql-rf-performance-schema-setup-consumers-table.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.