How Mysql load data in file statment behaves in case of exception -
i inserting data table mysql load data local infile
statement. csv file contains 50000 rows.
my question suppose load data infile stament has inserted 30000 rows , @ time power failure or exception has occurred. in case mysql automatically rollback transaction or there 30000 rows table.
it depends engine using.
remember myisam doesn't support transactions, myisam find in database rows inserted moment
with innodb instead, rollback find no rows inserted.
Comments
Post a Comment