29.14 Performance Schema Command Options (original) (raw)
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 (seeSection 29.4, “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, seeSection 29.3, “Performance Schema Startup Configuration”.
- --performance-schema-consumer-_consumer_name_=value
Configure a Performance Schema consumer. Consumer names in thesetup_consumers 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 theevents-stages-current
consumer. - --performance-schema-consumer-events-stages-history=value
Configure theevents-stages-history
consumer. - --performance-schema-consumer-events-stages-history-long=value
Configure theevents-stages-history-long
consumer. - --performance-schema-consumer-events-statements-cpu=value
Configure theevents-statements-cpu
consumer. - --performance-schema-consumer-events-statements-current=value
Configure theevents-statements-current
consumer. - --performance-schema-consumer-events-statements-history=value
Configure theevents-statements-history
consumer. - --performance-schema-consumer-events-statements-history-long=value
Configure theevents-statements-history-long
consumer. - --performance-schema-consumer-events-transactions-current=value
Configure the Performance Schemaevents-transactions-current
consumer. - --performance-schema-consumer-events-transactions-history=value
Configure the Performance Schemaevents-transactions-history
consumer. - --performance-schema-consumer-events-transactions-history-long=value
Configure the Performance Schemaevents-transactions-history-long
consumer. - --performance-schema-consumer-events-waits-current=value
Configure theevents-waits-current
consumer. - --performance-schema-consumer-events-waits-history=value
Configure theevents-waits-history
consumer. - --performance-schema-consumer-events-waits-history-long=value
Configure theevents-waits-history-long
consumer. - --performance-schema-consumer-global-instrumentation=value
Configure theglobal-instrumentation
consumer. - --performance-schema-consumer-statements-digest=value
Configure thestatements-digest
consumer. - --performance-schema-consumer-thread-instrumentation=value
Configure thethread-instrumentation
consumer.