1. innodb_log_buffer_size
  2. Command-Line Format --innodb_log_buffer_size=#
  3. System Variable Name    innodb_log_buffer_size
  4. Variable Scope  Global
  5. Dynamic Variable    No
  6. Permitted Values    Type    integer
  7. Default 8388608
  8. Min Value   262144
  9. Max Value   4294967295
  10. The size in bytes of the buffer that InnoDB uses to write to the log files on disk.
  11. The default value is 8MB. A large log buffer enables large transactions to run without a need to write the log to disk before the transactions commit.
  12. Thus, if you have transactions that update, insert, or delete many rows, making the log buffer larger saves disk I/O.
  13. For general I/O tuning advice, see Section 8.5.8, “Optimizing InnoDB Disk I/O”.
  14. buffer 大小单位bytes,InnoDB 用于写log files 到磁盘,默认值是8M,
  15. 一个大的log buffer 让一个大的事务运行不需要写日志到磁盘在事务提交前,因此,如果你有事务比如update,insert或者delete 很多的记录, 让log buffer 足够大来节约磁盘I/O.
  16. 对于常规的I/O 调优建议,see Section 8.5.8, “Optimizing InnoDB Disk I/O”.
  17. The size in bytes of the buffer pool, the memory area where InnoDB caches table and index data. The default value is 128MB.
  18. The maximum value depends on the CPU architecture; the maximum is 4294967295 (232-1) on 32-bit systems and 18446744073709551615 (264-1) on 64-bit systems.
  19. On 32-bit systems, the CPU architecture and operating system may impose a lower practical maximum size than the stated maximum.
  20. buffer pool 的大小单位字节, InnoDB 的内存区域用于cached 表和索引数据,默认是128MB。
  21. 最大值依赖CPU 结构, maximum是 4294967295 (232-1) 在32位系统上  在64位系统上是 18446744073709551615 (264-1)
  22. 在32位系统上,CPU 结构和操作系统可能施加较低的实际的最大值 相比规定的最大值
  23. When the size of the buffer pool is greater than 1GB, setting innodb_buffer_pool_instances to a value greater than 1 can improve the scalability on a busy server.
  24. The larger you set this value, the less disk I/O is needed to access the same data in tables more than once. On a dedicated database server,
  25. you might set this to up to 80% of the machine physical memory size. Be prepared to scale back this value if these other issues occur:
  26. Competition for physical memory might cause paging in the operating system.
  27. 当 buffer pool 大小大于1GB,设置innodb_buffer_pool_instances 大于1来改善 可扩展性在一个繁忙的server上
  28. 值你设置的越大,越少的disk I/O 访问相同的数据, 在一个专用的database server.
  29. 你可以设置最多到80%的机器物理内存大小,物理内存的竞争可能导致操作系统中的交换
  30. InnoDB reserves additional memory for buffers and control structures, so that the total allocated space is approximately 10% greater than the specified size.
  31. The address space must be contiguous, which can be an issue on Windows systems with DLLs that load at specific addresses.
  32. The time to initialize the buffer pool is roughly proportional to its size. On large installations, this initialization time might be significant.
  33. For example, on a modern Linux x86_64 server, initialization of a 10GB buffer pool takes approximately 6 seconds. See Section 8.10.1, “The InnoDB Buffer Pool”.
  34. InnoDB储备额外的内存用于缓冲区和控制结构, 因此总共分配的空间是大约10%大于指定值。
  35. 地址空间必须是连续的, 在Windows上可能是一个问题用DLLs来加载特定的地址

