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

v1.7.19 minor message oddity #503

Closed
davidfavor opened this issue Jun 12, 2020 · 3 comments
Closed

v1.7.19 minor message oddity #503

davidfavor opened this issue Jun 12, 2020 · 3 comments

Comments

@davidfavor
Copy link

In my.cnf settings are...

innodb_buffer_pool_size        = 12G 
innodb_buffer_pool_instances   = 12
innodb_log_file_size           = 1G

Emitted suggested tunings...

Variables to adjust:
    query_cache_size (=0)
    query_cache_type (=0)
    query_cache_limit (> 0B, or use smaller result sets)
    innodb_log_file_size should be (=1G) if possible, so InnoDB total log files size equals to 25% of buffer pool size.

This seems incorrect, since innodb_log_file_size is already set to 1G.

Checking variables, correct my.cnf value seems to have been ingested...

# db-variables | grep innodb_log_file_size
innodb_log_file_size	1073741824
@gessel
Copy link

gessel commented Jun 29, 2020

I'm seeing this too, at least two variables (the other two above, query_cache_limit and innodb_log_file_size are being correctly parsed in my install):

Variables to adjust:
    query_cache_size (=0)
    query_cache_type (=0)

but configured as:

 # grep query_cache_  /usr/local/etc/mysql/my.cnf
 query_cache_limit = 2M
 query_cache_size = 64M
 query_cache_type = 1

And verified as interpreted by:

 # mysqladmin -u root -p variables | grep query_cache_
| log_slow_filter                                        | admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,not_using_index,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| query_cache_limit                                      | 2097152                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| query_cache_min_res_unit                               | 4096                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| query_cache_size                                       | 67108864                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| query_cache_strip_comments                             | OFF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| query_cache_type                                       | ON

MariaDB version

# pkg version -v | grep maria
mariadb104-client-10.4.13_2        =   up-to-date with index
mariadb104-server-10.4.13_2        =   up-to-date with index

MySQLTuner version:

# pkg version -v | grep tuner
mysqltuner-1.7.17                  =   up-to-date with index

@jmrenouard
Copy link
Collaborator

Hi @gessel Hi @davidfavor

Can you perform tests with last version: 17.25+ ?

Thanks
@jmrenouard

@davidfavor
Copy link
Author

Messages seem much clearer now.

Thanks!

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

3 participants