Recommendation on innodb_adaptive_hash_index_partitions #479
This commit is contained in:
parent
7bf727669b
commit
7db9bbeeb7
2 changed files with 24 additions and 24 deletions
32
README.md
32
README.md
|
@ -37,29 +37,29 @@ Compatibility
|
||||||
====
|
====
|
||||||
Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.org/major/MySQLTuner-perl)
|
Test result are available here: [Travis CI/MySQLTuner-perl](https://travis-ci.org/major/MySQLTuner-perl)
|
||||||
* MySQL 8.0 (partial support, password checks don't work)
|
* MySQL 8.0 (partial support, password checks don't work)
|
||||||
|
* Percona Server 8.0 (partial support, password checks don't work)
|
||||||
* MySQL 5.7 (full support)
|
* MySQL 5.7 (full support)
|
||||||
* MySQL 5.6 (full support, no more MySQL support)
|
* Percona Server 5.7 (full support)
|
||||||
* MySQL 5.5 (full support, no more MySQL support)
|
* MariaDB 10.6 (full support)
|
||||||
* MariaDB 10.5 (full support)
|
* MariaDB 10.5 (full support)
|
||||||
* MariaDB 10.4 (full support)
|
* MariaDB 10.4 (full support)
|
||||||
* MariaDB 10.3 (full support)
|
* MariaDB 10.3 (full support)
|
||||||
* MariaDB 10.2 (full support)
|
* Galera replication (full support)
|
||||||
* MariaDB 10.1 (full support, no more MariaDB support)
|
* Percona XtraDB cluster (full support)
|
||||||
* MariaDB 10.0 (full support, no more MariaDB support)
|
|
||||||
* MariaDB 5.5 (full support, no more MariaDB support)
|
|
||||||
* Percona Server 8.0 (partial support, password checks don't work)
|
|
||||||
* Percona Server 5.7 (full support)
|
|
||||||
* Percona Server 5.6 (full support)
|
|
||||||
|
|
||||||
* Percona XtraDB cluster (partial support, no test environment)
|
|
||||||
* Mysql Replications (partial support, no test environment)
|
* Mysql Replications (partial support, no test environment)
|
||||||
* Galera replication (partial support, no test environment)
|
|
||||||
|
|
||||||
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (partial support - deprecated version)
|
* MySQL 5.6 (no support, deprecated version)
|
||||||
|
* Percona Server 5.6 (no support, deprecated version)
|
||||||
|
* MySQL 5.5 (no support, deprecated version)
|
||||||
|
* MariaDB 5.5 (no support, deprecated version)
|
||||||
|
* MariaDB 10.2 (no support, deprecated version)
|
||||||
|
* MariaDB 10.1 (no support, deprecated version)
|
||||||
|
* MariaDB 10.0 (no support, deprecated version)
|
||||||
|
* MySQL 3.23, 4.0, 4.1, 5.0, 5.1 (no support - deprecated version)
|
||||||
|
|
||||||
*** UNSUPPORTED ENVIRONMENTS - NEED HELP FOR THAT :) ***
|
*** UNSUPPORTED ENVIRONMENTS - NEED HELP FOR THAT :) ***
|
||||||
* Windows is not supported at this time (Help wanted !!!!!)
|
* Windows is not supported at this time (Help wanted !!!!!)
|
||||||
* Cloud based is not supported at this time (Help wanted !!!!!)
|
* Cloud based is not supported at this time (Help wanted !!!!! GCP, AWS, Azure support asked)
|
||||||
|
|
||||||
* CVE vulnerabilities detection support from [https://cve.mitre.org](https://cve.mitre.org)
|
* CVE vulnerabilities detection support from [https://cve.mitre.org](https://cve.mitre.org)
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ Optional Sysschema installation for MySQL 5.6
|
||||||
|
|
||||||
Sysschema is installed by default under MySQL 5.7 and MySQL 8 from Oracle.
|
Sysschema is installed by default under MySQL 5.7 and MySQL 8 from Oracle.
|
||||||
By default, on MySQL 5.6/5.7/8, performance schema is enabled by default.
|
By default, on MySQL 5.6/5.7/8, performance schema is enabled by default.
|
||||||
For previous 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
|
For previous MySQL 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
|
||||||
|
|
||||||
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
|
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
|
||||||
# check zip file
|
# check zip file
|
||||||
|
@ -128,7 +128,7 @@ For previous 5.6 version, you can follow this command to create a new database s
|
||||||
Optional Performance schema and Sysschema installation for MariaDB 10.x
|
Optional Performance schema and Sysschema installation for MariaDB 10.x
|
||||||
--
|
--
|
||||||
|
|
||||||
Sysschema is not installed by default under MariaDB 10.x.
|
Sysschema is not installed by default under MariaDB prior to 10.6
|
||||||
By default, on MariaDB, performance schema is disabled by default. consider activating performance schema across your my.cnf configuration file:
|
By default, on MariaDB, performance schema is disabled by default. consider activating performance schema across your my.cnf configuration file:
|
||||||
|
|
||||||
[mysqld]
|
[mysqld]
|
||||||
|
|
|
@ -2165,6 +2165,8 @@ sub get_replication_status {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# https://endoflife.software/applications/databases/mysql
|
||||||
|
# https://endoflife.date/mariadb
|
||||||
sub validate_mysql_version {
|
sub validate_mysql_version {
|
||||||
( $mysqlvermajor, $mysqlverminor, $mysqlvermicro ) =
|
( $mysqlvermajor, $mysqlverminor, $mysqlvermicro ) =
|
||||||
$myvar{'version'} =~ /^(\d+)(?:\.(\d+)|)(?:\.(\d+)|)/;
|
$myvar{'version'} =~ /^(\d+)(?:\.(\d+)|)(?:\.(\d+)|)/;
|
||||||
|
@ -2172,25 +2174,23 @@ sub validate_mysql_version {
|
||||||
$mysqlvermicro ||= 0;
|
$mysqlvermicro ||= 0;
|
||||||
|
|
||||||
if ( mysql_version_eq(8)
|
if ( mysql_version_eq(8)
|
||||||
or mysql_version_eq( 5, 6 )
|
|
||||||
or mysql_version_eq( 5, 7 )
|
or mysql_version_eq( 5, 7 )
|
||||||
or mysql_version_eq( 10, 2 )
|
|
||||||
or mysql_version_eq( 10, 3 )
|
or mysql_version_eq( 10, 3 )
|
||||||
or mysql_version_eq( 10, 4 )
|
or mysql_version_eq( 10, 4 )
|
||||||
or mysql_version_eq( 10, 5 )
|
or mysql_version_eq( 10, 5 )
|
||||||
or mysql_version_eq( 10, 6 ) )
|
or mysql_version_eq( 10, 6 )
|
||||||
|
)
|
||||||
{
|
{
|
||||||
goodprint "Currently running supported MySQL version "
|
goodprint "Currently running supported MySQL version "
|
||||||
. $myvar{'version'} . "";
|
. $myvar{'version'} . "";
|
||||||
return;
|
return;
|
||||||
}
|
} else {
|
||||||
if ( mysql_version_ge(5)
|
|
||||||
or mysql_version_ge(4)
|
|
||||||
or mysql_version_eq( 10, 0 ) )
|
|
||||||
{
|
|
||||||
badprint "Your MySQL version "
|
badprint "Your MySQL version "
|
||||||
. $myvar{'version'}
|
. $myvar{'version'}
|
||||||
. " is EOL software! Upgrade soon!";
|
. " is EOL software! Upgrade soon!";
|
||||||
|
push ( @recommendations, "You are using n unsupported version for production environments");
|
||||||
|
push ( @recommendations, "Upgrade as soon as possible to a supported version !");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue