一次“詭異的”QPS翻倍

來源:互聯網
上載者:User

在做MySQL升級從5.0.49升級到5.1.68之後,發現QPS翻倍了;

650) this.width=650;" src="http://www.bkjia.com/uploads/allimg/131229/2111425108-0.png" title="1.png" alt="155623672.png" />

在review了所有域的應用之後,結論是應用的QPS基本沒變,那這詭異的QPS是哪來的呢?後來發現在5.0的時候querycache是開啟的,而升級後由於這個庫讀寫比基本差距不大並且原來的QC命中率低於20%就把QC關了,而querycache hit是不算在com_select裡的,因此鬧了一個烏龍:)

QC hit:


650) this.width=650;" src="http://www.bkjia.com/uploads/allimg/131229/2111422F8-1.png" title="2.png" alt="155641939.png" />

本文出自 “MIKE老畢的部落格” 部落格,請務必保留此出處http://boylook.blog.51cto.com/7934327/1298758

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.