top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Breakdown performance of one insert operation with MongoDB?

0 votes
205 views

I am running YCSB against mongoDB and got a report that the Average Latency of a single insert operation is 3752.9 us. I would like to know how much each mongoDB functions contribute to this time. For example, how much time it took to do journaling?

Does mongoDB gives information like that?

posted Feb 9, 2017 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

I use nodejs with mongoDB and I want to insert JSON data into mongo, I use mongoose but I don't wanna to use model and shéma just push different json with different shéma.

Can someone tell me how I can do it ?

+1 vote

We are using MongoDB 2.6 version and management is not interested in giving additional server for MMS. But recently we have been asked to send the DB health status to management team. Can you please advice what are the important stats that we need to collect regarding OS stats, Storage stats, DB stats without using MMS?

Thanks much for help.

+1 vote

I am having collection with 127706 document. In aggregation pipeline i having 2 group stages. It is giving me result in 1.5 sec.

To optimize it to more I have created index on the fields which I am using in match stages with no success. Is their any to optimize aggregation performance in more way?

I m using mongodb 3.2.1?

0 votes

I am new to mongodb. I am trying to do some aggregation operations like sum, avg, min.. on a collection. And I found that I can do it either using aggregation framework or cursor.forEach(). Which one to use? It will be better if someone explains how both works internally and give me some suggestions.

Thank you in advance

...