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

Turn off InnoDB Redo Log #1

Open
jrchamp opened this issue Sep 25, 2023 · 0 comments
Open

Turn off InnoDB Redo Log #1

jrchamp opened this issue Sep 25, 2023 · 0 comments

Comments

@jrchamp
Copy link

jrchamp commented Sep 25, 2023

As of MySQL 8.0.21, it is possible to turn off the InnoDB Redo Log using this SQL: ALTER INSTANCE DISABLE INNODB REDO_LOG

I noticed a significant reduction in unnecessary disk writes when running tests this way. It is documented as being helpful load databases quickly, which is exactly what we want for test suites, especially because we're not worried about potential loss of important data.

I have no idea how to implement this as part of this action, but the equivalent command line could be:

echo 'ALTER INSTANCE DISABLE INNODB REDO_LOG' | mysql -h 127.0.0.1 -u test -p test
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