Can MySqlBulkLoader be used with a transaction? I don’t see a way to explicitly attach a transaction to an instance of the loader. Is there another way?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As stated here by member of MySQL documentation team:
Work arround is to import data to dedicated table and then execute
INSERT INTO ... SELECT ...which will be atomic operation. On huge data sets this is potential problem becasue of long transaction.