mongodb / mongo-perf

performance tools for mongodb
351 stars 140 forks source link

Does this benchmark mongo-perf support new mongodb version 6.0.1? #112

Closed dongjian2021 closed 2 years ago

dongjian2021 commented 2 years ago

Hi, Does anyone know if it support mongodb 6.0.1?

It works well on 4.4.10, but for 6.0.1 the shell "mongo" change to "mongosh", and the util/utils.js can be loaded but failed to run mongoPerfRunTests function.

Any suggestions?

Thanks a lot Regards, DJ

ghartnett commented 2 years ago

Hi DJ: The legacy "mongo" shell can be used for testing mongo-perf. You should be able to use the legacy "mongo" shell from 5.0 with 6.0. We need to update the readme on mongo-perf to mention this.

dongjian2021 commented 2 years ago

Hi Hartnett,

Thanks for your suggestion, it is a way out for using legacy shell, let me have a try to install legacy "mongo" for 6.0.

Regards. DJ

ghartnett commented 2 years ago

Hi DJ. 6.0 doesn't have the legacy "mongo" shell. You'll need to download 5.0 and copy it over.

dongjian2021 commented 2 years ago

Thanks Hartnett, I can run the mongo-perf with mongodb 6.0 right now. Your suggestion works well.

ghartnett commented 2 years ago

Great news DJ. Thanks for letting us know.