Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Storage Engine Statistics
- [--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MEMORY +MRG_MYISAM +MyISAM +PERFORMANCE_SCHEMA
- [--] Data in MyISAM tables: 765.7K (Tables: 136)
- [--] Data in InnoDB tables: 475.0M (Tables: 437)
- [OK] Total fragmented tables: 0
- -------- Analysis Performance Metrics --------------------------------------------------------------
- [--] innodb_stats_on_metadata: OFF
- [OK] No stat updates during querying INFORMATION_SCHEMA.
- -------- Security Recommendations ------------------------------------------------------------------
- [OK] There are no anonymous accounts for any database users
- [!!] failed to execute: SELECT CONCAT(user, '@', host) FROM mysql.user WHERE (IF(plugin='mysql_native_password', authentication_string, password) = '' OR IF(plugin='mysql_native_password', authentication_string, password) IS NULL) AND plugin NOT IN ('unix_socket', 'win_socket', 'auth_pam_compat')
- [!!] FAIL Execute SQL / return code: 256
- [OK] All database users have passwords assigned
- [!!] failed to execute: SELECT CONCAT(user, '@', host) FROM mysql.user WHERE CAST(IF(plugin='mysql_native_password', authentication_string, password) as Binary) = PASSWORD(user) OR CAST(IF(plugin='mysql_native_password', authentication_string, password) as Binary) = PASSWORD(UPPER(user)) OR CAST(IF(plugin='mysql_native_password', authentication_string, password) as Binary) = PASSWORD(CONCAT(UPPER(LEFT(User, 1)), SUBSTRING(User, 2, LENGTH(User))))
- [!!] FAIL Execute SQL / return code: 256
- [!!] User 'exampple@%' does not specify hostname restrictions.
- [!!] User 'example1@%' does not specify hostname restrictions.
- [!!] User 'example2@%' does not specify hostname restrictions.
- [!!] There is no basic password file list!
- -------- CVE Security Recommendations --------------------------------------------------------------
- [--] Skipped due to --cvefile option undefined
- -------- Performance Metrics -----------------------------------------------------------------------
- [--] Up for: 6d 15h 57m 4s (2M q [3.652 qps], 262K conn, TX: 1G, RX: 348M)
- [--] Reads / Writes: 70% / 30%
- [--] Binary logging is disabled
- [--] Physical Memory : 3.7G
- [--] Max MySQL memory : 875.1M
- [--] Other process memory: 0B
- [--] Total buffers: 592.0M global + 1.9M per thread (151 max threads)
- [--] P_S Max memory usage: 72B
- [--] Galera GCache Max memory usage: 0B
- [OK] Maximum reached memory usage: 620.1M (16.18% of installed RAM)
- [OK] Maximum possible memory usage: 875.1M (22.84% of installed RAM)
- [OK] Overall possible memory usage with other process is compatible with memory available
- [OK] Slow queries: 0% (24/2M)
- [OK] Highest usage of available connections: 9% (15/151)
- [!!] Aborted connections: 10.64% (27929/262400)
- [!!] name resolution is active : a reverse name resolution is made for each new connection and can reduce performance
- [!!] Query cache may be disabled by default due to mutex contention.
- [!!] Query cache efficiency: 15.1% (318K cached / 2M selects)
- [OK] Query cache prunes per day: 0
- [OK] Sorts requiring temporary tables: 0% (2 temp sorts / 121K sorts)
- [!!] Joins performed without indexes: 128955
- [!!] Temporary tables created on disk: 37% (156K on disk / 416K total)
- [OK] Thread cache hit rate: 99% (18 created / 262K connections)
- [OK] Table cache hit rate: 92% (11K open / 12K opened)
- [OK] Open file limit used: 5% (2K/48K)
- [OK] Table locks acquired immediately: 99% (15K immediate / 15K locks)
- -------- Performance schema ------------------------------------------------------------------------
- [--] Memory used by P_S: 72B
- [--] Sys schema is installed.
- -------- ThreadPool Metrics ------------------------------------------------------------------------
- [--] ThreadPool stat is disabled.
- -------- MyISAM Metrics ----------------------------------------------------------------------------
- [!!] Key buffer used: 18.5% (3M used / 16M cache)
- [OK] Key buffer size / total MyISAM indexes: 16.0M/425.0K
- [OK] Read Key buffer hit rate: 100.0% (90K cached / 39 reads)
- [!!] Write Key buffer hit rate: 94.2% (904 cached / 852 writes)
- -------- InnoDB Metrics ----------------------------------------------------------------------------
- [--] InnoDB is enabled.
- [--] InnoDB Thread Concurrency: 0
- [OK] InnoDB File per table is activated
- [OK] InnoDB buffer pool / data size: 512.0M/475.0M
- [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (18.75 %): 48.0M * 2/512.0M should be equal to 25%
- [OK] InnoDB buffer pool instances: 1
- [--] Number of InnoDB Buffer Pool Chunk : 4 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: 99.98% (83734371 hits/ 83750851 total)
- [!!] InnoDB Write Log efficiency: 38.7% (221735 hits/ 573015 total)
- [OK] InnoDB log waits: 0.00% (0 waits / 794750 writes)
- -------- AriaDB Metrics ----------------------------------------------------------------------------
- [--] AriaDB is disabled.
- -------- 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: ROW
- [--] XA support enabled: ON
- [--] Semi synchronous replication Master: Not Activated
- [--] Semi synchronous replication Slave: Not Activated
- [--] This is a standalone server
- -------- Recommendations ---------------------------------------------------------------------------
- General recommendations:
- Control warning line(s) into /var/log/mysqld.log file
- Control error line(s) into /var/log/mysqld.log file
- Restrict Host for user@% to user@SpecificDNSorIp
- Reduce or eliminate unclosed connections and network issues
- Configure your accounts with ip or subnets only, then update your configuration with skip-name-resolve=1
- Adjust your join queries to always utilize indexes
- When making adjustments, make tmp_table_size/max_heap_table_size equal
- Reduce your SELECT DISTINCT queries which have no LIMIT clause
- Before changing innodb_log_file_size and/or innodb_log_files_in_group read this:
- Variables to adjust:
- query_cache_size (=0)
- query_cache_type (=0)
- query_cache_limit (> 2M, or use smaller result sets)
- join_buffer_size (> 1.0M, or always use indexes with JOINs)
- tmp_table_size (> 128M)
- max_heap_table_size (> 16M)
- innodb_log_file_size should be (=64M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
- max_tmp_tables=128
- tmp_table_size=128M
- table_open_cache=24000
- sql_mode=''
- key_buffer_size=16M
- slow_query_log = 1
- long_query_time = 2
- innodb_buffer_pool_size = 512M
- join_buffer_size = 1M
- query_cache_type = 1
- query_cache_size = 32M
- query_cache_limit = 2M
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement