MySql 调优工具 mysqltuner.pl
来源:互联网 发布:淘宝女装的货源 编辑:程序博客网 时间:2024/05/22 11:45
1,下载
wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl -o mysqltuner.pl
2,运行
perl mysqltuner.pl
3,结果
[OK] Currently running supported MySQL version 5.5.41-0ubuntu0.14.04.1[OK] Operating on 64-bit architecture-------- Storage Engine Statistics -------------------------------------------[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM[--] Data in MEMORY tables: 372K (Tables: 18)[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)[--] Data in InnoDB tables: 5M (Tables: 314)[--] Data in MyISAM tables: 656K (Tables: 321)[!!] Total fragmented tables: 314-------- Security Recommendations -------------------------------------------[OK] All database users have passwords assigned-------- Performance Metrics -------------------------------------------------[--] Up for: 3h 47m 55s (34K q [2.522 qps], 552 conn, TX: 14M, RX: 7M)[--] Reads / Writes: 52% / 48%[--] Total buffers: 192.0M global + 2.7M per thread (151 max threads)[OK] Maximum possible memory usage: 597.8M (15% of installed RAM)[OK] Slow queries: 0% (0/34K)[OK] Highest usage of available connections: 3% (5/151)[OK] Key buffer size / total MyISAM indexes: 16.0M/1.2M[OK] Key buffer hit rate: 99.9% (106K cached / 156 reads)[OK] Query cache efficiency: 54.5% (9K cached / 17K selects)[OK] Query cache prunes per day: 0[OK] Sorts requiring temporary tables: 0% (0 temp sorts / 596 sorts)[!!] Joins performed without indexes: 144[OK] Temporary tables created on disk: 21% (1K on disk / 5K total)[OK] Thread cache hit rate: 99% (5 created / 552 connections)[!!] Table cache hit rate: 15% (400 open / 2K opened)[OK] Open file limit used: 31% (319/1K)[OK] Table locks acquired immediately: 100% (19K immediate / 19K locks)[OK] InnoDB buffer pool / data size: 128.0M/5.0M[OK] InnoDB log waits: 0-------- Recommendations -----------------------------------------------------General recommendations: Run OPTIMIZE TABLE to defragment tables for better performance MySQL started within last 24 hours - recommendations may be inaccurate Enable the slow query log to troubleshoot bad queries Adjust your join queries to always utilize indexes Increase table_open_cache gradually to avoid file descriptor limits Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4CVariables to adjust: join_buffer_size (> 128.0K, or always use indexes with joins) table_open_cache (> 400)
0 0
- MySql 调优工具 mysqltuner.pl
- MySQL性能建议者:mysqltuner.pl
- 利用mysqltuner工具对mysql数据库进行优化
- MySQLTuner工具--效果
- 使用MySQLTuner-perl对MySQL进行优化
- MySQLTuner--使用方法
- mysql调优工具
- PL/SQL工具优化
- PL/SQL工具使用
- MySQL的性能调优工具
- MySQL数据库调优工具 mysqlard
- mysql 性能调优3--监控工具
- pl sqldeveloper工具注意点
- PL/Sql工具的作用
- PL/SQL 工具的设置
- PL/SQL 工具优化配置
- PL/SQL Developer 工具优化
- PL/SQL Developer 工具技巧
- Could not open ServletContext resource [/WEB-INF/Dispatcher-servlet.xml]
- 高容量大兵法访问解决方案概述
- oracle查看常用的系统信息
- Dijkstra算法
- CGAffineTransformMake系列与CGAffineTransformTranslate 系列区别
- MySql 调优工具 mysqltuner.pl
- jquery mobile左右滑动切换页面
- iOS —— 使用 Xcode 在越狱 iOS 设备上进行开发调试
- Linux信号深度解剖
- 条形码,二维码扫描
- 《起跑吧,Opa》 -- 中译本 第四章 数据存储
- Linux内核源代码情景分析-文件系统的安装
- 简单通过Storyboard的Segue做视图切换动画
- runtime 运行时机制 完全解读