1
vote
1answer
329 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
0answers
113 views

MongoDB Performance Troubleshooting

I have a small MongoDB replica set (2.4.6) and it seems about once a week, the primary gets bogged and the load average spikes up. This app doesn't see a huge amount of traffic. It resides in EC2 ...
0
votes
1answer
23 views

How do you deny a user access to a certain collection in mongo?

I have several collections that I would not like certain users to see. How would I go about "hiding" them or blocking a user from viewing?
0
votes
1answer
39 views

Express App Cannot Connect to valid MongoDB, Can Connect Using `mongo <ip_address>`

x-posted I have an app in production that has been running for about a year. It's had it's fair share of ups and downs, but I haven't had a problem with it for a while. The Linode server decided to ...
1
vote
2answers
57 views

How to control databases replicated by Mongo DB replica set

I have 2 databases in my mongo DB namespace, lets name them db1, db2 and db3 which are on the same dbpath. Is it possible to configure mongo db replica set in that way that db3 wont be replicated ...
3
votes
1answer
783 views

Is it possible to recover MongoDB databases from .ns and .0, .1, . … files?

I have a MongoDB 2.0.4 installation on Ubuntu 12.10. Recently I had some problems connecting to the database from the outside, and figured out there was something which prevented MongoDB from starting ...
2
votes
5answers
4k views

Fast Database to store 1 Billion records [closed]

I am writing a code to store data and want to store 1 Billion to 10 Billion records or even more. Most importantto this is speed (nearly 10000 - 20000 / records per second), SPACE usage and CRASH ...
1
vote
2answers
334 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 ...
-1
votes
1answer
249 views

How does MongoDB compare to RDBMS and what are some structural benefits? [closed]

MongoDB is this great database I hear about. I'd like to evaluate its performance in typical scenarios relatively to traditional MySQL or SQL Server backends. Assuming I would like to store data ...
0
votes
2answers
275 views

MongoDB Replica Set

I'm kinda new to MongoDB. I've setup a single mongo server on an Amazon m2.xlarge EC2 instance. I've setup a RAID10 with 4 EBS volumes for storage. Seems to work great for collecting data. How do I ...
1
vote
1answer
429 views

How do I restore my mongodump backups to my newly sharded architecture? (Mongodb)

I have a directory of bson files (Results from my mongodump). OK, so I just set up a new architecture for sharding MongoDB. (2 replica sets--3 servers each, and also 1 config server and 1 mongos ...
0
votes
1answer
209 views

Approximately, how many writes can a EC2 large dedicated Mongo server handle?

Let's assume that it was only writes. Each "document" inserted is less than 140 characters. How many writes can this database handle?
0
votes
1answer
159 views

What IP does my web server connect to after I set up replica set in Mongo?

Install Mongo on A. Start the server: $ mongod --rest --replSet myset rs.initiate() on A. Install Mongo on B. Start the server: $ mongod --rest --replSet myset Connect to A and add B to the set: ...
1
vote
4answers
253 views

Can Mongo be deployed to production on one server?

I don't want to rent another server... But wikipedia says: MongoDB should never be deployed on fewer than two servers[citation needed]: a master and a slave. A master can perform reads and ...
0
votes
1answer
484 views

Remote MongoDB server or a local one?

I am on 1GB Linode (VPS) with MongoDB + Apache. MongoDB has 1.5M+ records. Multiple instances of the script , over which the service entirely depends cause 50+ active connections and around 50 ...
12
votes
7answers
6k views

What hardware makes a good MongoDB Server ? Where to get it?

Suppose you're on dell.com right now and you're buying a server to run your MongoDB database for your small startup. You will have to handle literally tens of thousands of writes and reads per minute ...
4
votes
4answers
6k views

Why are my MongoDB queries really, really slow?

I've inherited a large MongoDB server at work, and have been tasked with figuring out why queries run against it are so slow. The DB contains tons and tons of records (on the order of 10^9) and takes ...