-
Notifications
You must be signed in to change notification settings - Fork 86
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
mysqlcluster: innodb_log_file_size auto config. #501 #510
Conversation
add unit test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can refer to the following https://dev.mysql.com/doc/refman/8.0/en/innodb-dedicated-server.html
Perhaps we can set these size flowing below:
As of MySQL 8.0.14, log file size is configured according to the automatically configured buffer pool size.
Table 15.9 Automatically Configured Log File Size
Buffer Pool Size Log File Size Less than 8GB 512MiB 8GB to 128GB 1024MiB Greater than 128GB 2048MiB
and all this parameters can be set defalut according to innodb_dedicated_server
:
innodb_log_files_in_group
(as of MySQL 8.0.14)
You can refer to the following https://dev.mysql.com/doc/refman/8.0/en/innodb-dedicated-server.html Perhaps we can set these size flowing below:
-
As of MySQL 8.0.14, log file size is configured according to the automatically configured buffer pool size.
Table 15.9 Automatically Configured Log File Size
Buffer Pool Size Log File Size Less than 8GB 512MiB 8GB to 128GB 1024MiB Greater than 128GB 2048MiB
and all this parameters can be set defalut according to [innodb_dedicated_server](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_dedicated_server)
:
[innodb_buffer_pool_size](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size)
[innodb_log_file_size](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_file_size)
[innodb_log_files_in_group](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_files_in_group)
(as of MySQL 8.0.14)[innodb_flush_method](https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_flush_method)
60a9313
to
9a1cdb0
Compare
9a1cdb0
to
30de970
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
Fixes #501
What this PR does?
Summary:
Special notes for your reviewer?