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

learn more… | top users | synonyms (1)

1
vote
1answer
22 views

Add new shard - always best? [closed]

In our setup, we currently have 3 shard set sharded cluster, each shard being a replica set of 3. Our writes are about to go up significantly to implement a new feature, and we know the extra data ...
2
votes
1answer
24 views

Mongodb production server too slow compared to staging

We have two sets of db and app servers running on Rackspace VPS. Production and Staging. The app is on Rails and db is MongoDB. While staging(with as many documents as prod, 55k) works just fine, ...
0
votes
1answer
30 views

Should you compact your MongoDB frequently?

I have read a post from Parse [1] that you can run compact in order to save the index size on the MongoDB. Our total index size is 10GB, and our total memory memory is 12GB, as you might know the ...
3
votes
3answers
144 views

node.js, mongodb, redis, on ubuntu performance degradation in production, RAM is free, CPU 100%

As the question title suggests, I'm having an hard time to figure out what can be improved on my application(or tuned in the os, ubuntu) to achieve an acceptable performance. But first I'll explain ...
-2
votes
0answers
33 views

Searching for the best Database solution [closed]

I am new to this field and trying to learn the best possible way to maintain a database for my company. I am looking for the best option (cheap and reliable) to manage all the documents and contacts. ...
1
vote
1answer
64 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
2answers
26 views

Mongodb sharding - Init script for mongos process?

I've been running mongodb as a replica set, and have recently attempted to move to a sharded cluster. One thing I'm a little unsure about is how I should be starting the mongos process. Previously I ...
0
votes
1answer
19 views

Should I disable turn off MongoDB profiler in production machine?

The default according to [1] is collect profile data when execution time > 100ms But one of the issue is when majority of queries' execution time > 100ms, our system start to overload and I am not ...
0
votes
1answer
31 views

Removing MongoDB from Ubuntu

I recently started to mess with setting up ReplicaSets. After some testing and playing, I was wanting to remove MongoDB and all settings, and start with a fresh install on all systems to get it ...
0
votes
0answers
24 views

What causes SocketException (9001) handling request in node.js app and MongoDB ReplicaSet?

I have a simple node.js application that makes a single call connection call to my ReplicaSet. Things were actually working fine earlier today and nothing was changed in the application, now my ...
0
votes
0answers
16 views

mongodb mystery crashes with sigkill under strace

I have a mongodb instance that seems to crash roughly once a day. I don't see any useful information in the mongo log file. All is well and then the process is just crashed with no additional ...
1
vote
0answers
48 views

How to tune system settings for mongoDB on Linux?

Trying to squeeze a lot out of one question here -- please bear with me. Although the MongoDB man pages make several useful recommendations about system settings like ulimit ...
0
votes
0answers
37 views

MongoDB Locking - Very, very, slow to read

