The setup tables provide information about the current
instrumentation and enable the monitoring configuration to be
changed. For this reason, some columns in these tables can be
changed if you have the UPDATE
privilege.
The use of tables rather than individual variables for setup information provides a high degree of flexibility in modifying Performance Schema configuration. For example, you can use a single statement with standard SQL syntax to make multiple simultaneous configuration changes.
These setup tables are available:
setup_actors
: How to initialize monitoring for new foreground threadssetup_consumers
: The destinations to which event information can be sent and storedsetup_instruments
: The classes of instrumented objects for which events can be collectedsetup_objects
: Which objects should be monitoredsetup_threads
: Instrumented thread names and attributes