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
2613
July 17, 2020 03:37AM
989
July 17, 2020 11:36AM
Re: Painfully slow import
954
July 17, 2020 11:53AM
788
July 17, 2020 12:18PM
826
July 17, 2020 12:26PM
734
July 17, 2020 03:35PM
774
July 19, 2020 07:10AM
754
July 19, 2020 11:57AM
823
July 19, 2020 01:00PM
836
July 19, 2020 01:48PM
793
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.