MongoDB : Document-Oriented NoSQL Database

learn more… | top users | synonyms

0
votes
1answer
30 views

CRC checkup in MongoDB

I am newbie to MongoDB and currently working on a project. I read tutorials about mongoDB but unable to find any information about Cyclic Redundancy Check (CRC) check in mongoDB. My question is that ...
0
votes
2answers
149 views

How secure is mongodb with elastic beanstalk and EC2

I have a questions. I run MongoDB on one of instances of EC2 and application on Elastic BeansTalk. I restricted access to DB: only application can access it. DB instance has Elastic IP because it is ...
0
votes
3answers
161 views

Difference between Sharding And Replication on MongoDB

I am just confuse about the Sharding and Replication that how they works..According to Definition Replication: A replica set in MongoDB is a group of mongod processes that maintain the same data ...
0
votes
2answers
70 views

Running a simple logging program, how to diagnose spikes mongod's CPU activity?

I'm running mongodb 1.4.7 - I've a node server set up which logs incoming requests in a logs collection: {'u':'user123', 'l':'log data'} In addition, once the request happens, the server will check ...
0
votes
1answer
28 views

Replicating MongoDB server on windows

I have a main server(windows-27017) and on that i replicated my data on different port (37017) but same server. Now i am trying to add my notebook as a replicate server on mongodb and installed ...
0
votes
1answer
79 views

MongoDB Storage Architecture (MySQL innodb_file_per_table equivalent to MongoDB)

I am new to MongoDB.I looked inside dbpath I found users.0 - 16.8MB users.1 - 33.6MB users.ns - 16.8MB Further when I dig deeper I found, The .0, .1 files are datafiles. Each datafile is ...
1
vote
1answer
138 views

How to Determine Chunk Distribution (data and number of docs) in a Sharded MongoDB Cluster?

Having done all the right things - picked an appropriate shard key, scaled horizontally, distributed my data across several shards, I find I now have no real way to determine how well balanced the ...
0
votes
1answer
81 views

MongoDB shell version error (Server has startup warnings)

I installed MongoDB under Ubuntu server and when inter to MongoDB shell i got this error and warnings. MongoDB shell version: 2.4.7 connecting to: test Server has startup warnings: Sun Oct 27 ...
2
votes
1answer
87 views

Improving concurrency in MongoDB via sharding

Our current setup: Cluster of ~500 ec2 c1.xLarge worker nodes with 8 threads on each running scientific simulations Results temporarily stored at runtime on each worker node's local MongoDB, using ...
1
vote
1answer
177 views

“ERROR: could not read from config file” MongoDB

I'm trying to configure MongoDB in OS X Mountain Lion. I've installed with Homebrew; I have followed lots of tutorials, but I have got an issue which I haven't been able to solved. The issue is about ...
0
votes
1answer
161 views

Launchctl in MongoDB

I'm trying to configure MongoDB in OS X Mountain Lion. I've installed with Homebrew; I have followed lots of tutorials, but I have got an issue which I haven't been able to solved. The issue is ...
0
votes
0answers
185 views

Installing mongodb as service

I'm trying to install mongodb as service on a machine running Windows Server 2008R2. I'm getting this message in the command prompt: The service is not responding to the control function. More ...
0
votes
2answers
92 views

Diffrence between relational and unrelational database [closed]

What is the difference between relational(MySql) and unrelational database(MongoDb)
0
votes
0answers
45 views

Multiple system.replset collections in local

I have a replicaset that's showing multiple system.replset collection in the local db. replset1:PRIMARY> show collections; me oplog.rs replset.minvalid slaves system.indexes system.profile ...
0
votes
1answer
84 views

MongoDB cloneCollection between CentOS servers times out at 2 hours

I'm trying to clone a MongoDB collection from CentOS server A to CentOS server B. Both are running 2.4.6. The copy works great until exaxctly 2 hours, at which point I get a 9001 socket exception: ...
1
vote
2answers
71 views

MongoDB scaling when working with files

I have read through the MongoDB manual about sharding and replicasets. However, I would like to know if the following can be achieved with sufficient performance (read/write): Saving 10,000,000 ...
0
votes
1answer
47 views

What does maintenanceMode -7 mean on a mongo primary?

