Skip to main content

Configure MySQL Settings

Configure the following in the DB Parameter Group and then restart the server for the settings to take effect.

MySQL 8.0+

ParameterValueDescription
performance_schema1Required. Enables the Performance Schema.
max_digest_length4096Required for collection of larger queries. Increases the size of SQL digest text in events_statements_* tables. If left at the default value, queries longer than 1024 characters will not be collected.
performance_schema_max_digest_length4096Must match max_digest_length.
performance_schema_max_sql_text_length4096Recommended to match max_digest_length. Controls the maximum length of full SQL text stored in events_statements_* tables.

MySQL 5.7

ParameterValueDescription
performance_schema1Required. Enables the Performance Schema.
max_digest_length4096Required for collection of larger queries. Increases the size of SQL digest text in events_statements_* tables. If left at the default value, queries longer than 1024 characters will not be collected.
performance_schema_max_digest_length4096Must match max_digest_length.
performance_schema_max_sql_text_length4096Recommended to match max_digest_length. Controls the maximum length of full SQL text stored in events_statements_* tables.
Note: These parameters require MySQL 5.7.6 or later.

MySQL 5.6

ParameterValueDescription
performance_schema1Required. Enables the Performance Schema.
Note: max_digest_length, performance_schema_max_digest_length, and performance_schema_max_sql_text_length are not available in MySQL 5.6.