mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-13 14:39:28 +00:00

The use of QRT plugin to monitor the health of production worloads cause the QRT data to show massive spikes in latency, even thought the workload is relatively unaffected. Tags: pt-table-checksum See also: PS-235
17 lines
811 B
SQL
17 lines
811 B
SQL
-- See https://www.percona.com/doc/percona-server/LATEST/diagnostics/response_time_distribution.html
|
|
|
|
-- This plugin is used for gathering statistics.
|
|
INSTALL PLUGIN QUERY_RESPONSE_TIME_AUDIT SONAME 'query_response_time.so';
|
|
|
|
-- This plugin provides the interface (QUERY_RESPONSE_TIME) to output gathered statistics.
|
|
INSTALL PLUGIN QUERY_RESPONSE_TIME SONAME 'query_response_time.so';
|
|
|
|
-- This plugin provides the interface (QUERY_RESPONSE_TIME_READ) to output gathered statistics.
|
|
INSTALL PLUGIN QUERY_RESPONSE_TIME_READ SONAME 'query_response_time.so';
|
|
|
|
-- This plugin provides the interface (QUERY_RESPONSE_TIME_WRITE) to output gathered statistics.
|
|
INSTALL PLUGIN QUERY_RESPONSE_TIME_WRITE SONAME 'query_response_time.so';
|
|
|
|
-- Start collecting query time metrics,
|
|
SET GLOBAL query_response_time_stats = on;
|