Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB dump consistency #36

Open
Horkyze opened this issue Apr 6, 2018 · 0 comments
Open

DB dump consistency #36

Horkyze opened this issue Apr 6, 2018 · 0 comments

Comments

@Horkyze
Copy link

Horkyze commented Apr 6, 2018

Correct me of I am wrong, but I noticed that while executing the mysqldump command, it is without the option --single-transaction nor --lock-tables (for InnoDB and MyISAM respectively), hence the consistency of the dump is not guaranteed. This is really bad and can cause a lot of issues when restoring the dump.

Another fact it, the mysqldump can also take --quick option to create the dump faster (for large table).

Same goes for mariadb, and perhaps psql.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant