MongoDB is a scalable, high-performance, open source, document-oriented database. Official builds are available for Linux, Windows, OS X and Solaris. Database administration questions are generally better suited to dba.stackexchange.com

learn more… | top users | synonyms

0
votes
1answer
4 views

MobgoDB - Get a list of records from a collection sorted by count and uniqueness of a field

So I have a bunch of documents in a MongoDB collection and it seems that the collection is growing a little faster than we thought. Is there a way to get a list from a collection that will count the ...
0
votes
0answers
49 views

Tokumx-mongo three server shard with one primary and two secondary . But one shard down how to repair?

** I have setup 3 servers with tokumx-mongo . All three server's ps -ef output :- root 18128 1 9 Aug13 ? 5-13:15:19 /usr/local/tokumx/bin//mongod -f /etc///mongodb.27018.conf ...
0
votes
0answers
95 views

Install old version php on Centos

I have troubles with php + mongodb After redeploying project, php throw 500 because "Can't canonicalize query: BadValue $in needs an array" (https://jira.mongodb.org/browse/PHP-1051) I install same ...
1
vote
1answer
151 views

alias not working with my mongo --eval command

I have the following mongo shell command to delete all users that aren't admins mongo --eval 'db.users.remove({group:{$ne:"admin"}})' collection This works. I want to create an alias for this ...
0
votes
1answer
29 views

Sign in with Mongo shell without having password shown?

How can I sign into the Mongo shell without showing my password? Everything says to either use mongo -u user -p password -authenticationDatabase admin or mongo > use admin; > db.auth('user', ...
0
votes
1answer
311 views

brew/mongodb doesn't stop when I close terminal

I installed mongodb with brew and I didn't load the launchctl plist. When I run the mongod command to start the server in foreground and suddenly close my iTerm the mongodb process stays up and I ...
0
votes
0answers
37 views

How to parallelize crontab executions to increase user base for web app based on mongodb and mysql?

I have a symfony based web application that runs on mongodb and mysql backend. The principle of the application is that for each user there is a python script that runs 4-12 times a day on cronjobs ...
0
votes
0answers
26 views

How to accelerate a shell script for a mongoDB application?

I started shell scripting for my work, but I must admit I'm still far away from even being a rookie. Therefore I wanted to ask you for your help/advice. I build a script for a big data application ...
-1
votes
1answer
108 views

CentOS - Upgrading MongoDB to 2.6.1 with no internet

I'm trying to install MongoDB 2.6.1 on my CentOS machine that has no access to the internet. I've downloaded the rpm files from the repo, and when I try installing, I keep getting the ...
2
votes
1answer
68 views

Linux multi-tasking

I'm working on deploying a node project to a Linux box on amazon EC2. The project uses mongoDB. I'm trying to run node and mongoDB simultaneously on the box but I'm unfamiliar with linux. Is it ...
0
votes
1answer
431 views

how to query across collections in rockmongo [closed]

If I have a collection of users and a collection of properties which has a user_id in each properties document; how do I get a list of users' and the zip codes (zip` is a field in the 'properties" ...
0
votes
0answers
210 views

how to create ssh connection with remote mongodb server using mongohub and a private key

i'm using trying to use mongohub to access data on a remote mongodb server. right now I can ssh on to the server using the following command: ssh -i mykey.pem ubuntu@xx.xxx.x.xxx The userid is ...
1
vote
1answer
501 views

Cannot access Mongodb from internet

I am using Mongodb database ,which is installed with the ip address 126.22.252.25. The Ubuntu version info is 12.04.3 LTS. My Mongodb uses the default 27017 port. On this local machine I can use ...
2
votes
1answer
705 views

Why journaling use so much space in mongodb?

I have a mongodb database that uses approximately 1GB of space. I was surprised when my server ran out of space, and then I realized that the journal uses 3GB. The documentation says that "Once ...
4
votes
3answers
7k views

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 command returns error

I'm trying to install Mongodb on Ubuntu 12 but when I run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 This returned the error below: keyserver.ubuntu.com host ...
3
votes
1answer
775 views

Installing mongodb on Debian conflict

When installing mongodb I encountered conflict. How do I tell which package it conflict with? I tried both aptitude and apt-get, and I tried the 10gen version as well. But I've no idea what it is in ...