mysql导入慢解决方法

时间:2017-11-02 21:01:29   收藏:0   阅读:292

[mysqldump]
max_allowed_packet = 512M

 

[mysqld]
interactive_timeout = 120
innodb_change_buffering=all
innodb_change_buffer_max_size=25
# innodb_buffer_pool_instances=1 Change at your own discretion
innodb_buffer_pool_size=3072M
innodb_log_file_size=384M
innodb_log_buffer_size=128M
innodb_flush_log_at_trx_commit=0
skip-innodb_doublewrite


mysql -uroot

SET autocommit=0;
SET unique_checks=0;
SET foreign_key_checks=0;
source e:\export.sql
COMMIT;
SET unique_checks=1;
SET foreign_key_checks=1;

原文:http://www.cnblogs.com/passedbylove/p/7774189.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!