I follow these instructions to speed up loading a big local file (500+M
, 10+M
rows) into MySQL, adding configurations to /etc/mysql/my.cnf
:
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
local-infile=1
# add following code
innodb_doublewrite = 0
innodb_support_xa = 0
but encounter following issues:
mysql: unknown variable 'innodb_doublewrite=0'
mysql: unknown variable 'innodb_support_xa=0'
PS: MySQL version
$ mysql --version
mysql Ver 14.14 Distrib 5.6.27, for debian-linux-gnu (x86_64) using EditLine wrapper