Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. [--] Skipped version check for MySQLTuner script
  2. [OK] Logged in using credentials from debian maintenance account.
  3. [OK] Currently running supported MySQL version 10.4.6-MariaDB-1:10.4.6+maria~bionic-log
  4. [OK] Operating on 64-bit architecture
  5.  
  6. -------- Log file Recommendations ------------------------------------------------------------------
  7. [--] Log file: /var/lib/mysql/web-db-instance-new.err(0B)
  8. [!!] Log file /var/lib/mysql/web-db-instance-new.err doesn't exist
  9. [!!] Log file /var/lib/mysql/web-db-instance-new.err isn't readable.
  10.  
  11. -------- Storage Engine Statistics -----------------------------------------------------------------
  12. [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE
  13. [--] Data in InnoDB tables: 1G (Tables: 361)
  14. [--] Data in MyISAM tables: 1G (Tables: 269)
  15. [OK] Total fragmented tables: 0
  16.  
  17. -------- Security Recommendations ------------------------------------------------------------------
  18. [OK] There are no anonymous accounts for any database users
  19. [OK] All database users have passwords assigned
  20. [!!] User 'finansialku@%' hasn't specific host restriction.
  21. [!!] There is no basic password file list!
  22.  
  23. -------- CVE Security Recommendations --------------------------------------------------------------
  24. [--] Skipped due to --cvefile option undefined
  25.  
  26. -------- Performance Metrics -----------------------------------------------------------------------
  27. [--] Up for: 5d 1h 39m 27s (209M q [478.483 qps], 1M conn, TX: 15874G, RX: 96G)
  28. [--] Reads / Writes: 97% / 3%
  29. [--] Binary logging is enabled (GTID MODE: OFF)
  30. [--] Physical Memory : 14.2G
  31. [--] Max MySQL memory : 8.6G
  32. [--] Other process memory: 150.1M
  33. [--] Total buffers: 7.4G global + 3.1M per thread (400 max threads)
  34. [--] P_S Max memory usage: 0B
  35. [--] Galera GCache Max memory usage: 0B
  36. [OK] Maximum reached memory usage: 7.9G (55.51% of installed RAM)
  37. [OK] Maximum possible memory usage: 8.6G (60.63% of installed RAM)
  38. [OK] Overall possible memory usage with other process is compatible with memory available
  39. [OK] Slow queries: 4% (8M/209M)
  40. [OK] Highest usage of available connections: 39% (157/400)
  41. [OK] Aborted connections: 0.03% (515/1797078)
  42. [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
  43. [OK] Sorts requiring temporary tables: 0% (2K temp sorts / 39M sorts)
  44. [!!] Joins performed without indexes: 4552
  45. [!!] Temporary tables created on disk: 80% (7M on disk / 9M total)
  46. [OK] Thread cache hit rate: 99% (157 created / 1M connections)
  47. [!!] Table cache hit rate: 14% (544 open / 3K opened)
  48. [OK] Open file limit used: 21% (426/2K)
  49. [OK] Table locks acquired immediately: 97% (203M immediate / 207M locks)
  50. [OK] Binlog cache memory access: 100.00% (69525 Memory / 69525 Total)
  51.  
  52. -------- Performance schema ------------------------------------------------------------------------
  53. [--] Performance schema is disabled.
  54. [--] Memory used by P_S: 0B
  55. [--] Sys schema isn't installed.
  56.  
  57. -------- ThreadPool Metrics ------------------------------------------------------------------------
  58. [--] ThreadPool stat is enabled.
  59. [--] Thread Pool Size: 6 thread(s).
  60. [--] Using default value is good enough for your version (10.4.6-MariaDB-1:10.4.6+maria~bionic-log)
  61.  
  62. -------- MyISAM Metrics ----------------------------------------------------------------------------
  63. [OK] Key buffer used: 100.0% (16M used / 16M cache)
  64. [OK] Key buffer size / total MyISAM indexes: 16.0M/133.7M
  65. [OK] Read Key buffer hit rate: 99.6% (15B cached / 69M reads)
  66. [!!] Write Key buffer hit rate: 89.3% (10M cached / 9M writes)
  67.  
  68. -------- InnoDB Metrics ----------------------------------------------------------------------------
  69. [--] InnoDB is enabled.
  70. [--] InnoDB Thread Concurrency: 0
  71. [OK] InnoDB File per table is activated
  72. [OK] InnoDB buffer pool / data size: 7.0G/2.0G
  73. [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (14.2857142857143 %): 512.0M * 2/7.0G should be equal 25%
  74. [OK] InnoDB buffer pool instances: 7
  75. [--] Number of InnoDB Buffer Pool Chunk : 56 for 7 Buffer Pool Instance(s)
  76. [OK] Innodb_buffer_pool_size aligned with Innodb_buffer_pool_chunk_size & Innodb_buffer_pool_instances
  77. [OK] InnoDB Read buffer efficiency: 100.00% (3453146584 hits/ 3453212436 total)
  78. [!!] InnoDB Write Log efficiency: 16.09% (17078 hits/ 106170 total)
  79. [OK] InnoDB log waits: 0.00% (0 waits / 123248 writes)
  80.  
  81. -------- AriaDB Metrics ----------------------------------------------------------------------------
  82. [--] AriaDB is enabled.
  83. [OK] Aria pagecache size / total Aria indexes: 128.0M/296.0K
  84. [OK] Aria pagecache hit rate: 99.4% (1B cached / 6M reads)
  85.  
  86. -------- TokuDB Metrics ----------------------------------------------------------------------------
  87. [--] TokuDB is disabled.
  88.  
  89. -------- XtraDB Metrics ----------------------------------------------------------------------------
  90. [--] XtraDB is disabled.
  91.  
  92. -------- RocksDB Metrics ---------------------------------------------------------------------------
  93. [--] RocksDB is disabled.
  94.  
  95. -------- Spider Metrics ----------------------------------------------------------------------------
  96. [--] Spider is disabled.
  97.  
  98. -------- Connect Metrics ---------------------------------------------------------------------------
  99. [--] Connect is disabled.
  100.  
  101. -------- Galera Metrics ----------------------------------------------------------------------------
  102. [--] Galera is disabled.
  103.  
  104. -------- Replication Metrics -----------------------------------------------------------------------
  105. [--] Galera Synchronous replication: NO
  106. [--] No replication slave(s) for this server.
  107. [--] This is a standalone server.
  108.  
  109. -------- Recommendations ---------------------------------------------------------------------------
  110. General recommendations:
  111. Restrict Host for user@% to user@SpecificDNSorIp
  112. Adjust your join queries to always utilize indexes
  113. Temporary table size is already large - reduce result set size
  114. Reduce your SELECT DISTINCT queries without LIMIT clauses
  115. Increase table_open_cache gradually to avoid file descriptor limits
  116. Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C
  117. Beware that open_files_limit (2005) variable
  118. should be greater than table_open_cache (550)
  119. Performance should be activated for better diagnostics
  120. Consider installing Sys schema from https://github.com/mysql/mysql-sys
  121. Read this before changing innodb_log_file_size and/or innodb_log_files_in_group: http://bit.ly/2wgkDvS
  122. Variables to adjust:
  123. join_buffer_size (> 256.0K, or always use indexes with joins)
  124. table_open_cache (> 550)
  125. performance_schema = ON enable PFS
  126. innodb_log_file_size should be (=896M) if possible, so InnoDB total log files size equals to 25% of buffer pool size.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement