Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.33 KB | None | 0 0
  1.  >>  MySQLTuner 1.7.1 - Major Hayden <major@mhtx.net>
  2.  >>  Bug reports, feature requests, and downloads at http://mysqltuner.com/
  3.  >>  Modified by George Liu (eva2000) at https://centminmod.com/
  4.  >>  Run with '--help' for additional options and output filtering
  5.  
  6. [--] Skipped version check for MySQLTuner script
  7. [OK] Currently running supported MySQL version 10.1.40-MariaDB
  8. [OK] Operating on 64-bit architecture
  9.  
  10. -------- Log file Recommendations ------------------------------------------------------------------
  11. [--] Log file: (0B)
  12. [!!] Log file  doesn't exist
  13. [!!] Log file  isn't readable.
  14.  
  15. -------- Storage Engine Statistics -----------------------------------------------------------------
  16. [--] Status: +Aria +CSV +InnoDB +MEMORY +MRG_MyISAM +MyISAM +PERFORMANCE_SCHEMA +SEQUENCE 
  17. [--] Data in MyISAM tables: 1K (Tables: 1)
  18. [--] Data in InnoDB tables: 14G (Tables: 532)
  19. [OK] Total fragmented tables: 0
  20.  
  21. -------- Security Recommendations ------------------------------------------------------------------
  22. [OK] There are no anonymous accounts for any database users
  23. [OK] All database users have passwords assigned
  24. [!!] There is no basic password file list!
  25.  
  26. -------- CVE Security Recommendations --------------------------------------------------------------
  27. [--] Skipped due to --cvefile option undefined
  28.  
  29. -------- Performance Metrics -----------------------------------------------------------------------
  30. [--] Up for: 15h 42m 9s (4M q [70.855 qps], 1M conn, TX: 8G, RX: 10G)
  31. [--] Reads / Writes: 91% / 9%
  32. [--] Binary logging is disabled
  33. [--] Physical Memory     : 47.0G
  34. [--] Max MySQL memory    : 33.4G
  35. [--] Other process memory: 13.8G
  36. [--] Total buffers: 26.8G global + 6.8M per thread (1000 max threads)
  37. [--] P_S Max memory usage: 0B
  38. [--] Galera GCache Max memory usage: 0B
  39. [OK] Maximum reached memory usage: 32.9G (70.08% of installed RAM)
  40. [OK] Maximum possible memory usage: 33.4G (71.05% of installed RAM)
  41. [!!] Overall possible memory usage with other process exceeded memory
  42. [OK] Slow queries: 0% (4/4M)
  43. [!!] Highest connection usage: 93%  (931/1000)
  44. [OK] Aborted connections: 0.76%  (10010/1313264)
  45. [OK] Query cache is disabled by default due to mutex contention on multiprocessor machines.
  46. [OK] Sorts requiring temporary tables: 0% (32 temp sorts / 248K sorts)
  47. [!!] Joins performed without indexes: 83574
  48. [!!] Temporary tables created on disk: 40% (72K on disk / 177K total)
  49. [OK] Thread cache hit rate: 99% (7K created / 1M connections)
  50. [OK] Table cache hit rate: 64% (1K open / 1K opened)
  51. [OK] Open file limit used: 0% (61/17K)
  52. [OK] Table locks acquired immediately: 100% (2M immediate / 2M locks)
  53.  
  54. -------- Performance schema ------------------------------------------------------------------------
  55. [--] Performance schema is disabled.
  56. [--] Memory used by P_S: 0B
  57. [--] Sys schema isn't installed.
  58.  
  59. -------- ThreadPool Metrics ------------------------------------------------------------------------
  60. [--] ThreadPool stat is enabled.
  61. [--] Thread Pool Size: 20 thread(s).
  62. [--] Using default value is good enough for your version (10.1.40-MariaDB)
  63.  
  64. -------- MyISAM Metrics ----------------------------------------------------------------------------
  65. [!!] Key buffer used: 18.7% (150M used / 805M cache)
  66. [OK] Key buffer size / total MyISAM indexes: 768.0M/124.0K
  67. [OK] Read Key buffer hit rate: 99.4% (1K cached / 9 reads)
  68. [!!] Write Key buffer hit rate: 67.5% (154 cached / 104 writes)
  69.  
  70. -------- InnoDB Metrics ----------------------------------------------------------------------------
  71. [--] InnoDB is enabled.
  72. [--] InnoDB Thread Concurrency: 0
  73. [OK] InnoDB File per table is activated
  74. [OK] InnoDB buffer pool / data size: 24.0G/14.3G
  75. [!!] Ratio InnoDB log file size / InnoDB Buffer pool size (41.6666666666667 %): 5.0G * 2/24.0G should be equal 25%
  76. [!!] InnoDB buffer pool instances: 8
  77. [--] InnoDB Buffer Pool Chunk Size not used or defined in your version
  78. [OK] InnoDB Read buffer efficiency: 100.00% (1099379224 hits/ 1099379388 total)
  79. [OK] InnoDB Write log efficiency: 99.51% (44716403 hits/ 44936008 total)
  80. [!!] InnoDB log waits: 0.00% (2 waits / 219605 writes)
  81.  
  82. -------- AriaDB Metrics ----------------------------------------------------------------------------
  83. [--] AriaDB is enabled.
  84. [OK] Aria pagecache size / total Aria indexes: 1.0G/1B
  85. [!!] Aria pagecache hit rate: 94.8% (1M cached / 63K reads)
  86.  
  87. -------- TokuDB Metrics ----------------------------------------------------------------------------
  88. [--] TokuDB is disabled.
  89.  
  90. -------- XtraDB Metrics ----------------------------------------------------------------------------
  91. [--] XtraDB is disabled.
  92.  
  93. -------- RocksDB Metrics ---------------------------------------------------------------------------
  94. [--] RocksDB is disabled.
  95.  
  96. -------- Spider Metrics ----------------------------------------------------------------------------
  97. [--] Spider is disabled.
  98.  
  99. -------- Connect Metrics ---------------------------------------------------------------------------
  100. [--] Connect is disabled.
  101.  
  102. -------- Galera Metrics ----------------------------------------------------------------------------
  103. [--] Galera is disabled.
  104.  
  105. -------- Replication Metrics -----------------------------------------------------------------------
  106. [--] Galera Synchronous replication: NO
  107. [--] No replication slave(s) for this server.
  108. [--] This is a standalone server.
  109.  
  110. -------- Recommendations ---------------------------------------------------------------------------
  111. General recommendations:
  112.    MySQL started within last 24 hours - recommendations may be inaccurate
  113.    Dedicate this server to your database for highest performance.
  114.    Reduce or eliminate persistent connections to reduce connection usage
  115.    Adjust your join queries to always utilize indexes. Please note this
  116.    calculation is made by adding Select_full_join + Select_range_check
  117.    status values and triggered when the total >250
  118.    Temporary table size is already large - reduce result set size
  119.    Reduce your SELECT DISTINCT queries without LIMIT clauses
  120.    Performance should be activated for better diagnostics
  121.    Consider installing Sys schema from https://github.com/mysql/mysql-sys
  122. Variables to adjust:
  123.    max_connections (> 1000)
  124.    wait_timeout (< 1800)
  125.    interactive_timeout (< 28800)
  126.    join_buffer_size (> 2.0M, or always use indexes with joins)
  127.    performance_schema = ON enable PFS
  128.    innodb_log_file_size * innodb_log_files_in_group should be equals to 1/4 of buffer pool size (=12G) if possible.
  129.    innodb_buffer_pool_instances(=24)
  130.    innodb_log_buffer_size (>= 16M)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement