Performance Schema parameters can be specified at server startup on the command line or in option files to configure Performance Schema instruments and consumers. Runtime configuration is also possible in many cases (see *note performance-schema-runtime-configuration::), but startup configuration must be used when runtime configuration is too late to affect instruments that have already been initialized during the startup process.
Performance Schema consumers and instruments can be configured at startup using the following syntax. For additional details, see *note performance-schema-startup-configuration::.
'--performance-schema-consumer-CONSUMER_NAME=value'
Configure a Performance Schema consumer. Consumer names in the *note 'setup_consumers': performance-schema-setup-consumers-table. table use underscores, but for consumers set at startup, dashes and underscores within the name are equivalent. Options for configuring individual consumers are detailed later in this section.
'--performance-schema-instrument=INSTRUMENT_NAME=value'
Configure a Performance Schema instrument. The name may be given as a pattern to configure instruments that match the pattern.
The following items configure individual consumers:
'--performance-schema-consumer-events-stages-current=value'
Configure the 'events-stages-current' consumer.
'--performance-schema-consumer-events-stages-history=value'
Configure the 'events-stages-history' consumer.
'--performance-schema-consumer-events-stages-history-long=value'
Configure the 'events-stages-history-long' consumer.
'--performance-schema-consumer-events-statements-current=value'
Configure the 'events-statements-current' consumer.
'--performance-schema-consumer-events-statements-history=value'
Configure the 'events-statements-history' consumer.
'--performance-schema-consumer-events-statements-history-long=value'
Configure the 'events-statements-history-long' consumer.
'--performance-schema-consumer-events-transactions-current=value'
Configure the Performance Schema 'events-transactions-current' consumer.
'--performance-schema-consumer-events-transactions-history=value'
Configure the Performance Schema 'events-transactions-history' consumer.
'--performance-schema-consumer-events-transactions-history-long=value'
Configure the Performance Schema 'events-transactions-history-long' consumer.
'--performance-schema-consumer-events-waits-current=value'
Configure the 'events-waits-current' consumer.
'--performance-schema-consumer-events-waits-history=value'
Configure the 'events-waits-history' consumer.
'--performance-schema-consumer-events-waits-history-long=value'
Configure the 'events-waits-history-long' consumer.
'--performance-schema-consumer-global-instrumentation=value'
Configure the 'global-instrumentation' consumer.
'--performance-schema-consumer-statements-digest=value'
Configure the 'statements-digest' consumer.
'--performance-schema-consumer-thread-instrumentation=value'
Configure the 'thread-instrumentation' consumer.
File: manual.info.tmp, Node: performance-schema-system-variables, Next: performance-schema-status-variables, Prev: performance-schema-options, Up: performance-schema