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
6541
July 17, 2020 03:37AM
2166
July 17, 2020 11:36AM
Re: Painfully slow import
2012
July 17, 2020 11:53AM
1671
July 17, 2020 12:18PM
1759
July 17, 2020 12:26PM
1512
July 17, 2020 03:35PM
1647
July 19, 2020 07:10AM
1571
July 19, 2020 11:57AM
1802
July 19, 2020 01:00PM
1736
July 19, 2020 01:48PM
1709
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.