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
0answers
9 views

How do i query for hash not being blank in mongodb?

Is it possible to query for a hash size to not be 0, an embedded document: class Question embeds_many Answers class Answer :trait_score_modifiers (A Hash) I want to do the following: ...
2
votes
0answers
16 views

Cursor issues on Remove

There is no ->remove()->limit() for mongodb. That's why I use my little script for solving the task. <?php $conn = new Mongo('127.0.0.1'); $db = $conn->experimentDB; $experimentCollection = ...
0
votes
0answers
14 views

What are the pros and cons of a Relational DB vs Mongo vs Flat file behind a CDN

let's say that I have an ecommerce website with million of products, that have millions of pageviews a day, mostly for product details pages. Let's say that I currently have all my data in a ...
0
votes
0answers
20 views

aggregate request MongoDB

I'd like get a multiple fields in a collection list with a condition. I tried a aggregate request but i have an error. My request ...
0
votes
0answers
13 views

Occasional spike in nscanned for a MongoDB query

I have a query of the form db.coll.find({x: {$in: ['foo', 'bar', 'baz']}).sort({_id:-1}).limit(LIMIT) "x" is a single ObjectId field, _id is an ObjectId too. There is an index {x:1, _id:-1}. This ...
0
votes
2answers
19 views

Update multiples fields Mongo DB

i have a big problem with mongo db because i want to update a multiple fields with One request. My Json is : db.test.findOne(); { "_id" : ObjectId("51e7dd16d2f8db27b56ea282"), ...
0
votes
1answer
20 views

how to update into nested in array in mongodb

i have a structure like this { "name":"xxxxxx", "list":[ { "listname":"XXXXX1", "card":[ { ...
0
votes
0answers
16 views

Meteor - Connection Timeout. No heartbeat received

I get the following error: Connection timeout. No heartbeat received. When accessing my meteor app (http://127.0.0.1:3000). The application has been moved over to a new pc with the same code ...
1
vote
1answer
13 views

Retrieving data from MongoDB with ExtJS using the REST API

For the need of a simple demonstrator, I've created a simple grid panel in ExtJS, and now i'm trying to fill it with data coming from MongoDB. I heard about Node.JS and stuff but there I just want to ...
0
votes
0answers
7 views

Best practices for using #find or relations with Mongoid when shard key is known

We're in the process of sharding our database and I was wondering if there were some best practices for updating queries on relations or #find when you have a known shard key (e.g., you're sharding on ...
0
votes
0answers
12 views

How to get data from remaining shards when a shard is unavailable

I am implementing a sharding on mongodb. I am not maintaining any replicas of shard. If one of the shard is unavailable, i want to get data from other shards that are available if data exists in them ...
0
votes
1answer
20 views

Improvising the Performance of Mongodb (Scaling/Sharding)

Thank you for your time to answer to my question first of all. I want to give my thanks back to the community. Secondly, I would like to get your recommendations/suggestions for Optimizing / ...
0
votes
0answers
9 views

Is BsonJavaScript in MongoDB indexable?

I have the following code for retrieving messages in MongoDB which happen to have a bitwise flag "Status", which is why I am using the built in BsonJavaScript capability for filtering those records. ...
0
votes
1answer
9 views

How to pass MongoDb Json value to KendoUI grid using webservice method

I'm new to KendoUI, trying to populate a KendoUI grid with JSON data which is fetched from mongoDB as BsonDocument lsit and returned as JSON string, var ds = new kendo.data.DataSource({ transport: ...
0
votes
0answers
25 views

How to call get on a button?

How do you call a get on the add friend button to disable the button in jquery if the friend request was already added to the friendRequest Array? I included my take on it, but not sure what I am ...

1 2 3 4 5 1226
15 30 50 per page