MongoDB is a document oriented database (also known as NoSQL database).

learn more… | top users | synonyms (1)

10
votes
3answers
2k views

MongoDB and datasets that don't fit in RAM no matter how hard you shove

This is very system dependent, but chances are near certain we'll scale past some arbitrary cliff and get into Real Trouble. I'm curious what kind of rules-of-thumb exist for a good RAM to Disk-space ...
19
votes
5answers
2k views

Turning off atime on a filesystem

I am setting up a mongoDB replica set and one of the first things I am suppose to do is turn off atime on the file system. After researching this a bit, I am not opposed to doing this, but I have to ...
4
votes
1answer
1k views

MongoDB SSL encryption and Spring's Driver

There is very limited information regarding MongoDB and SSL encryption for the transport between replica sets and drivers (java clients). Anyone have any experience setting this up? Looking to have ...
2
votes
1answer
1k views

MongoDB virtual memory usage

I'm testing MongoDB for archives data. We have a collection with 160M rows. MongoDB instance takes 76.2 Gb virtual memory on a 12 Gb physical memory box ;-) The swap in null. I read that virtual ...
1
vote
1answer
523 views

how to connect to mongodb server via ssh tunnel

It was easy for me to connect to my remote mysql server on AWS using a sequelpro, however I'm struggling with doing the same thing with mongodb. I tried setting up an ssh tunnel via command line ...
1
vote
1answer
229 views

MongoDB not replicating properly

I am using mongoDB for my application hosted on 3 amazon instances. I have a got a Primary Node with highest priority (100) and 2 Secondaries with priority 99 and 98. A few days ago I started getting ...
3
votes
2answers
1k views

MongoDB Sharding on single linux machine

Let's say I wanna have a MongoDB Server with 5 shards on one machine and each shard having replica set of 3 servers. Would that increase performance? What are downsides of this?
3
votes
1answer
3k views

How can I tell if NUMA is enabled on a MongoDB server?

Our mongodb process is consistently using >100% of our CPU (this is on an Ubuntu 64-bit server on Linode) and we're casting about for performance improvements. One suggestion we found was that ...
5
votes
2answers
797 views

Should I install MongoDB using Ubuntu's repository or MongoDB's private repository?

I was reading the MongoDB install instructions and noticed they have a private repository that the instructions tell you to add. I'm wondering if this is really needed because MongoDB is also in the ...
2
votes
2answers
1k views

MongoDB server crashed, showing the following error

I have a MongoDB instance running in a VMWare VM with Ubuntu Server 12.04. Suddenly the server crashed, and when I try to reinitiate it I get the following error: jonathanong@ubuntu:~/mongodb/solo$ ...
1
vote
1answer
206 views

Strange behaviour starting process with init script

I'm seeing some strange behaviour when starting a process with an init script. Most likely I am doing something stupid, but perhaps someone could let me know what might cause this behaviour: ...
1
vote
1answer
602 views

Setting up mongodb via upstart - how to pass options?

I installed MongoDB in an Ubuntu Server VM inside VMware using these instructions: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/. Everything works fine, and I can access MongoDB ...
1
vote
1answer
440 views

diagnosing mongodb major faulting and erratic behavior

We have a mongodb instance running on an amazon ec2 large (7.5GB) ubuntu instance (same machine that our node.js server is running from). Traffic has increased a LOT recently and we are starting to ...
1
vote
2answers
338 views

What is the standard system architecture for MongoDB

I know this question is too vague, so I would like to add some key numbers to give insights about what the scenario is Each Document size - 360KB Total Documents - 1.5 million Document created/day ...