频道栏目
首页 > 资讯 > MySQL > 正文

mysql数据库引擎调优

12-06-29        来源:[db:作者]  
收藏   我要投稿
mysql数据库引擎调优
 
---------------myisam----------------
 
• Optimizing disk storage
 
• Tuning your tables for performance
 
  ANALYZE TABLE, OPTIMIZE TABLE,REPAIR TABLE。
 
• Using the MyISAM utilities
 
myisam_ftdump 分析全文索引。
 
myisamchk 表性能分析。
 
myisamlog 日志变化分析。.
 
myisampack 压缩表。
  www.2cto.com  
• Storing a table in index order
• Compressing tables
• Defragmenting tables
• Monitoring the key cache
• Preloading key caches
• Using multiple key caches
• Other parameters to consider
 
--------------------innodb---------------
 
• Using the SHOW ENGINE command
 
• Using InnoDB monitors
 
• Monitoring logfiles
 
• Monitoring the buffer pool
 
• Monitoring tablespaces
 
• Using INFORMATION_SCHEMA tables
  www.2cto.com  
• Other parameters to consider:
 
innodb_thread_concurrency 调整并发线程0-->独立硬盘分区+cpu内核数;
 
innodb_fast_shutdown  减少关机时间;
 
innodb_lock_wait_timeout 默认锁超时;
 
批量导入数据时候: AUTOCOMMIT;暂时停止外键和唯一值限制。
 
 
作者 桔子
相关TAG标签
上一篇:学习之Android运行原理
下一篇:编译Android源代码
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站