MongoDB : Document-Oriented NoSQL Database

learn more… | top users | synonyms

5
votes
1answer
57 views

Are shards distributed randomly across machines in MongoDB or are they in order?

Are shards distributed randomly across machines in MongoDB or are they in order? For example, if I had a MongoDB cluster that was sharded across two machines and my shard key was a person's name, ...
3
votes
1answer
39 views

Sharded key-value store using MongoDB

Would like to set up a key-value store that is sharded across multiple machines. We are currently using MongoDB, is there a reason why we shouldn't use MongoDB for this purpose? We also use Redis, ...
0
votes
1answer
35 views

Is it possible to upgrade MongoDB from 2.0 to 2.4 directly

We have a replica set with 2 members and one arbiter in production. 10gen documentation states that 2.0 to 2.2 is a binary-compatible “drop-in" upgrade and so it's 2.2 to 2.4. Is it safe to upgrade ...
1
vote
3answers
84 views

Relational vs Non-Relational Database for Events Database

I'm trying to find out whether an SQL or no-SQL solution would be better for creating an events database. I'm creating a ticketing system, similar to ticket master. I know that for either ...
0
votes
0answers
34 views

MongoDB master - slave not syncing anymore

I have a setup with two MongoDB instances, one master and one slave. The sync worked perfectly fine for quite a while now, but suddenly stopped. The major problem is, that the guy who setup the ...
1
vote
2answers
87 views

To find a version for your pc check with the software publisher install mongodb

I want to install MongoDb on windows 8 but when i try to run C:\mongodb\bin\mongod.exeiget this error: To find a version for your pc check with the software publisher.
0
votes
1answer
31 views

admin user can not login to other databases after upgrading to mongodb 2.4

I had a mongodb 2.2 database with auth enabled. but after upgrading to 2.4 my admin user can not login to any database other than admin database. I removed it from system.users then created another ...
0
votes
0answers
25 views

The best approach to index dynamic query in MongoDB

I am working on log managment system where user will be able to upload logs from file. I have 'event' collection where I store all events from all sources (each source can have different log format ...
-1
votes
0answers
23 views

Adding nodes decreases throughput on database clusters [closed]

My question is, why does performance decrease with horizontal scaling? Generated load using Yahoo Cloud Serving benchmark ( YCSB). The average throughput on 1 node and 5 nodes ( with sharding, and ...
0
votes
1answer
47 views

Getting next and previous document

In a mongo collection I have a list of words (millions words). {word:'a'} {word:'b'} {word:'x'} {word:'y'} {word:'z'} I need to get lexical adjacent of a word. I am looking for most efficient ...
26
votes
5answers
2k views

Which database could handle storage of billions/trillions of records?

We are looking at developing a tool to capture and analyze netflow data, of which we gather tremendous amounts of. Each day we capture about ~1.4 billion flow records which would look like this in ...
4
votes
1answer
249 views

Using MongoDB and PostgreSQL together

My current project is essentially a run of the mill document management system. That said, there are some wrinkles (surprise, surprise). While some of the wrinkles are fairly specific to the ...
0
votes
0answers
25 views

MongoDB: move documents before capping

The cappedCollection concept works well for most of my projects where cleaning old data without care makes sense. For another projects, I need a more complex and safe concept. The requirement is ...
1
vote
1answer
40 views

Structuring data in MongoDB for a to-do list type application

This is a fairly high level question as I am in the initial stages of planning this application, and am also very new to MongoDB and document-based databases in general. Disclaimer aside, I am ...
6
votes
1answer
43 views

Overview of how MongoDB uses its various threads

On one instance I have MongoDB using ~85 threads. In lieu of having time to investigate directly, I am curious: What are the threads used for? Do they fall into a few high-level usage categories? ...

1 2 3 4 5 9
15 30 50 per page