Slow inserts/restore from backup
I created dump in mysql 5.6 and try to restore to mysql 8.0 and the speed of the restore is lower in 7-10 times than restore in mysql 5.6. I tested on Linux and FreeBSD on the same hardware.
This options doesn't helps:
skip-log-bin
ssl=0
innodb_undo_log_truncate=off
innodb_doublewrite=0
innodb-flush-method = O_DSYNC or O_DIRECT there is no difference
transaction_isolation = READ-COMMITTED - any value doesn't matter
Other innodb settings:
# INNODB #
innodb-flush-method = O_DSYNC
innodb-log-files-in-group = 3
innodb-log-file-size = 256M
innodb-flush-log-at-trx-commit = 0
innodb-file-per-table = 1
innodb-buffer-pool-size = 12G
innodb_data_file_path = ibdata1:128M:autoextend
innodb_flush_neighbors = 0
innodb_write_io_threads = 32
innodb_read_io_threads = 32
innodb_thread_concurrency = 32
Subject
Views
Written By
Posted
Slow inserts/restore from backup
1308
October 02, 2018 02:55AM
2483
January 02, 2019 07:31AM
988
January 02, 2019 12:09PM
1231
January 02, 2019 03:18PM
949
January 02, 2019 04:41PM
1029
January 02, 2019 07:03PM
870
January 11, 2019 02:37PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.