Questions tagged [mongodb]

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

MongoDB is a document oriented database. It's coded to be fast, scalable and supports natively solutions like sharding, replication, Map/Reduce and storage of files on the DB.

MongoDB doesn't uses SQL, making it a NoSQL database, its data is retrieved using a dynamic query system and returns JSon-style data.

889 questions
3
votes
2 answers

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?
Howard
  • 2,135
  • 13
  • 48
  • 72
3
votes
3 answers

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 will allow all the different processes I have…
Jake
  • 619
  • 4
  • 7
  • 18
3
votes
1 answer

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 consisting of the WSFC nodes A private network consisting…
3
votes
2 answers

mongod cannot execute in ubuntu

I am installing mongodb on ubuntu terminal from this url (http://mongojs.org/install-mongodb-ubuntu-11-04-natty) I am on the step where you type in ./mongod when I type that I get the following: bash: ./mongod cannot execute binary file error …
user1522901
3
votes
1 answer

mongodb replication: no primary elected

I have three servers with mongod installed on it running as a replication set. Suddenly the two secondories became unavailable (the mongod process died) - I think because they were too stale. The problem is that the original PRIMARY is now the…
Mads
  • 143
  • 1
  • 1
  • 5
3
votes
1 answer

Is /home a good place to put my (huge) MongoDB data file?

(I'm not too familiar with admin stuff.) My server has two disks/partitions, one mounted on /, the other much bigger one mounted on /home. My MongoDB data file was at /var/lib/mongodb by default (I'm on a Debian). I'm assuming I can just move data…
julien_c
  • 155
  • 1
  • 5
3
votes
1 answer

mongod: automatically initiate replica-set

Currently I manually execute the rs.initiate() in the shell after starting a mongo primary or secondary machine to join the replica-set "farm". Doesn't the /etc/mongodb.conf allow me to define the initiate command to do this automatically when…
ledy
  • 565
  • 1
  • 6
  • 15
3
votes
1 answer

MongoDB -what's the safest and most efficient way to change from Master-Slave to ReplicaSet?

I now have two mongo servers with a Master-Slave configuration (all read-writes are done with the Master, the Slave is just a cold backup) serving a pretty demanding web app. I want to switch to ReplicaSet of 3 servers - I have these 3 already…
SecondThought
  • 409
  • 1
  • 4
  • 11
3
votes
3 answers

Recommended way to install mongoDB

We are looking to install mongoDB on Ubuntu 12.04 and are researching different installation options. Currently examining a) apt-get b) retrieving binaries (wget) and manually installing What are the recommended methods for installing mongoDB…
DOS
  • 55
  • 4
3
votes
3 answers

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 the utf8 characters fine, as well as my…
Michael
  • 801
  • 1
  • 7
  • 15
3
votes
1 answer

RAID / drive configuration for an intranet MongoDB server

I'm trying to get a handle on the best way to configure a Dell PowerEdge R410 for hosting a MongoDB-backed intranet application. The R410 has 4 drive bays and a PERC 6/i controller. RAID10 is the recommended RAID level for MongoDB, so my initial…
HolySamosa
  • 133
  • 2
3
votes
4 answers

RDBMS: Is it possible to scale out a RDB?

Is it possible to scale out a RDB ? If it's possible, how can one achieve it? I'm asking this question because I assisted to a NoSQL event in which the speaker told many times that the one of the disadvantages of relational databases is the…
Michael
  • 133
  • 1
  • 3
3
votes
1 answer

MongoDB isn't installing on FreeBSD 8.2 by any way

Firstly I've tried to perform step by step building of MongoDB on my vps with FreeBSD 8.2 on it. I've faced problem with the last step of building it: vm3578# scons . scons: Reading SConscript files ... scons version: 2.0.1 python version: 2 6 6…
3
votes
1 answer

Make MongoDB work for production

I have made a simple test of MongoDB under windows environment. The single collection of objects with ID (int32) and Buffer (byte[4096]) was filling sequentially. After reaching of almost 15G (of 16G total) RAM, environment becames glitching. Some…
Stan
  • 269
  • 3
  • 10
3
votes
2 answers

Is it possible to use more than one disk for MongoDB data store without RAID?

I'm running MongoDB in a virtualized Linux environment. In this situation, I have multiple physical disks that I can use for the database. However, I'd rather not manage a RAID (mostly because I have little to no experience with RAIDs.) I'm also…
Tom
  • 3,213
  • 2
  • 20
  • 19