datos


Tag Aware Sharding

When we shard a collection MongoDB distributes its data across all the shards of the cluster. MongoDB uses chunks, split and round balancing for getting it. For all of you who want to read about it here it is our last post MongoDB Pre-splitting. This is how MongoDB allows our […]


MongoDB Aggregation Framework (part 4)

This is the forth and last post of the serie about the MongoDB Aggregation Framework. We will continue with different queries. By the moment, we are going to use our five documents set inserted in our ‘aggfwktest’ collection. Average computation in a new field

The highest and the lowest, […]


MongoDB Aggregation Framework (part 3)

Part III of the post MongoDB Aggregation Framework Examples After a brief and theoretical introduction to the Aggregation Framework philosophy, and its odds, we are going to begin with what is really important for us, the examples. Single purpose aggregation operations Count y Distinct are the operations we are most […]


MongoDB Aggregation Framework (part 2)

Part II of the post MongoDB Aggregation Framework MongoDB vs SQL As I know that most of you come from SQL world, I am going to show the equivalence between the sql functions and the functions we will use with the aggregation framework. MongoDB Aggregation Operators SQL Functions $project SELECT […]


MongoDB Aggregation Framework

Today we begin a set of posts for understanding how to work with the Aggregation Framework. In my post First steps with MongoDB we could see how to make basic queries on the database. Therefore, this is the right moment to take a step forward and learn how to extract aggregated […]