之前没发现mongoperf这个工具,测试IO的状态用的是iostat来进行观察。
 
mongoperf < myjsonconfigfile
 echo "{nThreads:2,fileSizeMB:20,w:true,r:true}" | mongoperf

参数示列如下:
{
  nThreads:<n>,
  fileSizeMB:<n>,
  sleepMicros:<n>,
  mmf:<bool>,
  r:<bool>,
  w:<bool>,
  recSizeKB:<n>,
  syncDelay:<n>
}

具体文件见mongodb官网:
http://docs.mongodb.org/manual/reference/program/mongoperf/#mongoperf-fields

相关文章:

  • 2021-03-31
  • 2022-02-05
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
猜你喜欢
  • 2022-12-23
  • 2021-07-08
  • 2021-07-13
  • 2022-01-14
  • 2021-08-04
相关资源
相似解决方案