I've recently promoted a new member to primary of a mongo replicaset. Things seem to be running smoothly for several days and am not seeing any application symptoms of any problems. However peeking ...
2
votes
0answers
89 views

MongoDB advantages [closed]

I am actually can not understand the real advatage or killer feature of MongoDB storage. As I understand currently MongoDB implements exclusive per-database write lock that is even worse from the ...
1
vote
1answer
136 views

Need a solution to store cheaply a big MongoDB collection

We have the typical problem of Twitter's timeline tweets, or Facebook profile's news: we need to show the users only the new information (storing them in a fast db), and put all the old ones somewhere ...
1
vote
1answer
45 views

Based on what criteria voting take place in MongoDB?

Suppose a replication set R1 contains one primary, 2 secondary and one arbiter node. Voting will happen if the primery node goes down. Based on what criteria secondary members will vote to select the ...
0
votes
2answers
424 views

Write Locks in Mongo DB

I read somewhere that mongo db holds db level write lock, does this mean that when someone updates any collection others are not allowed to read other collection or how it works. Also when someone ...
1
vote
1answer
243 views

I found the normal ULimit setting for mongo db is as follows:

I found the normal ULimit setting for mongo db is as follows: -f (file size): unlimited -t (cpu time): unlimited -v (virtual memory): unlimited [1] -n (open files): 64000 -m ...
2
votes
1answer
57 views

Accessing unsharded database in a MongoDB shard cluster without going through mongos?

As far as I can understand, not all databases in a MongoDB shard cluster have to be sharded; I can keep some databases unsharded, on only one of the shards. So suppose I have a shard cluster, with ...
2
votes
1answer
438 views

Can I disable journalling to improve performance

We have a 16 shard MongoDB 2.4 installation running in AWS that is eating money. The data is volatile, it only gets used within 15 minutes of creation If the cluster goes down we wipe it out and ...
0
votes
0answers
62 views

Import only selected column from tsv into mongodb

Edit I am uploading very big tsv file thats why i dont want to import unnecessary column in mongodb, I know how to upload file into mongodb(just as attachment) as:- mongoimport --db xyztsv--c ...
1
vote
2answers
99 views

Does mongodb support non readable file?

I have uploaded PDF/PST file in mongodb by mongofiles but by retrieving them in R(BSON) and converting it to "Character" type i didnt find the PDF/PST file,so is it possible to upload PDF file or PST ...
2
votes
1answer
984 views

mongodb config servers not in sync

I have setup with 2 shards, with 2 replica servers and 3 config servers, and 2 mongos. I have following problems: 1) mongo config servers out of sync: Aug 14 09:46:48 server mongos.27017[10143]: Sun ...
0
votes
0answers
9 views

mongodb config servers not in sync [duplicate]

I have setup with 2 shards, with 2 replica servers and 3 config servers, and 2 mongos. I have following problems: 1) mongo config servers out of sync: Aug 14 09:46:48 server mongos.27017[10143]: Sun ...
0
votes
2answers
101 views

mongo replication not happening

I setup master/slave replication of mongodb on EC2. But I see not replication happening. When I do "show dbs" on master, it shows all dbs expected. But when I do the same on replica, it does not show ...
2
votes
1answer
102 views

Memory management scenario with MongoDB

I'm implementing a medium scale marketing e-commerce affiliation site, which has following estimates, Total Size of Data: 5 - 10 GB Indexes on Data: 1 GB approx (which I wanted to be in memory) Disk ...
2
votes
1answer
794 views

Creating mongo 3 node replica set on ec2 problems

I'm trying to create a 3 node cluster of mongo replicas on ec2 instances, with internal ips 10.168.xxx.xxx, 10.166.xxx.xxx and 10.188.xxx.xxx, my config file is: dbpath = /home/ubuntu/mongo-data/ ...
0
votes
0answers
122 views

mongodb status/stop in inconsistent state after unexpected termination

