mongodb 3.2效能測試

來源:互聯網
上載者:User

標籤:rpe   價值   god   delay   ons   enc   read   nbsp   poi   

測試環境機器配置

linux container 

  • 4C/16G/300GSSD
  • 8C/32G/300GSSD
測試對象
版本 引擎 參數配置

4C/16G

8C/32G
mongodb3.2.6 wiredTiger
  • cacheSizeGB:12
  • syncPeriodSecs: 1
  • collectionConfig:
    blockCompressor: snappy
  • indexConfig:
    prefixCompression: true
  • cacheSizeGB:24
  • syncPeriodSecs: 1
  • collectionConfig:
    blockCompressor: snappy
  • indexConfig:
    prefixCompression: true
tokumx1.5 tokumx

cacheSize=12G

syncdelay=5

cacheSize=24G

syncdelay=5

tokumx2.0.2 tokumx cacheSize=12G
checkpointPeriod=10
cleanerIterations=10
directio=false
cleanerPeriod=2
syncdelay=5

cacheSize=24G
checkpointPeriod=10
cleanerIterations=10
directio=false
cleanerPeriod=2
syncdelay=5

 測試情境
  • 測試單節點環境
  1. 100%insert
  2. 單節點_50%update50%read
  3. 5%update5%insert90%read
  4. 100%read
  5. wiredtiger_syncPeriodSecs_60與1比較
  6. sharding叢集效能壓測
  • 說明
  1. 情境1-4每次載入1000W資料,資料大小約13G
  2. 情境5載入5000W資料,資料大小約75G
測試方法
  • YCSB壓測
測試結果情境1:單節點_100%insert (load data)情境2:單節點_50%update50%read

 

情境3:單節點_5%update5%insert90%read 情境4:單節點_100%read 情境5:wiredtiger_syncPeriodSecs_60_1

 

 

 情境6:sharding叢集效能測試

 

 

結論
  • load效能比較,wiredtiger優勢十分明顯,速度大約是同配置tokumx的5倍,且RT較短
  • 唯讀效能,wiredTiger效能和tokumx,比較,效能較差,但穩定;
  • 複雜情況下,wiredTiger效能較好,可支撐更高並發度的線程調用;
  • 如果不基於磁碟和網路輸送量考慮,三個以下節點的 sharding 從效能上沒有價值,現階段結果看來,儘可能多的部署 mongos,能有效提升總體的叢集利用率。


   

mongodb 3.2效能測試

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.