| Bug #98164 | Issues with docs for innodb_dedicated_server | ||
|---|---|---|---|
| Submitted: | 9 Jan 2020 2:24 | Modified: | 10 Jan 2020 18:37 | 
| Reporter: | Rick James | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Documentation | Severity: | S3 (Non-critical) | 
| Version: | 8.0 | OS: | Any | 
| Assigned to: | CPU Architecture: | Any | |
| Tags: | dedicated_server, documentation | ||
   [9 Jan 2020 2:24]
   Rick James        
  
 
   [9 Jan 2020 4:02]
   MySQL Verification Team        
  Hello Rick, Thank you for the report and feedback! Thanks, Umesh
   [10 Jan 2020 18:37]
   Daniel Price        
  Posted by developer:
 
1.  The text was revised as suggested.
"... consider enabling if you run MySQL Server in a Docker container 
or dedicated VM that only runs MySQL."
2.  As designed. See /storage/innobase/handler/ha_innodb.cc.
        if (server_mem < 1.0) {
          ;
        } else if (server_mem <= 4.0) {
          srv_buf_pool_size = static_cast<ulint>(server_mem * 0.5 * GB);
        } else
          srv_buf_pool_size = static_cast<ulint>(server_mem * 0.75 * GB);
3.  Content was updated to indicate the the minimum innodb_log_files_in_group minimum value of 2 is adhered to. Related code:
        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));
        } else {
          srv_n_log_files = 64;
        }
4.  The warning does not apply if a device cache is batter-backed. Text was revised. 
5.  An explicitly specified buffer pool size value is ignored. Log file size and the number of log files are based on a "possible" buffer pool size value From the code:
    /* If user has set buffer pool size in .cnf, we will not use it as base
    line for log_file_size auto tuning, instead, we will get the value of
    possible tuned buffer pool size. */
	
Text was revised.
	
Thank you for the bug report.
 
