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
4782
July 17, 2020 03:37AM
1660
July 17, 2020 11:36AM
Re: Painfully slow import
1547
July 17, 2020 11:53AM
1282
July 17, 2020 12:18PM
1350
July 17, 2020 12:26PM
1174
July 17, 2020 03:35PM
1247
July 19, 2020 07:10AM
1202
July 19, 2020 11:57AM
1358
July 19, 2020 01:00PM
1305
July 19, 2020 01:48PM
1281
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.