diff --git a/roles/db/files/conf/z90-vn.cnf b/roles/db/files/conf/z90-vn.cnf index c7db964..6856ddd 100644 --- a/roles/db/files/conf/z90-vn.cnf +++ b/roles/db/files/conf/z90-vn.cnf @@ -34,7 +34,7 @@ table_open_cache = 50000 table_definition_cache = 10000 table_open_cache_instances = 1 key_buffer_size = 256K -max_heap_table_size = 128M +max_heap_table_size = 512M tmp_table_size = 128M concurrent_insert = ALWAYS group_concat_max_len = 10000 @@ -54,7 +54,6 @@ transaction-isolation = READ-COMMITTED idle_transaction_timeout = 60 innodb_io_capacity = 100 innodb_io_capacity_max = 100 -innodb_monitor_enable = all innodb_read_io_threads = 16 innodb_write_io_threads = 16 innodb_checksum_algorithm = crc32 @@ -89,10 +88,17 @@ query_cache_limit = 0 query_cache_type = OFF query_cache_size = 0 -#++++++++++++++++++++++++++++++++++++++++ Performance Schema + +#++++++++++++++++++++++++++++++++++++++++ Performance Schema & PMM + +innodb_monitor_enable = all performance_schema = ON performance_schema_digests_size = 20000 performance-schema-consumer-events-statements-history = ON performance_schema_consumer_events_statements_history_long = ON +performance-schema-instrument = 'statement/%=ON' +performance-schema-consumer-statements-digest = ON userstat = ON +plugin_load_add = query_response_time +query_response_time_stats = ON