Skip to content

Commit

Permalink
Adding note on performance_schema_max_digest_length
Browse files Browse the repository at this point in the history
  • Loading branch information
nethalo authored Sep 27, 2023
1 parent 94b0f3e commit bed7d9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/setting-up/client/mysql.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bed7d9c

Please sign in to comment.