mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
fix perfschema.sizing_* tests to run
still cannot be enabled permanently, but at least they could be run manually, if needed
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
|
||||
!include include/default_mysqld_autosize.cnf
|
||||
!include suite/perfschema/include/default_mysqld_autosize.cnf
|
||||
|
||||
[mysqld.1]
|
||||
|
||||
@ -14,6 +14,8 @@
|
||||
|
||||
# Automated sizing for everything
|
||||
|
||||
loose-enable-performance-schema
|
||||
|
||||
loose-performance-schema-accounts-size=-1
|
||||
loose-performance-schema-digests-size=-1
|
||||
loose-performance-schema-hosts-size=-1
|
||||
|
@ -5,27 +5,25 @@
|
||||
--source include/not_valgrind.inc
|
||||
--source ../include/have_aligned_memory.inc
|
||||
|
||||
#SELECT @@open_files_limit, @@table_open_cache, @@table_definition_cache, @@max_connections;
|
||||
#exit;
|
||||
|
||||
# Skip test if not defaults is used.
|
||||
let $max_open_files_limit= `SELECT @@open_files_limit < 5000`;
|
||||
if ($max_open_files_limit)
|
||||
if (`SELECT @@open_files_limit < 1024`)
|
||||
{
|
||||
skip Need open_files_limit to be at least 5000;
|
||||
skip Need open_files_limit to be at least 1024;
|
||||
}
|
||||
let $max_table_open_cache= `SELECT @@table_open_cache != 2000`;
|
||||
if ($max_table_open_cache)
|
||||
if (`SELECT @@table_open_cache != 421`)
|
||||
{
|
||||
skip Need table_open_cache to be exactly 2000;
|
||||
skip Need table_open_cache to be exactly 421;
|
||||
}
|
||||
let $max_table_definition_cache= `SELECT @@table_definition_cache != 1400`;
|
||||
if ($max_table_definition_cache)
|
||||
if (`SELECT @@table_definition_cache != 400`)
|
||||
{
|
||||
skip Need table_definition_cache to be exactly 1400;
|
||||
skip Need table_definition_cache to be exactly 400;
|
||||
}
|
||||
let $max_connections= `SELECT @@max_connections != 151`;
|
||||
if ($max_connections)
|
||||
if (`SELECT @@max_connections != 151`)
|
||||
{
|
||||
skip Need max_connections to be exactly 151;
|
||||
}
|
||||
|
||||
--source ../include/sizing_auto.inc
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
!include include/default_mysqld_autosize.cnf
|
||||
!include suite/perfschema/include/default_mysqld_autosize.cnf
|
||||
|
||||
[mysqld.1]
|
||||
|
||||
@ -32,6 +32,7 @@ open_files_limit=1024
|
||||
# max_connections*5 = 200*5 = 1000
|
||||
|
||||
# Automated sizing for everything
|
||||
loose-enable-performance-schema
|
||||
|
||||
loose-performance-schema-accounts-size=-1
|
||||
loose-performance-schema-digests-size=-1
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
!include include/default_mysqld_autosize.cnf
|
||||
!include suite/perfschema/include/default_mysqld_autosize.cnf
|
||||
|
||||
[mysqld.1]
|
||||
|
||||
@ -9,6 +9,7 @@ max_connections=50
|
||||
open_files_limit=1024
|
||||
|
||||
# Automated sizing for everything
|
||||
loose-enable-performance-schema
|
||||
|
||||
loose-performance-schema-accounts-size=-1
|
||||
loose-performance-schema-digests-size=-1
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
!include include/default_mysqld_autosize.cnf
|
||||
!include suite/perfschema/include/default_mysqld_autosize.cnf
|
||||
|
||||
[mysqld.1]
|
||||
|
||||
@ -9,6 +9,7 @@ max_connections=152
|
||||
open_files_limit=1024
|
||||
|
||||
# Automated sizing for everything
|
||||
loose-enable-performance-schema
|
||||
|
||||
loose-performance-schema-accounts-size=-1
|
||||
loose-performance-schema-digests-size=-1
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
!include include/default_mysqld_autosize.cnf
|
||||
!include suite/perfschema/include/default_mysqld_autosize.cnf
|
||||
|
||||
[mysqld.1]
|
||||
|
||||
|
Reference in New Issue
Block a user