MongoDB is a scalable, high-performance, open source, document-oriented database. It supports a large number of languages and application development platforms.

learn more… | top users | synonyms (2) | mongodb jobs

0
votes
1answer
6 views

Translating MongoDB query to a MongoDB java driver query

Please help me translate the following MongoDB query to a java based Query using the Java MongoDB driver. Thank You. db.playerscorecollection.aggregate( { $unwind: "$scorearray"}, { ...
0
votes
0answers
18 views

MP3 files are not loading in Mongodb with php

I can successfully upload / download image files in Mongodb with php through GridFS, but when I try to upload mp3 file, nothing happens. Neither I get any error nor any it is uploaded and further I ...
0
votes
1answer
11 views

MongoDB beginner - to normalize or not to normalize?

ok, I'm going to try and make this as straight-forward as I can. comming from mySql and thinking in tables, let's use the following example: Let's say that we have a real-estate website and we're ...
0
votes
0answers
12 views

node + express + mongoose query authentification

Im building a simple web app app in express, and I'm a bit stuck in the authentification for my sessions, im going to validate everything in the client with backbone and regExp eventually when i start ...
0
votes
1answer
5 views

Is it possible to pair EZ Publish 5 to MongoDB?

We have an EZ Publish 5 already operational with an Oracle 11g database as a persistence backend. We planned to get rid of Oracle and we know that we could use Postgresql for sure as a new RDBMS, but ...
1
vote
0answers
14 views

Iterating MongoDB cursor blocks forever

I'm using the MongoDB C# driver 1.8.1.20 with Mongo 2.4.3. I use the following infinite loop to poll new messages from a capped collection and process them as they come (with a tailable cursor and ...
0
votes
1answer
15 views

Inserting data into mongodb using python

Should I be re-initializing the connection on every insert? class TwitterStream: def __init__(self, timeout=False): while True: dump_data() def dump_data: ##dump my data into mongodb ...
0
votes
1answer
20 views

Mongo vs Couch in a specific use case

My use case is this: Currently, in Couch I've created views by emitting mapreduce keys that are programmatically calculated based on the fields of the documents. For example, a document always has ...
1
vote
2answers
13 views

Can't import MongoClient

I am unable to do this: from pymongo import MongoClient I get: >>> import pymongo >>> from pymongo import MongoClient Traceback (most recent call last): File "<stdin>", ...
0
votes
0answers
9 views

mdadm no such file or directory

Please help me debugging this issue. I run following command on EC2 t1.micro ubuntu 12.04 instance while creating RAID for mongodb I followed: ...
0
votes
1answer
21 views

MongoDB Java Driver Infinite loop while reading results

I am reading MongoDB results using the following code , however the while loop runs in an infinite loop always iterating over the first element in the collection, can someone point out what I am doing ...
3
votes
2answers
27 views

mongodb: count/size of a query array

How do I get the size .count of a returned array db.students.distinct('class_id') This query will get back a array, how do I get the size/length/count of this array?
0
votes
0answers
19 views

NodeJS/ExpressJS send response of large amount of data in 1 stream

I'm prototyping an app using the native mongo rest api where Node returns about 400K of json. I use the following to maket he request to mongo's native api and return the result: ...
0
votes
2answers
25 views

Async and recursion in nodejs

Beginning with express and mongoose i often need to do some batch operations on collections. However it usually involves callbacks which is a pain given how concurrency is coded in nodejs. so ...
0
votes
1answer
11 views

How to tell if specific MongoS instance has active connections?

StackOverflow Community: I'm upgrading a sharded cluster and want to turn one of three mongos instance off... I've guaranteed that new incoming connections will not take place because I disabled the ...

1 2 3 4 5 1213
15 30 50 per page