sorry. typo. 4.2.15
I just checked the databases via mysql tuner.
Below are specs for maschine.
VM
5GB RAM
6 vCPU;s
–
[root@help mysql]# free -h
total used free shared buffers cached
Mem: 4.9G 4.7G 122M 20K 6.1M 349M
-/+ buffers/cache: 4.4G 477M
Swap: 3.9G 43M 3.9G
---- my.cnf snip of innodb settings
#innodb_data_home_dir = /var/lib/mysql
innodb_log_files_in_group = 3
innodb_log_file_size = 341MB
innodb_log_buffer_size = 128M
innodb_flush_log_at_trx_commit = 1
innodb_buffer_pool_size = 3584MB
innodb_additional_mem_pool_size = 2M
innodb_file_io_threads = 4
innodb_lock_wait_timeout = 50
innodb_buffer_pool_instances = 3
#sort_buffer = 2M
innodb_flush_method = O_DIRECT
table_cache = 600
max_heap_table_size = 512M
tmp_table_size = 256M
thread_cache_size = 3
max_connections=20
below are my results.
–
[OK] Currently running supported MySQL version 5.5.61
[OK] Operating on 64-bit architecture
-------- Database Metrics --------------------------------------------------------------------------
[!!] 3 different collations for database help_rt
[OK] 1 engine for help_rt database.
[!!] help_rt table column(s) has several charsets defined for all text like column(s).
[!!] help_rt table column(s) has several collations defined for all text like column(s).
-------- Storage Engine Statistics -----------------------------------------------------------------
[OK] Total fragmented tables: 0
-------- Analysis Performance Metrics --------------------------------------------------------------
[OK] No stat updates during querying INFORMATION_SCHEMA.
-------- Database Metrics --------------------------------------------------------------------------
[!!] 3 different collations for database help_rt
[OK] 1 engine for help_rt database.
[!!] help_rt table column(s) has several charsets defined for all text like column(s).
[!!] help_rt table column(s) has several collations defined for all text like column(s).
-------- Table Column Metrics ----------------------------------------------------------------------
[!!] Consider changing type for column id in table help_rt.ACL
[!!] Consider changing type for column PrincipalType in table help_rt.ACL
[!!] Consider changing type for column PrincipalId in table help_rt.ACL
[!!] Consider changing type for column RightName in table help_rt.ACL
[!!] Consider changing type for column ObjectType in table help_rt.ACL
[!!] Consider changing type for column ObjectId in table help_rt.ACL
[!!] Consider changing type for column Creator in table help_rt.ACL
[!!] Consider changing type for column Created in table help_rt.ACL
[!!] Consider changing type for column LastUpdatedBy in table help_rt.ACL
[!!] Consider changing type for column LastUpdated in table help_rt.ACL
[!!] Consider changing type for column id in table help_rt.Articles
[!!] Consider changing type for column Name in table help_rt.Articles
[!!] Consider changing type for column Summary in table help_rt.Articles
[!!] Consider changing type for column SortOrder in table help_rt.Articles
[!!] Consider changing type for column Class in table help_rt.Articles
[!!] Consider changing type for column Parent in table help_rt.Articles
[!!] Consider changing type for column URI in table help_rt.Articles
[!!] Consider changing type for column Creator in table help_rt.Articles
[!!] Consider changing type for column Created in table help_rt.Articles
[!!] Consider changing type for column LastUpdatedBy in table help_rt.Articles
[!!] Consider changing type for column LastUpdated in table help_rt.Articles
[!!] Consider changing type for column id in table help_rt.Attachments
[!!] Consider changing type for column TransactionId in table help_rt.Attachments
[!!] Consider changing type for column Parent in table help_rt.Attachments
[!!] Consider changing type for column MessageId in table help_rt.Attachments
[!!] Consider changing type for column Subject in table help_rt.Attachments
[!!] Consider changing type for column Filename in table help_rt.Attachments
[!!] Consider changing type for column ContentType in table help_rt.Attachments
[!!] Consider changing type for column ContentEncoding in table help_rt.Attachments
ALTER TABLE help_rt.Users MODIFY SMIMECertificate CHAR(0);
MySQL was started within the last 24 hours - recommendations may be inaccurate
Reduce your overall MySQL memory footprint for system stability
Enable the slow query log to troubleshoot bad queries
Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
Consider installing Sys schema from https://github.com/mysql/mysql-sys
Variables to adjust:
query_cache_size (=0)
query_cache_type (=0)
query_cache_limit (> 16M, or use smaller result sets)
innodb_buffer_pool_size (>= 11.6G) if possible.