I installed mongodb on a ubuntu EC2 instance. I also configured EBS volume for the EC2 instance. I did: sudo apt-get install mongodb sudo service mongodb stop { configured dbPath and logPath to EBS ...
0
votes
1answer
217 views

mongodb user for ubuntu EC2 instance

I am trying to install mongodb on Ubuntu EC2 instance. However, I am confused about what user the DB would run as: If I follow: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ ...
2
votes
1answer
53 views

How to handle “or” possibilities in MongoDB

I'm new to MongoDB and by no means an expert in DB design in general. This feels like a really basic question that's probably been answered a million times, but I'm having a surprisingly hard time ...
0
votes
0answers
26 views

Buffered operations with MongoDB

I have a server with 8GB of disk space running MongoDB. It collects 250,000 documents a day (spread across three collections), so the 8GB is only enough to last it maybe a week or so before I have to ...
1
vote
1answer
149 views

Mongo repair database “ERROR: error: exception cloning object in local.system.replset ”

I'm trying to repair a mongo database and am running into the following error early on: Wed Jul 24 16:55:21 [initandlisten] ERROR: error: exception cloning object in local.system.replset E11000 ...
0
votes
0answers
56 views

MongoDB RAM requirements doubt

I have a data file with 100 million documents. The number of documents is expected to always remain between 100 million and 200 million for atleast a year. I have 15 GB Ram. Currently the update ...
1
vote
0answers
130 views

MongoDB performance limits of mongo

There are 100 data files, each with 60 fields and over 4 million records. There is a perl program that inserts the records or updates them based on an userdefined _id field. There is also a History ...
1
vote
1answer
35 views

Check and remove iteratively without an index

Without sync priority or performance requirements on the task, I need to check all documents once per day and removing some of them. The find filter is not static but can be defined within a db ...
0
votes
1answer
121 views

Preventing mongodb crashes

I am using mongodb with the web server. Recently, I observed that mongodb server crashed after "no space left" for journalling. So, after some online help I could repair and restart the DB. But, ...
1
vote
2answers
593 views

Mongo DB Cant Start

Evening we have had a mongodb running fine for a few weeks and all of sudden it has gone down. We are unable to start it back up as it is complaining that the "dbpath (/data/db/) does not exist" I've ...
3
votes
1answer
295 views

mongostat causing CPU 100%

On a 64Bit Debian 6 OS with 4 CPU cores and 8GB RAM, I can reproduce an issue with mongostat. Whenever I create an index, reIndex or even index in background, according to top, the CPU load is 40-60% ...
1
vote
0answers
73 views

MongoDB secondary heartbeat hangs

We have got the same issue in two replica sets in AWS cloud. According to rs.status() on primary secondary jumping between SECONDARY and unhealthy states. With period of 10-20 seconds. In logs I see ...
8
votes
1answer
2k views

What happens if there are too many inserts in MongoDB? How to ensure all data is stored?

I use MongoDB to store periodically measured values. Every ~100 ms a bunch of values is inserted as document. It works fine, but I'm worried about performance issues. (I use safe inserts, it seems as ...
0
votes
0answers
69 views

Locking and Faulting on import

My collection with a _id and a single field index is run on a single node/on localhost, has 48GB RAM and 16 core CPU available. The hdd is in RAID1, without SSD cache. Mongo version 2.4. I run a ...
1
vote
1answer
212 views

optimizing MySQL for traffic analytics system

background : I've developed a URL shortener system like Bitly with same features , so the system also tracks clickers info and represent as graphs to the person who has shorten the link as ...
3
votes
2answers
154 views

Scalability: Desiging a message table

This question might be deadly simple but I wanted to make sure I am going through the correct path and not making any simple and irrevertible mistakes. My project will be based on messaging and it ...
-2
votes
1answer
68 views

mongos and monod have the same default port?

Is it true that by default mongos and monod uses the same port 27017? I had to pick a different port for one of these two. For example --port 37017 for mongos. Did anyone have the same confusion? ...
4
votes
1answer
237 views

Should I deploy Mongodb sharding for 50 collections?

I have a 10 node clusters that runs about 50 concurrent jobs. Each job needs to read/write a separate collection. So I have about 50 collections roughly. Each collection has about 20 M records. Most ...
2
votes
1answer
309 views

Mongo authentication user can't drop database

my question is - is it possible to define user in the Mongo database who will be able to drop the database? Maximum user privilege is "dbAdmin" but that privilege doesn't allow users to drop the ...