Relative Content

Tag Archive for mongodb

MongoDB aggregation with lookup pipeline

My mongoDB statistical query is not performing as expected even after I aggregate all of the queries into a mongoDB aggregation. The final query result still contains an incorrect value.

What are the effects of too many open cursors on MongoDB

I’m researching some performance issues in MongoDB and I’m trying to find out what are the performance effects of having too many open cursors (hundreds, thousands) per node in a MongoDB node. Also, what are the reasonable limits for this and how to enforce it ?

MongoDB schema: optional vs. nullable

If I have a schema that includes fields that may or may not be set, what is the best way to handle these fields? Should they be optional or instead nullable?