Home > Database > Mysql Tutorial > body text

paip.mysql性能跟iops的以及硬盘缓存的关系_MySQL

WBOY
Release: 2016-06-01 13:28:31
Original
1135 people have browsed it

bitsCN.com

paip.mysql性能跟iops的以及硬盘缓存的关系

 

两块硬盘。a.500g    缓存16M

b.160g  缓存8M, 

文件读写都是90MB/s左右,IOPS(4K)都是60 左右

 

不过俩个mysql版稍微不一样,a5.6.x,b5.6.12,设置也是不抬一样.

 

-------write 60

 "C:/MySQL Server 5.6/bin/mysqlslap.exe"   --defaults-file="C:/MySQL Server 5.6/my-default.ini"  --concurrency=1 --auto-generate-sql --auto-generate-sql-load-type=write  --engine=innodb   --number-of-queries=60   --port=3307 -uroot -p  

 

 

 a是 2.498 seconds

 b是 0.063 seconds       ,,,就是写1k才是1.953 seconds

 

 

 --------read 2800

 a是 1.780 seconds

 b是 3.734 seconds

 

 ////////结论:

 mysql 性能跟iops 好像关系不大.好像跟设置关系大大的有..

 

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!