Bug #100811 | performance degradation in MySQL-8.0 vs MySQL-5.7 in simple DML operations. | ||
---|---|---|---|
Submitted: | 11 Sep 2020 9:22 | Modified: | 11 Sep 2020 13:25 |
Reporter: | Eugene Polovnikov | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S5 (Performance) |
Version: | 8.0.20 | OS: | Oracle Linux |
Assigned to: | CPU Architecture: | Any |
[11 Sep 2020 9:22]
Eugene Polovnikov
[11 Sep 2020 9:24]
Eugene Polovnikov
the following settings was used for the both mysql-5.7 and 8.0 during tests: [mysqld] innodb_numa_interleave = ON relay-log = relay-bin relay_log_info_repository = TABLE relay_log_recovery = ON character-set-filesystem = utf8 default-time-zone = +00:00 log-bin-trust-function-creators = ON explicit_defaults_for_timestamp = ON max_allowed_packet = 16M character_set_server = latin1 collation_server = latin1_swedish_ci innodb_autoinc_lock_mode = 1 log_error_verbosity = 3 master_info_repository = FILE default_authentication_plugin=mysql_native_password max_connections = 500 log-bin = mysql-bin binlog_format = ROW performance_schema = OFF event_scheduler = ON key_buffer_size = 64M read_rnd_buffer_size = 8M read_buffer_size = 2M sort_buffer_size = 2M max_heap_table_size = 128M tmp_table_size = 128M innodb_strict_mode = ON innodb_stats_auto_recalc = ON innodb_stats_persistent_sample_pages = 40 innodb_log_buffer_size = 8M innodb_log_file_size = 100M innodb_buffer_pool_size = 4096M innodb_buffer_pool_instances = 8 innodb_buffer_pool_load_at_startup = ON innodb_buffer_pool_dump_at_shutdown = ON innodb_flush_method = O_DIRECT innodb_flush_log_at_trx_commit = 1 innodb_flush_neighbors = 1 innodb_thread_concurrency = 0 innodb_commit_concurrency = 0 table_open_cache = 2000 table_open_cache_instances = 8 innodb_adaptive_hash_index = ON innodb_io_capacity = 400 innodb_write_io_threads = 4 innodb_read_io_threads = 4 innodb_purge_threads = 2 innodb_print_all_deadlocks = ON sync_binlog = 0 innodb_undo_log_truncate = off
[11 Sep 2020 13:25]
MySQL Verification Team
Thank you for the bug report. Reported in several prior bug report: https://bugs.mysql.com/bug.php?id=94387, https://bugs.mysql.com/bug.php?id=93734, https://bugs.mysql.com/bug.php?id=94283