This is the output from db.currentOp(): > db.currentOp() { "inprog" : [ { "opid" : 2153, "active" : false, "op" : "update", "ns" : "", ...
0
votes
1answer
25 views

Error getting data from Mongo Monitoring Service - ConnectionFailure: unknown encoding: idna

I am having issues installing MMS. I have it installed on an agent. I can connect to a mongos instance from the server the agent is installed on. In the agent log, I see the following messages ...
0
votes
1answer
15 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 ...
0
votes
2answers
25 views

remove a mongodb replica set when into a sharding cluster

I have this configuration: mongos> db.adminCommand('getShardMap') { "map" : { "RS13" : "RS13/mongo09-02:27003,mongo09-01:27001", "RS13/mongo09-02:27003,mongo09-01:27001" : ...
0
votes
2answers
44 views

MongoDB Failover Time

I have a MongoDB 2.4 replica set of six nodes and an arbitrator running in a test environment. I was testing the fail-over response time and it was around forty-five seconds. Keep in mind, reads are ...
1
vote
0answers
30 views

LVM+MongoDB. Dropping in speed of backup creation

Till recent time we have been making mongo backups archiving LVM snapshot on hidden SECONDARY server with RAID10 on SAS disks. Currently operation on making snapshot from volume with 500 Gb of data ...
1
vote
0answers
18 views

Remove a secondary from a mongo replica set without triggering re-election?

I had to add a new secondary node to my replica set yesterday so that I could do maintenance on another secondary node. Now that the maintenance is complete, I'd like to remove one of the secondaries ...
2
votes
2answers
65 views

install mongodb on window 8

I am trying to install mongodb on Windows 8. I am using following command to install Mongodb. C:\mongodb\bin\mongod.exe --auth --config C:\mongodb\mongod.cfg --install And getting this error: ...
2
votes
1answer
81 views

MongoDB CPU usage in top is confusing

I have an Ubuntu 12.04 VM running in VirtualBox that has a whole MongoDB cluster on it (4 data nodes, one config node, and a mongos router). When I look at "top", I see that each of those processes ...
0
votes
1answer
37 views

MongoDB default port change

I want to change the default port of MongoDB in Ubuntu 12.04 for security purposes. How can I achieve this?
-1
votes
2answers
68 views

Fresh MongoDB Using 100MB of Virtual Memory? [closed]

I'm having a problem with virtual memory usage using MongoDB on a server. NOTE: I have only a local user account without root privs. The server's VM limit (from ulimit -v) is 120MB. With an empty ...
0
votes
3answers
59 views

MongoDB: two nodes & primary election

According to Mongo documentation in order to safely deploy a replication set, you need at least two active and one arbiter because election of the a primary needs the majorities of the votes. Let's ...
0
votes
1answer
109 views

Thread Safe php-pecl-memcache and php-pecl-mongo

I'm looking to switch a Fedora server running Apache from prefork to worker. Everything seems to be fine except the php libraries for Mongo and Memcache. Has anyone had any success getting these to ...
0
votes
3answers
201 views

EC2 servers are slower than local machine

We have been trying to do some performance benchmarking for our webapp written using python that uses mongodb heavily and we have found the following. We tried using 1st Gen Extra Large ec2 servers ...
0
votes
2answers
92 views

Mongodb keeps reporting “no primary found”, but shell works fine

I have a simple mongodb setup in a replicaset, with 1 actual instance and 1 arbiter (to avoid conflicts). This is in anticipation of expanding the replicaset to include more instances as our load ...
1
vote
4answers
32 views

Mongo security users & ports

As long as my mongo port is not accessible to the outside world and only available locally, can I go about without securing my database with a username and password?
4
votes
1answer
66 views

mongo and app server cpu

The beginning: We are using uwsgi and I decided to switch our configuration to use more workers/processes. Why: We have been seeing a traffic increase lately and in my tests with apache benchmark, ...
0
votes
0answers
22 views

MongoDB PowerPC installation for Squeeze [closed]

Im trying to install MongoDB on Debian Squeeze but I keep on getting an error: Error unable to located package, this I think is because I'm running on powerpc, and on the internet Im only getting ...
1
vote
1answer
229 views

How much of hardware resource is required for Graylog2? [closed]

We've mounted a graylog2 dedicated server (with a rails unicorn, mongodb and eleasticsearch) on a virtual machine with 2gigs of ram a couple days ago. RAM Consumption just keeps climbing, I am ...
1
vote
1answer
137 views

PostgreSQL and Mongodb in production

We have a product that uses Postgres for RDBMSish data (accounts, billing, etc.) and MongoDB for each of the accounts data (which obviously can't be maintained on Postgres). In local development we ...
0
votes
1answer
69 views

EC2 and Mongo, best practices

When hosting web applications with EC2 is it best practice to use a separate EC2 instance for the database (mongo in this case) or is it ok just to keep the web server and database server on the same ...
1
vote
2answers
44 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 ...
0
votes
1answer
95 views

MongoDB Master and Slave - Windows or Linux [closed]

I have recently moved my MS Sql Server DB to MongoDB (2.0) on Windows Server 2008. Its containing 2 databases with following stats. (both databases get around 100 reads/writes per second). These ...
1
vote
1answer
224 views

MongoDB replicaSet failover incurs 1000x query response time increase

I'm testing a production MongoDB replica set failover. When I manually fail one of the instances I see an approx. 1000x (one thousand x) decrease in response times of my PHP queries. I'm on the ...
3
votes
1answer
404 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 ...
1
vote
1answer
66 views

Quickest/best way to copy a portion of a large mongo database to another server?

I have a dataset of 100m tweets stored in Mongo, unoptimized and unindexed. I need to copy all tweets from the last month onto another server, what is the best way to do this? My idea was to use a ...
2
votes
2answers
217 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$ ...
4
votes
1answer
88 views

MongoDB Disaster Prep on AWS

I'm looking for best practice advice covering MongoDB disaster recovery within an AWS hosted environment. Our setup is fairly standard at this point, replica set of 3 servers (1 primary, 1 secondary, ...
0
votes
2answers
25 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
57 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 ...
2
votes
2answers
158 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: ...
0
votes
1answer
273 views

mongo php on ubuntu 12.04 [closed]

this is what I did: for mongo install on ubuntu http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ done right mongo working then php driver apt-get install mongodb php5 php5-dev ...
2
votes
1answer
104 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 ...
2
votes
1answer
243 views

mongoexport csv output array values

I'm using mongoexport to export some collections into CSV files, however when I try to target fields which are members of an array I cannot get it to export correctly. command I'm using: ...
0
votes
1answer
53 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
139 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
119 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
52 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 ...

1 2 3 4 5