top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Variation in CPU usage and time response in aggregation framework of MongoDB?

+2 votes
268 views

I am using mongodb 3.2 (On ubuntu 14.04) and trying to query a large dataset (about 388 millions of little documents). During my aggregation tests I found that mongo sometimes uses 100% in one core and sometimes not and as a consequence, the time of response varies a lot.This CPU usage can also vary from an aggregation query to another (for example : if a want to aggregate more documents).

Please help me to understand better the functioning of this framework.

posted Apr 6, 2016 by anonymous

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

Similar Questions
0 votes

I have problem with mongods high cpu usage. We get 3000 data per second, and I insert it per 100,000.(insert with c++ driver, using vector)

I expect even progress of cpu, but I intermittently found high cpu of mongod. Although there is no result of currentOp() command. Why cpu status shows like below?

Insert amount of 459~742 second is not bigger than before, but mongods cpu usage is much bigger.

What can be cause of this status?

+4 votes

I am trying to use an amazing library for websocket over SSL:
https://github.com/Devristo/phpws

Unfortunately it doesn't work on CentOS, but it works great on Ubuntu. It is not the version of PHP. I tried the same version on both OS and on Ubuntu works while on CentOS doesn't.

+1 vote

I am new to MongoDB and try to install MongoDB 3.2.9 on Ubuntu 14.01 LTS. I found there are different ways to install it as below:
1. The MongoDB official guidance use the apt-get install.
2. Download the package and create folders like bin, data, log, conf etc. and then manually and copy the corresponding modules to the bin when needed.

I am wondering which method should I use. Seems the second one is more flexible as its hard to make sense what the first one has done to the OS.

Could you advise any other impact and differences about the two methods for installation? Thanks in advance!

+2 votes

I installed the NUT monitor from the Ubunut Software Center. The Ubuntu Software Center lists version 2.6.4-2.3ubuntu2 but when I look at the NUT Monitor ABOUT the program has version 1.3!

I am replacing an old computer running OS/2 as a file and print server for my home LAN with a new computer running Ubuntu. I moved the UPS serial connection from the old computer to the new one but am having problems getting UPS logging to work. When I boot the computer UPSLOG starts but is not finding the UPS so the log is full of useless data. How do I find which file starts the UPSLOG?

As a side problem it appears that the UPSLOG does not operate as the documentation describes. I added a file for the logrotate program which does rotate the log but other than that does not appear to work. When the logrotate program runs the logger stops when it gets the "kill -HUP" signal instead of continuing with the new log file.

I have read the readme file but there is not much about installation. I have looked at some documentation on the internet trying to get this installed but the documentation does not match the configuration files I have on my system. Anyone know where I can find documentation that matches the version I have?

...