From bed7d9cfe6df59592833361c269bcf8eb3010ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Guzm=C3=A1n=20Burgos?= <7537643+nethalo@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:13:32 -0500 Subject: [PATCH] Adding note on performance_schema_max_digest_length --- docs/setting-up/client/mysql.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/setting-up/client/mysql.md b/docs/setting-up/client/mysql.md index 6d20af6573..a1eca7aab5 100644 --- a/docs/setting-up/client/mysql.md +++ b/docs/setting-up/client/mysql.md @@ -206,6 +206,9 @@ To use *Performance Schema*, set the variables below. | [`performance-schema-consumer-statements-digest`][perfschema-consumer-statements-digest] | `ON` | Configures the `statements-digest` consumer. | [`innodb_monitor_enable`][sysvar_innodb_monitor_enable] | all | Enables InnoDB metrics counters. +!!! caution alert alert-warning "Important" + When dealing with long queries, increasing the value of the variable [performance_schema_max_digest_length](https://dev.mysql.com/doc/refman/8.0/en/performance-schema-system-variables.html#sysvar_performance_schema_max_digest_length) will avoid having query examples truncated. + #### Examples - Configuration file.