MySQL Forums
Forum List  »  Backup

Re: Painfully slow import
Posted by: George Develekos
Date: July 17, 2020 11:53AM

Is this what you are suggesting?

zcat dump.sql.gz |mysql -u root -ppass -e "set autocommit=0; set unique_checks=0; set foreign_key_checks=0;" DB_NAME

??

Options: ReplyQuote


Subject
Views
Written By
Posted
5737
July 17, 2020 03:37AM
1949
July 17, 2020 11:36AM
Re: Painfully slow import
1826
July 17, 2020 11:53AM
1521
July 17, 2020 12:18PM
1594
July 17, 2020 12:26PM
1381
July 17, 2020 03:35PM
1490
July 19, 2020 07:10AM
1416
July 19, 2020 11:57AM
1600
July 19, 2020 01:00PM
1552
July 19, 2020 01:48PM
1523
July 19, 2020 02:48PM


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.