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

learn more… | top users | synonyms (1)

0
votes
2answers
37 views

starting mongodb outside of path

I've just installed mongodb, and had to install 2.0.4, which I couldn't figure out how to do with 10gen, so followed this tutorial and installed from the tar file. ...
1
vote
1answer
106 views

Mongos connecting to replica set

This is a pretty basic question but I can't find any answers on it. I know you use mongos to interface with a sharded collection. However, if I have a replica set which is not sharded how do I set up ...
1
vote
2answers
247 views

Low priority batch processes on live Mongo database

We want to run MapReduces on our live Mongo database, mainly so that we can extract metrics. However, we've had some bad outages caused by these MRs bogging down the Mongo server (in particular 100% ...
5
votes
2answers
2k views

Does a MongoDB replica set require at least 2 or 3 members?

Documentation here says three: http://docs.mongodb.org/manual/tutorial/deploy-replica-set/ "A replica set requires three distinct systems..." Whereas the documentation here says two: ...
1
vote
2answers
613 views

running mongodb with openvz

Has anyone had any luck getting mongodb working on openvz? Was looking for some tips, tricks, hacks to get it from running out of memory I am running on centos on media temple and the servers just ...
2
votes
1answer
185 views

MongoDB ReplicaSet slow read performance

I successfully basic configure my replica set, but i noticed slow read performance. I have 2 mongo servers and 1 arbiter in my replica set. All are running on Centos 6.3 minimal setup (just ...
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 ...
0
votes
1answer
108 views

mongodb segmentation fault(11) macosx

I have problem, i cant figure out, how to fix.. So i am on MacOSX machine, running php 5.3.15 version, using mongo 1.3.1 version. When i try to execute php script, in which i try to connect to remote ...
4
votes
1answer
288 views

MongoDB Replica-Set with Replication Lag on one node only

we experience a strange behaviour in our MongoDB Replica-Set, setup of 3 Nodes (all Xeon Quad-Core-Class CPUs, 16GB of RAM for one, 24GB for the other two nodes) The one node with less RAM is normal ...
1
vote
3answers
188 views

Amazon EC2 High-Memory Extra Large Instance [closed]

I am new to Mongodb and EC2. If I use following single MongoDb server : High-Memory Extra Large Instance 17.1 GiB memory, 6.5 ECU (2 virtual cores with 3.25 EC2 Compute Units each), 420 GB of local ...
1
vote
1answer
74 views

Is it possible to run multiple mongod instances on a single set of database files

We have large multi-gigabyte data sets on which we run very complex queries, for example { $or: [ { id: 30000001, ... }, { id: 30000005, ... }, ..., { id: 30001005, ... } ] } It seems that CPU is ...
2
votes
1answer
667 views

non-mapped virtual memory & total number of connections

We have two MongoDB data nodes (replica set) - Primary & Secondary. I noticed that the non-mapped virtual memory is relatively high and wondering if they are hurting our MongoDB performance (The ...
1
vote
1answer
594 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
348 views

MongoDB Replica Set, initiate() need to login error

I am trying to setup a replica set, but when I issue: rs.initiate() On the first server, I get the following error: { "errmsg" : "need to login", "ok" : 0 } That is strange though, because in my ...
0
votes
1answer
1k views

How do I upgrade mongodb 1.8 to 2.2 on ubuntu?

Following this guide: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ I ended up with mongodb 18 on my Ubuntu 10.04. I've just read the 2.2 mongodb release notes on upgrading and ...
5
votes
1answer
546 views

Multiple MongoDB instances on same server

We set up a MongoDB development server on CentOS 6.3 and were able to separate different projects by using separate config files and rc scripts. Now we're looking at setting up a MongoDB production ...
1
vote
1answer
26 views

Understanding mongod log entries

Can anyone explain the numbers in the % column, in this mongod log snippet ? It is building a new index but I'm not sure I understand why the numbers look like that Tue Nov 20 11:38:08 ...
3
votes
3answers
5k views

Run a MongoDB configuration server without 3GB of journal files

For a production sharded MongoDB installation we need 3 configuration servers. According to the documentation "the config server mongod process is fairly lightweight and can be ran on machines ...
1
vote
1answer
238 views

How to install 64bit version of Mongodb

How can I install the 64bit (x86_64) version of MongoDB? I've specified in the 10gen.repo the 64bit: baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 But when I run: yum install ...
1
vote
1answer
523 views

How to set Mongodb

I'm trying to set up Mongodb on my vps but when trying to start it: service mongod start It returns this error: Starting mongod: /usr/bin/mongod: error while loading shared libraries: ...
0
votes
2answers
664 views

Is it possible to upgrade Ubuntu 10.04 32bit to 64bit with out reinstall OS?

My VPS server is running Ubuntu 10.04 32bit now, but I have to upgrade my OS to 64bit because of the 32-bit limitation of mongoDB. But if i reinstall the system, there are a lot of programs need to ...
2
votes
3answers
192 views

Drop in solution for logging to DB

I'm considering setting up our servers to log to a Mongo Database rather than log files. Logs will then be all on one server, queryable, and overall easier to manage. I'd love to find a solution that ...
3
votes
1answer
459 views

Rails/Mongo across multiple different geo-regions

I have a system that by necessity requires physical presence in three or more different locations and I need advice on structuring in such a way that my database stays replicated in a timely manner ...
3
votes
2answers
363 views

Is rest=true a must for MongoDB's replicaSet setup?

I see there are a lot of tutoirl on the internet suggest to add the rest parameter mongod --rest --replSet myset Are there any side effect if I don't use them?
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 ...
1
vote
2answers
135 views

Mongo Scripting the shell

On my production stack, I have a front-end server and a Mongo server. I would like to be able to set a cron job on the front-end server to create some logs daily. I wrote a script that does this: ...
2
votes
1answer
223 views

Mongodb Slave replication lag

We using standard mongo setup: 2 replicas + 1 arbiter. Both replica servers use same AWS m1.medium with RAID10 EBS. We experiencing constantly growing replication lag on secondary replica. I ...
0
votes
1answer
197 views

How to upgrade a single instance's size without downtime

I'm afraid there may not be a way to do this since we're not load balancing, but I'd like to know if there is any way to upgrade an EC2 EBS backed instance to a larger size without downtime. First of ...
2
votes
1answer
80 views

MongoDB PHP EC2 Setup Configuration

I am new to web development and server set up. I am looking for some advice or a link to a tutorial on setting up a production system up. Right now, I have a server (Ubuntu, Apache, MongoDB, and ...
2
votes
2answers
598 views

Trying to install MongoDB - can't seem to find mongo.so

I have mongo installed on the server and running, I can query the command line. PHP and Apache are running fine as well. The problem, however, is that mongo.so isn't in the php lib directory, and I ...
3
votes
3answers
477 views

Mongo Client RedHat EL5 UT8 Support

# mongo MongoDB shell version: 1.6.4 Fri Mar 16 11:55:46 *** warning: spider monkey build without utf8 support. consider rebuilding with utf8 support connecting to: test Mongo Server seems to handle ...
3
votes
1answer
811 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 ...
1
vote
4answers
2k views

Real-time log parsing and reporting

We have a small project we are working on part-time that runs on Nginx/MongoDB on Ubuntu 10.04 LTS Server. We'd like to be able to see reports on things like server load, requests/sec, response time, ...
2
votes
2answers
660 views

what is best multi-server configuration with OpenVPN

We have a number of Database severs running MongoDB on Debian plus a number of Application servers also on Debian. The db servers hold replicating db clusters, so they need to talk to each other. ...
2
votes
1answer
312 views

Error while compiling PHP extension

Im trying to install a php extension that is written in c and make use of mongodb c driver. I have been trying for the last 2 days to compile and install the extension however im getting the same ...
7
votes
4answers
775 views

NoSQL databases for PHI?

Are the fast, document-based NoSQL solutions--MongoDB, Cassandra, CouchDB, etc--appropriate for PHI data? They have performance advantages compared to RDBMS for sure, but in general appears less ...
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 ...
3
votes
1answer
959 views

How do I network this Windows Failover Cluster and MongoDB Replica Set? (diagram inside)

As you can see, my two Windows Server Failover Cluster (WSFC) nodes have three network interfaces each, which connects them to three different networks : A public network A private network ...
2
votes
2answers
413 views

Potential problems running MongoDB on OpenSolaris & ZFS?

I've been using MongoDB on CentOS with ext4 for a few months now with no problems. I'm potentially going to be moving to Joyentcloud, and their SmartOS is based off of OpenSolaris and uses ZFS. I'm ...
0
votes
0answers
259 views

Setting up MongoDB in High Performance Computing LSF linux cluster

I am trying to run mongo in a LSF cluster computing environment where I have no admin control. Our sysadmin installed mongodb, but it is not running. Any ideas on what should I ask the server admin ...
0
votes
1answer
82 views

replica set with multiple primary nodes

I am trying to configure a replica set with three nodes: node A, B and C. I execute the rs.add()'s from node A and after that rs.status() shows that the three nodes are PRIMARY. Moreover node B and C ...
2
votes
1answer
217 views

Using mongodump with an auth enabled mongodb server

I'm trying to do a daily backup of my mongodb server (auth enabled) using the mongodump tool. mongodump provides two parameters to set the credentials: -u [ --username ] arg username -p [ ...
4
votes
1answer
3k views

SocketException in Mongo logs

We are running mongo for 4 months so far , But lately I am seeing a lot of SocketException handling request, closing client connection: 9001 socket exception [2] server [127.0.0.1:58996] How can I ...
1
vote
1answer
155 views

Thread-Safe or Non-Thread-Safe PHP Extension for Windows? [closed]

I am wanting to install the MongoDB PHP extension for Windows for my Dev server to play around with it. Looking at the PHP manual ...
2
votes
1answer
198 views

Disk / system configuration for log collection / syslog server

I am looking into building a syslog / logging infrastructure and am pondering about some architecture best practices. Essentially, I see that a syslog system needs to support two conflicting ...
2
votes
2answers
252 views

Cross-cloud deployment: Servers on azure - Mongodb at MongoHQ (AWS) - known pitfalls?

Looking to deploy an existing Mongodb-backed solution to the cloud for a client. I'm hoping to combine MongoHQ and Azure to use the simplest possible Mongodb deployment together with the simplest ...
2
votes
2answers
854 views

nginx reverse proxy to mongodb rest interface

I'm trying to set up a reverse proxy with HTTP auth that proxies MongoDB's REST interface. So far, I've got this: server { listen 80; server_name tld.example.com; charset ...
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 ...
1
vote
1answer
247 views

enkive mail archive ldap setup

I am trying to set up mail archiving using enkive with exchange. i have followed the installation of all the prerequisites for enkive. i run enkive with defaults and i get error in the log file Aug ...
1
vote
1answer
290 views

MongoDB: Random Vs Sequential Read Performance

I have a single-instance mongodb with a collection with 3 fields: _id, block_id, payload. Payloads are always 4096 byte binaries _id is an ever-incremented unique integer There is a secondary ...