MySQL8.0 优化

参考
https://dev.mysql.com/doc/refman/8.0/en/insert-optimization.html
https://dev.mysql.com/doc/refman/8.0/en/optimizing-innodb-bulk-data-loading.html

SSD IO优化
https://dev.mysql.com/doc/refman/8.0/en/optimizing-innodb-diskio.html
innodb_log_compressed_pages
If redo logs are on non-rotational storage, consider disabling this option to reduce logging. See Disable logging of compressed pages.

When using the InnoDB table compression feature, images of re-compressed pages are written to the redo log when changes are made to compressed data. This behavior is controlled by innodb_log_compressed_pages, which is enabled by default to prevent corruption that can occur if a different version of the zlib compression algorithm is used during recovery. If you are certain that the zlib version will not change, disable innodb_log_compressed_pages to reduce redo log generation for workloads that modify compressed data.
差不多的意思。。关了试试。。

posted @ 2018-11-06 11:07  Coye  阅读(754)  评论(0编辑  收藏  举报