mirror of
https://github.com/major/MySQLTuner-perl.git
synced 2024-09-21 15:57:10 +00:00
3b9dde81ad
Files changed: A examples/github/result/mariadb/10.6/ifs_ALL_PLUGINS.csv A examples/github/result/mariadb/10.6/ifs_APPLICABLE_ROLES.csv A examples/github/result/mariadb/10.6/ifs_CHARACTER_SETS.csv A examples/github/result/mariadb/10.6/ifs_CHECK_CONSTRAINTS.csv A examples/github/result/mariadb/10.6/ifs_CLIENT_STATISTICS.csv A examples/github/result/mariadb/10.6/ifs_COLLATIONS.csv A examples/github/result/mariadb/10.6/ifs_COLLATION_CHARACTER_SET_APPLICABILITY.csv A examples/github/result/mariadb/10.6/ifs_COLUMNS.csv A examples/github/result/mariadb/10.6/ifs_COLUMN_PRIVILEGES.csv A examples/github/result/mariadb/10.6/ifs_ENABLED_ROLES.csv A examples/github/result/mariadb/10.6/ifs_ENGINES.csv A examples/github/result/mariadb/10.6/ifs_EVENTS.csv A examples/github/result/mariadb/10.6/ifs_FILES.csv A examples/github/result/mariadb/10.6/ifs_GEOMETRY_COLUMNS.csv A examples/github/result/mariadb/10.6/ifs_GLOBAL_STATUS.csv A examples/github/result/mariadb/10.6/ifs_GLOBAL_VARIABLES.csv A examples/github/result/mariadb/10.6/ifs_INDEX_STATISTICS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_BUFFER_PAGE.csv A examples/github/result/mariadb/10.6/ifs_INNODB_BUFFER_PAGE_LRU.csv A examples/github/result/mariadb/10.6/ifs_INNODB_BUFFER_POOL_STATS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_CMP.csv A examples/github/result/mariadb/10.6/ifs_INNODB_CMPMEM.csv A examples/github/result/mariadb/10.6/ifs_INNODB_CMPMEM_RESET.csv A examples/github/result/mariadb/10.6/ifs_INNODB_CMP_PER_INDEX.csv A examples/github/result/mariadb/10.6/ifs_INNODB_CMP_PER_INDEX_RESET.csv A examples/github/result/mariadb/10.6/ifs_INNODB_CMP_RESET.csv A examples/github/result/mariadb/10.6/ifs_INNODB_FT_BEING_DELETED.csv A examples/github/result/mariadb/10.6/ifs_INNODB_FT_CONFIG.csv A examples/github/result/mariadb/10.6/ifs_INNODB_FT_DEFAULT_STOPWORD.csv A examples/github/result/mariadb/10.6/ifs_INNODB_FT_DELETED.csv A examples/github/result/mariadb/10.6/ifs_INNODB_FT_INDEX_CACHE.csv A examples/github/result/mariadb/10.6/ifs_INNODB_FT_INDEX_TABLE.csv A examples/github/result/mariadb/10.6/ifs_INNODB_LOCKS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_LOCK_WAITS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_METRICS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_COLUMNS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_FIELDS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_FOREIGN.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_FOREIGN_COLS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_INDEXES.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_TABLES.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_TABLESPACES.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_TABLESTATS.csv A examples/github/result/mariadb/10.6/ifs_INNODB_SYS_VIRTUAL.csv A examples/github/result/mariadb/10.6/ifs_INNODB_TABLESPACES_ENCRYPTION.csv A examples/github/result/mariadb/10.6/ifs_INNODB_TRX.csv A examples/github/result/mariadb/10.6/ifs_KEYWORDS.csv A examples/github/result/mariadb/10.6/ifs_KEY_CACHES.csv A examples/github/result/mariadb/10.6/ifs_KEY_COLUMN_USAGE.csv A examples/github/result/mariadb/10.6/ifs_OPTIMIZER_TRACE.csv A examples/github/result/mariadb/10.6/ifs_PARAMETERS.csv A examples/github/result/mariadb/10.6/ifs_PARTITIONS.csv A examples/github/result/mariadb/10.6/ifs_PLUGINS.csv A examples/github/result/mariadb/10.6/ifs_PROCESSLIST.csv A examples/github/result/mariadb/10.6/ifs_PROFILING.csv A examples/github/result/mariadb/10.6/ifs_REFERENTIAL_CONSTRAINTS.csv A examples/github/result/mariadb/10.6/ifs_ROUTINES.csv A examples/github/result/mariadb/10.6/ifs_SCHEMATA.csv A examples/github/result/mariadb/10.6/ifs_SCHEMA_PRIVILEGES.csv A examples/github/result/mariadb/10.6/ifs_SESSION_STATUS.csv A examples/github/result/mariadb/10.6/ifs_SESSION_VARIABLES.csv A examples/github/result/mariadb/10.6/ifs_SPATIAL_REF_SYS.csv A examples/github/result/mariadb/10.6/ifs_SQL_FUNCTIONS.csv A examples/github/result/mariadb/10.6/ifs_STATISTICS.csv A examples/github/result/mariadb/10.6/ifs_SYSTEM_VARIABLES.csv A examples/github/result/mariadb/10.6/ifs_TABLES.csv A examples/github/result/mariadb/10.6/ifs_TABLESPACES.csv A examples/github/result/mariadb/10.6/ifs_TABLE_CONSTRAINTS.csv A examples/github/result/mariadb/10.6/ifs_TABLE_PRIVILEGES.csv A examples/github/result/mariadb/10.6/ifs_TABLE_STATISTICS.csv A examples/github/result/mariadb/10.6/ifs_THREAD_POOL_GROUPS.csv A examples/github/result/mariadb/10.6/ifs_THREAD_POOL_QUEUES.csv A examples/github/result/mariadb/10.6/ifs_THREAD_POOL_STATS.csv A examples/github/result/mariadb/10.6/ifs_THREAD_POOL_WAITS.csv A examples/github/result/mariadb/10.6/ifs_TRIGGERS.csv A examples/github/result/mariadb/10.6/ifs_USER_PRIVILEGES.csv A examples/github/result/mariadb/10.6/ifs_USER_STATISTICS.csv A examples/github/result/mariadb/10.6/ifs_VIEWS.csv A examples/github/result/mariadb/10.6/ifs_user_variables.csv A examples/github/result/mariadb/10.6/result.json A examples/github/result/mariadb/10.6/result.txt
401 lines
18 KiB
Plaintext
401 lines
18 KiB
Plaintext
>> MySQLTuner 2.1.1
|
|
* Jean-Marie Renouard <jmrenouard@gmail.com>
|
|
* Major Hayden <major@mhtx.net>
|
|
>> Bug reports, feature requests, and downloads at http://mysqltuner.pl/
|
|
>> Run with '--help' for additional options and output filtering
|
|
[OK] You have the latest version of MySQLTuner (2.1.1)
|
|
[OK] Logged in using credentials passed on the command line
|
|
[OK] Currently running supported MySQL version 10.6.12-MariaDB
|
|
[OK] Operating on 64-bit architecture
|
|
|
|
-------- System Linux Recommendations --------------------------------------------------------------
|
|
Look for related Linux system recommendations
|
|
[--] Ubuntu 22.04.2 LTS
|
|
[--] Machine type : Virtual machine
|
|
[--] Internet : Connected
|
|
[--] Number of Core CPU : 2
|
|
[--] Operating System Type : GNU/Linux
|
|
[--] Kernel Release : 5.15.0-1034-azure
|
|
[--] Hostname : fv-az574-349
|
|
[--] Network Cards :
|
|
[--] docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
|
|
[--] inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
|
|
[--] --
|
|
[--] eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
|
|
[--] inet 10.1.0.23 netmask 255.255.0.0 broadcast 10.1.255.255
|
|
[--] --
|
|
[--] lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
|
|
[--] inet 127.0.0.1 netmask 255.0.0.0
|
|
[--] Internal IP : 10.1.0.23 172.17.0.1
|
|
[--] HTTP client found: /usr/bin/curl
|
|
[--] External IP : % Total % Received % Xferd Average Speed Time Time Time Current, Dload Upload Total Spent Left Speed,
|
|
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
|
|
100 12 100 12 0 0 111 0 --:--:-- --:--:-- --:--:-- 112, 13.88.61.224
|
|
[--] Name Servers : 127.0.0.53
|
|
[--] Logged In users :
|
|
[--] Ram Usages in Mb :
|
|
[--] total used free shared buff/cache available
|
|
[--] Mem: 6943 886 1822 7 4235 5745
|
|
[--] Swap: 4095 0 4095
|
|
[--] Load Average :
|
|
[--] top - 16:39:29 up 5 min, 0 users, load average: 0.82, 0.56, 0.28
|
|
[--] System Uptime :
|
|
[--] 16:39:30 up 5 min, 0 users, load average: 0.82, 0.56, 0.28
|
|
[--] User process except mysqld used 125M RAM.
|
|
[--] Other user process except mysqld used less than 15% of total physical memory 1.80% (125M / 6G)
|
|
|
|
-------- Filesystem Linux Recommendations ----------------------------------------------------------
|
|
[--] mount point /boot/efi is using 6 % total space (6.04 MB / 104.35 MB)
|
|
[--] mount point /mnt is using 31 % total space (4.00 GB / 13.68 GB)
|
|
[--] mount point / is using 10 % of max allowed inodes
|
|
[--] mount point /mnt is using 1 % of max allowed inodes
|
|
|
|
-------- Kernel Information Recommendations --------------------------------------------------------
|
|
[--] Information about kernel tuning:
|
|
[--] fs.aio-max-nr = 65536
|
|
[--] fs.aio-nr = 0
|
|
[--] fs.file-max = 9223372036854775807
|
|
[--] vm.swappiness = 60
|
|
[!!] Swappiness is > 10, please consider having a value lower than 10
|
|
[--] TCP slot entries is > 100.
|
|
[!!] Max running total of the number of events is < 1M, please consider having a value greater than 1M
|
|
|
|
-------- Log file Recommendations ------------------------------------------------------------------
|
|
[!!] Log file doesn't exist
|
|
|
|
-------- Storage Engine Statistics -----------------------------------------------------------------
|
|
[--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
|
|
[--] Data in Aria tables: 32.0K (Tables: 1)
|
|
[--] Data in InnoDB tables: 146.8M (Tables: 6)
|
|
[OK] Total fragmented tables: 0
|
|
|
|
-------- Analysis Performance Metrics --------------------------------------------------------------
|
|
[--] innodb_stats_on_metadata: OFF
|
|
[OK] No stat updates during querying INFORMATION_SCHEMA.
|
|
|
|
-------- Database Metrics --------------------------------------------------------------------------
|
|
[--] There is 3 Database(s).
|
|
[--] All User Databases:
|
|
[--] +-- TABLE : 6
|
|
[--] +-- VIEW : 2
|
|
[--] +-- INDEX : 9
|
|
[--] +-- CHARS : 1 (latin1)
|
|
[--] +-- COLLA : 1 (latin1_swedish_ci)
|
|
[--] +-- ROWS : 3912102
|
|
[--] +-- DATA : 141.2M(96.22%)
|
|
[--] +-- INDEX : 5.5M(3.78%)
|
|
[--] +-- SIZE : 146.8M
|
|
[--] +-- ENGINE: 1 (InnoDB)
|
|
|
|
[--] Database: employees
|
|
[--] +-- TABLE : 6
|
|
[--] +-- VIEW : 2
|
|
[--] +-- INDEX : 9
|
|
[--] +-- CHARS : 1 (latin1)
|
|
[--] +-- COLLA : 1 (latin1_swedish_ci)
|
|
[--] +-- ROWS : 3912102
|
|
[--] +-- DATA : 141.2M(96.22%)
|
|
[--] +-- INDEX : 5.5M(3.78%)
|
|
[--] +-- TOTAL : 146.8M
|
|
[--] +-- ENGINE: 1 (InnoDB)
|
|
[--] +-- ENGINE InnoDB : 6 TABLE(s)
|
|
[OK] 1 collation for employees database.
|
|
[OK] 1 engine for employees database.
|
|
[--] Charsets for employees database table column: latin1
|
|
[OK] employees table column(s) has same charset defined for all text like column(s).
|
|
[--] Collations for employees database table column: latin1_swedish_ci
|
|
[OK] employees table column(s) has same collation defined for all text like column(s).
|
|
|
|
-------- Table Column Metrics ----------------------------------------------------------------------
|
|
[--] Database: employees
|
|
[--] +-- TABLE: departments
|
|
[--] +-- TYPE: InnoDB
|
|
[--] +-- Index dept_name - Cols: dept_name - Type: BTREE
|
|
[--] +-- Index PRIMARY - Cols: dept_no - Type: BTREE
|
|
[--] +-- Column departments.dept_no: CHAR(4) NOT NULL
|
|
[--] +-- Column departments.dept_name: VARCHAR(40) NOT NULL
|
|
[--] +-- TABLE: dept_emp
|
|
[--] +-- TYPE: InnoDB
|
|
[--] +-- Index dept_no - Cols: dept_no - Type: BTREE
|
|
[--] +-- Index PRIMARY - Cols: emp_no,dept_no - Type: BTREE
|
|
[--] +-- Column dept_emp.emp_no: INT(11) NOT NULL
|
|
[--] +-- Column dept_emp.dept_no: CHAR(4) NOT NULL
|
|
[--] +-- Column dept_emp.from_date: DATE NOT NULL
|
|
[--] +-- Column dept_emp.to_date: DATE NOT NULL
|
|
[--] +-- TABLE: dept_manager
|
|
[--] +-- TYPE: InnoDB
|
|
[--] +-- Index dept_no - Cols: dept_no - Type: BTREE
|
|
[--] +-- Index PRIMARY - Cols: emp_no,dept_no - Type: BTREE
|
|
[--] +-- Column dept_manager.emp_no: INT(11) NOT NULL
|
|
[--] +-- Column dept_manager.dept_no: CHAR(4) NOT NULL
|
|
[--] +-- Column dept_manager.from_date: DATE NOT NULL
|
|
[--] +-- Column dept_manager.to_date: DATE NOT NULL
|
|
[--] +-- TABLE: employees
|
|
[--] +-- TYPE: InnoDB
|
|
[--] +-- Index PRIMARY - Cols: emp_no - Type: BTREE
|
|
[--] +-- Column employees.emp_no: INT(11) NOT NULL
|
|
[--] +-- Column employees.birth_date: DATE NOT NULL
|
|
[--] +-- Column employees.first_name: VARCHAR(14) NOT NULL
|
|
[--] +-- Column employees.last_name: VARCHAR(16) NOT NULL
|
|
[--] +-- Column employees.gender: ENUM('M','F') NOT NULL
|
|
[--] +-- Column employees.hire_date: DATE NOT NULL
|
|
[--] +-- TABLE: salaries
|
|
[--] +-- TYPE: InnoDB
|
|
[--] +-- Index PRIMARY - Cols: emp_no,from_date - Type: BTREE
|
|
[--] +-- Column salaries.emp_no: INT(11) NOT NULL
|
|
[--] +-- Column salaries.salary: INT(11) NOT NULL
|
|
[--] +-- Column salaries.from_date: DATE NOT NULL
|
|
[--] +-- Column salaries.to_date: DATE NOT NULL
|
|
[--] +-- TABLE: titles
|
|
[--] +-- TYPE: InnoDB
|
|
[--] +-- Index PRIMARY - Cols: emp_no,title,from_date - Type: BTREE
|
|
[--] +-- Column titles.emp_no: INT(11) NOT NULL
|
|
[--] +-- Column titles.title: VARCHAR(50) NOT NULL
|
|
[--] +-- Column titles.from_date: DATE NOT NULL
|
|
[--] +-- Column titles.to_date: DATE NULL
|
|
|
|
-------- Indexes Metrics ---------------------------------------------------------------------------
|
|
[--] Worst selectivity indexes:
|
|
[--] Index: dept_no(dept_no)
|
|
[--] +-- COLUMN : employees.dept_emp
|
|
[--] +-- NB SEQS : 1 sequence(s)
|
|
[--] +-- NB COLS : 1 column(s)
|
|
[--] +-- CARDINALITY : 16 distinct values
|
|
[--] +-- NB ROWS : 331570 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 0.00%
|
|
[!!] dept_no(dept_no) has a low selectivity
|
|
[--] Index: PRIMARY(emp_no)
|
|
[--] +-- COLUMN : employees.salaries
|
|
[--] +-- NB SEQS : 1 sequence(s)
|
|
[--] +-- NB COLS : 2 column(s)
|
|
[--] +-- CARDINALITY : 709606 distinct values
|
|
[--] +-- NB ROWS : 2838426 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 25.00%
|
|
[--] Index: PRIMARY(emp_no)
|
|
[--] +-- COLUMN : employees.dept_emp
|
|
[--] +-- NB SEQS : 1 sequence(s)
|
|
[--] +-- NB COLS : 2 column(s)
|
|
[--] +-- CARDINALITY : 331570 distinct values
|
|
[--] +-- NB ROWS : 331570 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Index: PRIMARY(dept_no)
|
|
[--] +-- COLUMN : employees.dept_manager
|
|
[--] +-- NB SEQS : 2 sequence(s)
|
|
[--] +-- NB COLS : 2 column(s)
|
|
[--] +-- CARDINALITY : 24 distinct values
|
|
[--] +-- NB ROWS : 24 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Index: PRIMARY(title)
|
|
[--] +-- COLUMN : employees.titles
|
|
[--] +-- NB SEQS : 2 sequence(s)
|
|
[--] +-- NB COLS : 3 column(s)
|
|
[--] +-- CARDINALITY : 442783 distinct values
|
|
[--] +-- NB ROWS : 442783 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Index: PRIMARY(emp_no)
|
|
[--] +-- COLUMN : employees.employees
|
|
[--] +-- NB SEQS : 1 sequence(s)
|
|
[--] +-- NB COLS : 1 column(s)
|
|
[--] +-- CARDINALITY : 299290 distinct values
|
|
[--] +-- NB ROWS : 299290 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Index: PRIMARY(dept_no)
|
|
[--] +-- COLUMN : employees.dept_emp
|
|
[--] +-- NB SEQS : 2 sequence(s)
|
|
[--] +-- NB COLS : 2 column(s)
|
|
[--] +-- CARDINALITY : 331570 distinct values
|
|
[--] +-- NB ROWS : 331570 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Index: PRIMARY(from_date)
|
|
[--] +-- COLUMN : employees.salaries
|
|
[--] +-- NB SEQS : 2 sequence(s)
|
|
[--] +-- NB COLS : 2 column(s)
|
|
[--] +-- CARDINALITY : 2838426 distinct values
|
|
[--] +-- NB ROWS : 2838426 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Index: dept_no(dept_no)
|
|
[--] +-- COLUMN : employees.dept_manager
|
|
[--] +-- NB SEQS : 1 sequence(s)
|
|
[--] +-- NB COLS : 1 column(s)
|
|
[--] +-- CARDINALITY : 24 distinct values
|
|
[--] +-- NB ROWS : 24 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Index: PRIMARY(from_date)
|
|
[--] +-- COLUMN : employees.titles
|
|
[--] +-- NB SEQS : 3 sequence(s)
|
|
[--] +-- NB COLS : 3 column(s)
|
|
[--] +-- CARDINALITY : 442783 distinct values
|
|
[--] +-- NB ROWS : 442783 rows
|
|
[--] +-- TYPE : BTREE
|
|
[--] +-- SELECTIVITY : 100.00%
|
|
[--] Indexes per database:
|
|
[--] Database: employees
|
|
[--] +-- INDEX : departments.dept_name
|
|
[--] +-- COLUMNS : dept_name
|
|
[--] +-- CARDINALITY: 9
|
|
[--] +-- INDEX : departments.PRIMARY
|
|
[--] +-- COLUMNS : dept_no
|
|
[--] +-- CARDINALITY: 9
|
|
[--] +-- INDEX : dept_emp.dept_no
|
|
[--] +-- COLUMNS : dept_no
|
|
[--] +-- CARDINALITY: 16
|
|
[--] +-- INDEX : dept_emp.PRIMARY
|
|
[--] +-- COLUMNS : emp_no,dept_no
|
|
[--] +-- CARDINALITY: 663140
|
|
[--] +-- INDEX : dept_manager.dept_no
|
|
[--] +-- COLUMNS : dept_no
|
|
[--] +-- CARDINALITY: 24
|
|
[--] +-- INDEX : dept_manager.PRIMARY
|
|
[--] +-- COLUMNS : emp_no,dept_no
|
|
[--] +-- CARDINALITY: 48
|
|
[--] +-- INDEX : employees.PRIMARY
|
|
[--] +-- COLUMNS : emp_no
|
|
[--] +-- CARDINALITY: 299290
|
|
[--] +-- INDEX : salaries.PRIMARY
|
|
[--] +-- COLUMNS : emp_no,from_date
|
|
[--] +-- CARDINALITY: 3548032
|
|
[--] +-- INDEX : titles.PRIMARY
|
|
[--] +-- COLUMNS : emp_no,title,from_date
|
|
[--] +-- CARDINALITY: 1328349
|
|
|
|
-------- Views Metrics -----------------------------------------------------------------------------
|
|
|
|
-------- Triggers Metrics --------------------------------------------------------------------------
|
|
|
|
-------- Routines Metrics --------------------------------------------------------------------------
|
|
|
|
-------- Security Recommendations ------------------------------------------------------------------
|
|
[!!] User ''@'fv-az574-349' is an anonymous account. Remove with DROP USER ''@'fv-az574-349';
|
|
[!!] User ''@'localhost' is an anonymous account. Remove with DROP USER ''@'localhost';
|
|
[OK] All database users have passwords assigned
|
|
[!!] User 'root'@'localhost' has user name as password.
|
|
[--] There are 620 basic passwords in the list.
|
|
[!!] User 'root@localhost' is using weak password: root in a lower, upper or capitalize derivative version.
|
|
|
|
-------- CVE Security Recommendations --------------------------------------------------------------
|
|
[OK] NO SECURITY CVE FOUND FOR YOUR VERSION
|
|
|
|
-------- Performance Metrics -----------------------------------------------------------------------
|
|
[--] Up for: 1m 15s (2K q [35.893 qps], 837 conn, TX: 3M, RX: 164M)
|
|
[--] Reads / Writes: 90% / 10%
|
|
[--] Binary logging is disabled
|
|
[--] Physical Memory : 6.8G
|
|
[--] Max MySQL memory : 3.2G
|
|
[--] Other process memory: 125.4M
|
|
[--] Total buffers: 417.0M global + 18.9M per thread (151 max threads)
|
|
[--] Performance_schema Max memory usage: 0B
|
|
[--] Galera GCache Max memory usage: 0B
|
|
[--] Global Buffers
|
|
[--] +-- Key Buffer: 128.0M
|
|
[--] +-- Max Tmp Table: 16.0M
|
|
[--] Query Cache Buffers
|
|
[--] +-- Query Cache: OFF - DISABLED
|
|
[--] +-- Query Cache Size: 1.0M
|
|
[--] Per Thread Buffers
|
|
[--] +-- Read Buffer: 128.0K
|
|
[--] +-- Read RND Buffer: 256.0K
|
|
[--] +-- Sort Buffer: 2.0M
|
|
[--] +-- Thread stack: 292.0K
|
|
[--] +-- Join Buffer: 256.0K
|
|
[OK] Maximum reached memory usage: 435.9M (6.28% of installed RAM)
|
|
[OK] Maximum possible memory usage: 3.2G (47.13% of installed RAM)
|
|
[OK] Overall possible memory usage with other process is compatible with memory available
|
|
[OK] Slow queries: 0% (0/2K)
|
|
[OK] Highest usage of available connections: 0% (1/151)
|
|
[OK] Aborted connections: 0.00% (0/837)
|
|
[!!] Name resolution is active: a reverse name resolution is made for each new connection which can reduce performance
|
|
[OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
|
|
[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 12 sorts)
|
|
[!!] Joins performed without indexes: 1
|
|
[OK] Temporary tables created on disk: 19% (304 on disk / 1K total)
|
|
[OK] Thread cache hit rate: 99% (1 created / 837 connections)
|
|
[OK] Table cache hit rate: 58% (4K hits / 7K requests)
|
|
[OK] table_definition_cache (400) is greater than number of tables (300)
|
|
[OK] Open file limit used: 0% (59/32K)
|
|
[OK] Table locks acquired immediately: 100% (804 immediate / 804 locks)
|
|
|
|
-------- Performance schema ------------------------------------------------------------------------
|
|
[!!] Performance_schema should be activated.
|
|
[--] Sys schema is installed.
|
|
|
|
-------- ThreadPool Metrics ------------------------------------------------------------------------
|
|
[--] ThreadPool stat is disabled.
|
|
|
|
-------- MyISAM Metrics ----------------------------------------------------------------------------
|
|
[--] No MyISAM table(s) detected ....
|
|
|
|
-------- InnoDB Metrics ----------------------------------------------------------------------------
|
|
[--] InnoDB is enabled.
|
|
[--] InnoDB Buffers
|
|
[--] +-- InnoDB Buffer Pool: 128.0M
|
|
[--] +-- InnoDB Buffer Pool Instances: 1
|
|
[--] +-- InnoDB Buffer Pool Chunk Size: 128.0M
|
|
[--] +-- InnoDB Log File Size: 96.0M
|
|
[--] +-- InnoDB Log File In Group: 1
|
|
[--] +-- InnoDB Total Log File Size: 96.0M(75 % of buffer pool)
|
|
[--] +-- InnoDB Log Buffer: 16.0M
|
|
[--] +-- InnoDB Log Buffer Free: 0B
|
|
[--] +-- InnoDB Log Buffer Used: 7.9K
|
|
[OK] InnoDB File per table is activated
|
|
[!!] InnoDB buffer pool / data size: 128.0M / 146.8M
|
|
[!!] Ratio InnoDB log file size / InnoDB Buffer pool size (75%): 96.0M * 1 / 128.0M should be equal to 25%
|
|
[--] Number of InnoDB Buffer Pool Chunk: 1 for 1 Buffer Pool Instance(s)
|
|
[OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
|
|
[OK] InnoDB Read buffer efficiency: 100.00% (37356097 hits / 37357101 total)
|
|
[OK] InnoDB Write Log efficiency: 98.22% (16641 hits / 16942 total)
|
|
[OK] InnoDB log waits: 0.00% (0 waits / 301 writes)
|
|
|
|
-------- Aria Metrics ------------------------------------------------------------------------------
|
|
[--] Aria Storage Engine is enabled.
|
|
[OK] Aria pagecache size / total Aria indexes: 128.0M/352.0K
|
|
[OK] Aria pagecache hit rate: 99.4% (22K cached / 146 reads)
|
|
|
|
-------- TokuDB Metrics ----------------------------------------------------------------------------
|
|
[--] TokuDB is disabled.
|
|
|
|
-------- XtraDB Metrics ----------------------------------------------------------------------------
|
|
[--] XtraDB is disabled.
|
|
|
|
-------- Galera Metrics ----------------------------------------------------------------------------
|
|
[--] Galera is disabled.
|
|
|
|
-------- Replication Metrics -----------------------------------------------------------------------
|
|
[--] Galera Synchronous replication: NO
|
|
[--] No replication slave(s) for this server.
|
|
[--] Binlog format: MIXED
|
|
[--] XA support enabled: ON
|
|
[--] Semi synchronous replication Master: OFF
|
|
[--] Semi synchronous replication Slave: OFF
|
|
[--] This is a standalone server
|
|
|
|
-------- Recommendations ---------------------------------------------------------------------------
|
|
General recommendations:
|
|
setup swappiness lower or equals to 10
|
|
setup Max running number events greater than 1M
|
|
Remove Anonymous User accounts - there are 2 anonymous accounts.
|
|
Set up a Secure Password for 'root'@'localhost' user: SET PASSWORD FOR 'root'@'localhost' = PASSWORD('secure_password');
|
|
Set up a Secure Password for root@localhost user: SET PASSWORD FOR 'root'@'localhost' = PASSWORD('secure_password');
|
|
1 user(s) used basic or weak password from basic dictionary.
|
|
MySQL was started within the last 24 hours: recommendations may be inaccurate
|
|
Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
|
|
We will suggest raising the 'join_buffer_size' until JOINs not using indexes are found.
|
|
See https://dev.mysql.com/doc/internals/en/join-buffer-size.html
|
|
(specially the conclusions at the bottom of the page).
|
|
Performance schema should be activated for better diagnostics
|
|
Before changing innodb_log_file_size and/or innodb_log_files_in_group read this: https://bit.ly/2TcGgtU
|
|
Variables to adjust:
|
|
vm.swappiness <= 10 (echo 10 > /proc/sys/vm/swappiness)
|
|
fs.aio-max-nr > 1M (echo 1048576 > /proc/sys/fs/aio-max-nr)
|
|
skip-name-resolve=1
|
|
join_buffer_size (> 256.0K, or always use indexes with JOINs)
|
|
performance_schema=ON
|
|
innodb_buffer_pool_size (>= 146.8M) if possible.
|
|
innodb_log_file_size should be (=32M) if possible, so InnoDB total log file size equals 25% of buffer pool size.
|