MySQL Forums
Forum List  »  InnoDB

Re: How to disable write cache in every way on mysql / innodb?
Posted by: Jan Marti
Date: September 01, 2018 06:58AM

What about "FLUSH TABLE(S) ..., ..., ... FOR EXPORT;" after the critical write operations?

-> https://dev.mysql.com/doc/refman/8.0/en/flush.html#flush-tables-for-export-with-list

"This FLUSH TABLES variant applies to InnoDB tables. It ensures that changes to the named tables have been flushed to disk so that binary table copies can be made while the server is running."


"FLUSH TABLE is a synonym for FLUSH TABLES."

The used engine does (InnoDB, MyISAM, whatever) not matter on TABLE/TABLES?


(...and we also need to use transactions for sure, until now our sw developers didn't use them because they was thinking it's not a critical business application. if there are 2 or more write/update/delete operations and there is a power loss between them - hmmmm, not a nice situation!!)



Best regards,
Jan

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.