Chinaunix首页 | 论坛 | 博客
  • 博客访问: 348035
  • 博文数量: 166
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1640
  • 用 户 组: 普通用户
  • 注册时间: 2015-05-05 11:44
个人简介

文章不在长,坚持不懈记录下努力前行的脚步

文章分类

全部博文(166)

文章存档

2017年(19)

2016年(59)

2015年(88)

我的朋友

发布时间:2015-09-08 18:00:22

1.alter table
it can take a lot of time.MySQL will perform a row-by-row copy of your old table into a new table. During that
time, you’ll probably be using all of the server’s di.........【阅读全文】

阅读(699) | 评论(0) | 转发(0)

发布时间:2015-08-21 15:16:20

1.Each query has to check each row’s version numbers against the transaction’s version。
2.InnoDB must examine each row to ensure that it meets two criteria。innodb会根据以下两个条件检查每行记录.........【阅读全文】

阅读(530) | 评论(0) | 转发(0)

发布时间:2015-07-10 15:35:43

cpu<br />低延时<br />需要高速cpu,每个查询只能使用一个cpu<br />高吞吐<br />多个查询,多个cpu<br />mysql复制能在高速cpu下工作得很好,多cpu对复制帮助不大。<br />备库的瓶颈通常是I/O子系统,而不是cpu<br /><br />多个内核和多个物理cpu的选择问题<br />1.可以根据cpu上的压力动态地调整cpu的频率<br />.........【阅读全文】

阅读(712) | 评论(0) | 转发(0)

发布时间:2015-07-09 17:12:15

innodb并发配置<br />在有限的内存、单cpu、单磁盘的系统中任然有一些根本性的问题--限制并发<br />升级服务器配置<br />升级数据库软件版本<br />innodb_thread_concurrency ---并发数 =cpu*磁盘数量*2<br />innodb_thread_sleep_delay&nbsp; ---线程进入内核延迟微秒数=默认10000<br />innodb_concurrency_tickets .........【阅读全文】

阅读(1152) | 评论(0) | 转发(0)

发布时间:2015-07-07 17:04:46

安全与性能的权衡--刷盘方式
innoDB I/O配置
事务日志
文件大小
innodb_log_file_size
innodb_log_files_in_group
innodb_log_buffer_size
如果日志文件过小,没有可用空间写入了,那么必须等待变更被应用到数据文件--不可强制覆盖,否则不能前滚到最新状态。
SHOW GLOBAL.........【阅读全文】

阅读(728) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册