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


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


    作者Attilax  艾龙,  EMAIL:1466519819@qq.com 
    来源:attilax的专栏
    地址:http://blog.csdn.net/attilax


    两块硬盘。a.500g    缓存16M
    b.160g  缓存8M, 
    文件读写都是90MB/s左右,IOPS(4K)都是60 左右


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


    -------write 60
     "C:MySQL Server 5.6inmysqlslap.exe"   --defaults-file="C:MySQL Server 5.6my-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 好像关系不大.好像跟设置关系大大的有..
  • 相关阅读:
    CHOCBase
    iOS 12中无法获取WiFi的SSID了?
    如何打开Assets.car文件
    博客园美化资源网站链接
    xcode工程配置绝对路径与相对路径
    UIControl事件
    UIButton属性
    UIAlertView
    UIActivityIndicatorView
    NSAttributedString
  • 原文地址:https://www.cnblogs.com/attilax/p/5964180.html
Copyright © 2020-2023  润新知