Configuring MySQL for a SSD based SAN

在虚拟环境中使用基于SSD的SAN时,建议修改MySQL的配置参数,如将innodb_page_size减小到4k或8k,设置innodb_flush_neighbors为0,innodb_lru_scan_depth为512,并考虑增加innodb_io_capacity的值。此外,使用IO基准工具确定最佳IOPS值,并考虑在VMwareVM中禁用ballooning驱动器。
摘要由CSDN通过智能技术生成
Configuring MySQL for a SSD based SAN (Doc ID 2673662.1)正在上传…重新上传取消To Bottom


In this Document

APPLIES TO:

MySQL Server - Version 5.6 and later
Information in this document applies to any platform.

GOAL

Considering a Virtualized environment with a SSD based SAN, what are the configuration parameters to be modified and their suggested values.
 

SOLUTION

Usually the SAN is not exposed to the VM directly. Instead VMs use the file system exposed by the VM Manager.
In such cases we would suggest you to consider using VM settings.


When using SSD you can look at the following configuration variables :


a. innodb_page_size

You can reduce the page size to 4k or 8k , reducing it from the default of 16k.


b. innodb_flush_neighbors=0


c. innodb_lru_scan_depth=512

This is especially beneficial if you have a large buffer pool with more than 8 instances.


d. innodb_io_capacity

Since SSD based SAN is being used, you can try increasing this value from default.
We would suggest using IO bench-marking tools to determine the optimal IOPS value to be used.

Most enterprise class SSD can provide high IOPS values, please check with the vendor as well.


Another thing that helps in most situations is to disable ballooning driver when using VMWare VM.
 

https://kb.vmware.com/s/article/1002586

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值