MySQL Forums
Forum List  »  Docs

Re: Is it a error in doc?
Posted by: Zhao Stephen
Date: July 13, 2022 12:52AM

Bug #107783
Verification Team consider it not a bug, just a rudimentary formula.

But I think adding another limit to take a smaller value between the computed value and 64 is more reasonable.

if (auto_buf_pool_size_in_gb < 1.0) {
;
} else if (auto_buf_pool_size_in_gb < 8.0) {
srv_n_log_files = static_cast<ulong>(round(auto_buf_pool_size_in_gb));
} else if (auto_buf_pool_size_in_gb <= 128.0) {
srv_n_log_files =
static_cast<ulong>(round(auto_buf_pool_size_in_gb * 0.75));
// add a if: begin
if (srv_n_log_files > 64) {
srv_n_log_files = 64;
}
// add a if: end
} else {
srv_n_log_files = 64;
}

Options: ReplyQuote


Subject
Views
Written By
Posted
274
July 06, 2022 08:33AM
158
July 06, 2022 08:59AM
136
July 06, 2022 09:40AM
130
July 06, 2022 09:58AM
138
July 11, 2022 05:58AM
Re: Is it a error in doc?
135
July 13, 2022 12:52AM
100
October 06, 2022 10:00AM
25
December 07, 2022 06:14AM


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.