From 56f8466cb7bbdc25bdab19336334632a35da5361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Guzm=C3=A1n=20Burgos?= <7537643+nethalo@users.noreply.github.com> Date: Mon, 20 May 2024 10:04:11 -0500 Subject: [PATCH] Adding note on performance_schema_max_digest_length (#1153) Co-authored-by: Rasika Chivate <95711051+rasika-chivate@users.noreply.github.com> Co-authored-by: Ivan Groenewold <9805809+igroene@users.noreply.github.com> --- 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 3307c5e73c..daa2fec42f 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.