MongoDB - Indexing
When you are preparing a MongoDB deployment, you need to try to understand how your utility is going to keep up in manufacturing.
this will help you recognize how your manufacturing system will preserve up earlier than deploying, and decide where you will want to add ability.
mongostatThis command assessments the popularity of all jogging mongod times and go back counters of database operations. These counters consist of inserts, queries, updates, deletes, and cursors. To run the command, begin your mongod example. In some other command prompt, go to bin listing of your mongodb set up and kind mongostat.
mongotopmongotop returns records in each 2d, which you can trade it for that reason. You need to test that this study and write hobby fits your software intention, and also you’re not firing too many writes to the database at a time, studying too regularly from a disk, or are exceeding your running set size. In any other command set off, go to bin directory of your mongodb installation and kind mongotop.
D:set upmongodbbin>mongotopTo exchange mongotop command to go back facts much less regularly, specify a specific range after the mongotop command.
D:set upmongodbbin>mongotop 30The above instance will return values every 30 seconds. Apart from the MongoDB gear, 10gen offers a loose, hosted monitoring carrier, MongoDB Management Service