the buffer pool是哪个参数控制的值决定的?

mysqldbd 2011-04-01 02:49:09

Make your log files big, even as big as the buffer pool. When InnoDB has written the log files full, it has to write the modified contents of the buffer pool to disk in a checkpoint. Small log files cause many unnecessary disk writes. The drawback of big log files is that the recovery time is longer.

里面的the buffer pool 是key_buffer_size参数设置的值的大小吗?或者是innodb_buffer_pool_size参数设置的值的大小吗?

...全文
58 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
rucypli 2011-04-06
  • 打赏
  • 举报
回复
key_buffer_size这个是myisam引擎缓存索引数据的
mysqldbd 2011-04-06
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 rucypli 的回复:]
应该是innodb_buffer_pool_size,第二句是当日志文件满的话,需要将缓存中的脏数据刷到磁盘上,myisam没有数据缓存,只有索引缓存
[/Quote]

我探讨的是innodb啊,跟myisam有何关联呢?
rucypli 2011-04-06
  • 打赏
  • 举报
回复
应该是innodb_buffer_pool_size,第二句是当日志文件满的话,需要将缓存中的脏数据刷到磁盘上,myisam没有数据缓存,只有索引缓存
mysqldbd 2011-04-06
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 rucypli 的回复:]
参数innodb_log_buffer_size

The size in bytes of the buffer that InnoDB uses to write to the log files on disk. The default value is 1MB. Sensible values range from 1MB to 8MB. A large log buffer enab……
[/Quote]

确定是innodb_log_buffer_size吗?
rucypli 2011-04-02
  • 打赏
  • 举报
回复
参数innodb_log_buffer_size

The size in bytes of the buffer that InnoDB uses to write to the log files on disk. The default value is 1MB. Sensible values range from 1MB to 8MB. A large log buffer enables large transactions to run without a need to write the log to disk before the transactions commit. Thus, if you have big transactions, making the log buffer larger saves disk I/O.

56,677

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