Tagged Questions

MongoDB is a scalable, high-performance, open source, document-oriented database. It supports a large number of languages and application development platforms. Questions about programming should be asked on http://stackoverflow.com.

I tried to run javascript (js) file to get shard's config server information, it runs fine in mongo shell but as result is too large to analyse on command prompt, i tried to save the output in a file ...

The official mongodb documentation states to use three config servers. They say its for redudancy, because 1 server would be a point of failure.... but why not 2? in a production sharded cluster, if I ...

I have a field in my collection which is a String in nature.
When i run aggregation for this field in data it takes considerable time in aggregation.
Total 6 million records are in collection which ...

i have cloud site with many hosts and virtual machines inside of it. I receive from some software many different metrics values regarding vms usage (cpu load,free ram,energy consumption and so on). ...

I have read about balancing window in MongoDB document. I see mongo tell about how to modify balancing window but I don't see the default of balancing window. I see only one document about chunk size ...

Please forgive me from the beginning. I am brand new to document oriented databases and I am sure that I will need guidance to reform the question in order to get answers.
I am looking to use MongoDB ...

I have several instances of MongoDB replica set servers with a primary and a failover machine for each replica set.
The primary machine makes daily backups by creating an LVM snapshot and copying all ...

I have a small web site, so I used two servers.
A: master 4G Ram, 96G SSD
B: slave 2G RAM, 96G SSD
The B server is always for backup, no read, no write.
In my application, many users can (and will) ...

I am having a collection which is sharded.
This collection receives data from a script which is running hourly.
On this data we do some aggregation.
My issue when we insert data in collection and run ...

I'm doing a personal project where I have a quiz with a number of boolean questions. Each question will have a two answer choices "true" and "false". Based on the selected answer, a new question will ...

Below is the error when ouput when I am trying to start my local mongodb. I am unable to start it and after little exploration, I doubt my local db has been crashed. If yes, is there a way to recover ...

For some time we are facing issue with our sharded set up as some times one collection randomly stuck on one shard.
I have daily db (we create daily database with date) in my application where some ...

Now I installed Mongodb 2.6.4 as master node. On another node I installed same version as slave node. I configure "only=xxx" parameter to sync xxx database.
When I start up slave node.I get following ...

I'm a bit surprised by what I observe in my mongo server, so I would like to know if anybody understand how this is possible.
I have one collection of around 15K documents. For each of them, I store ...

I would like to ask a couple of things about mongodb and replica sets:
I have different meteor applications running on my private server; each one of them uses a different meteor database (and does ...

I have a 3 server replica set deployed by Googles 1 Click Deploy functionality, the problem is I created an index on a particularly large collection (100,000,000 documents) and it consumed the whole ...

This question is regarding design of a database in mongodb.
The scenario:
A user has a drive which he can share with others.
Drive has two categories: docs and others.
The user has three choices in ...