innodb_log_buffer_size和innodb_buffer_pool_size参数说明的更多相关文章

  1. 在 Windows7 上按照 MySQL5.7

    在 Windows7 上按照 MySQL5.7 1.从官网下载最新版本的 MySQL,这里下载的是 mysql-5.7.17-win32: 2.将下载的 mysql-5.7.17-win32.zip ...

  2. Windows安装mysql-5.7.17-winx64.zip方式

    1.去官网上下载.zip格式的文件. 2.解压到一个文件夹,这里我用D:\MySql表示 3.在D:\MySql\mysql-5.7.17-winx64下新建my.ini配置文件 黄色背景色的地方需要 ...

  3. 安装 mysql-5.7.5-m15-winx64

    win7 64位下如何安装配置mysql-5.7.5-m15-winx64 距离上次安装MySQL已经过去好久了.步骤这些,有可能会忘记.简单记录一下吧.(参考了一些网络上的博客.) 1.mysql- ...

  4. Windows 下noinstall方式安装 mysql-5.7.5-m15-winx64

    下载解压不说 我解压在:E:\DBFiles\mysql-5.7.15-winx64\mysql-5.7.15-winx64 添加配置文件E:\DBFiles\mysql-5.7.15-winx64\ ...

  5. 关于mysql数据库插入数据,不能插入中文和出现中文乱码问题

    首先,推荐一篇博客:http://www.cnblogs.com/sunzn/archive/2013/03/14/2960248.html 当时,我安装完mysql数据库后,新建一个数据库后插入数据 ...

  6. mysql5.7.13-windows 免安装版配置简介

    1.下载mysql5.7.13-windows版本 (1)mysql5.7.13-win64版本百度云下载链接分享地址:链接:http://pan.baidu.com/s/1slMl4Ah 密码:w6 ...

  7. mysql-5.7日志设置

    环境 Windows10企业版X64 mysql安装目录:D:\mysql-5.7.15-winx64. 在mysql安装目录下手工新建一个log目录:mysql\log. mysql\my.ini内 ...

  8. Ubuntu14.04用apt在线/离线安装CDH5.1.2[Apache Hadoop 2.3.0]

    目录 [TOC] 1.CDH介绍 1.1.什么是CDH和CM? CDH一个对Apache Hadoop的集成环境的封装,可以使用Cloudera Manager进行自动化安装. Cloudera-Ma ...

  9. 新版mysql(mysql-5.7.12-winx64)安装

    之前安装了一个php集成运行环境的mysql,不太习惯,还是想弄一个原生的环境来进行学习.于是,卸载了php集成环境中的mysql. 计算机环境:win7 x64. 1.mysql-5.7.12-wi ...

随机推荐

  1. apache服务器伪静态配置说明

    apache服务器伪静态配置说明: 第一种 .如果是多城市版分类并且使用了城市二级域名即(多城市+多域名),请修改apache的配置文件,把以下代码添加到配置文件的最后一行即可,注意把qibosoft ...

  2. as3.0复制影片简介(自我复制的三种形式)

    //mc是被复制影片简介的实例名,(===在库中找到mc影片简介,右击“属性”,点击“为actionscript导出”,选中确定即可===这个是重点) var newSprite:Sprite=mc; ...

  3. 微信小程序开发——连续快速点击按钮调用小程序api返回后仍然自动重新调用的异常处理

    前言: 小程序开发中诸如获取用户手机号码.调起微信支付.领取卡券等api都是会有一定的延迟的.也就是说通过点击按钮调用这些api的时候,从点击按钮调用api,到支付页面或者领取卡券界面展示出来是需要一 ...

  4. [剑指Offer]判断一棵树为平衡二叉树(递归)

    题目链接 https://www.nowcoder.com/practice/8b3b95850edb4115918ecebdf1b4d222?tpId=0&tqId=0&rp=2&a ...

  5. 8.21 :odd??:nth-of-type??

    今天为了实现隔行变色,我在css里写: .note:odd{ background-color: #eee; } 有一个页面有效果,另一个页面没效果,怎么也找不到原因...各种尝试各种清缓存都不行,, ...

  6. iOS - 抖音效果

    抖音的转场动画—iOS https://www.jianshu.com/p/29b0165de712 抖音的上下滑实现—iOS https://www.jianshu.com/p/e8799510c7 ...

  7. day 03

    1.数字类型 int 数字主要是用于计算用的,使用方法并不是很多,就记住一种就可以: bit_length()  当前十进制用二进制表示时,最少使用的位数 s = 5 print(s.bit_leng ...

  8. php新增的一些特性

    php新增的特性,只是略微整理,并不完全. 一.php5.3添加的新特性 1.?:简化的三元运算符 <?php $cur = $cur ? $cur : 1; $cur = $cur ?: 1; ...

  9. [Z]sql优化

    前言:平常写的SQL可能主要以实现查询出结果为主,但如果数据量一大,就会突出SQL查询语句优化的性能独特之处.一般的数据库设计都会建索引查询,这样较全盘扫描查询的确快了不少.下面总结下SQL查询语句的 ...

  10. webstorm安装配置

    1.webstorm是一款优秀的前端设计工具,在官网下载webstorm.exe文件 官网地址:http://www.jetbrains.com/webstorm/ 2.一直next执行下一步进行安装 ...