T
T
TechNOIR2018-06-10 15:04:40
MySQL
TechNOIR, 2018-06-10 15:04:40

MySQL. How to speed up the import of a large dump (40GB)?

Good afternoon.
Are there any ways to speed up the import of a large dump somehow? The dump weighs 40GB
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2018-06-10
@Sanasol

ssd and normal percent
Well, of course, download via the console
mysql -uUSER -p database <dump.sql
You can of course tweak the configs, but it already depends on the database and what data to tweak. I'm not sure that will give a significant increase.

B
bkosun, 2018-06-10
@bkosun

mysqldump -uroot DB | mysql --host=host -uroot -ppass -C DB

https://toster.ru/answer?answer_id=1223214#answers...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question