MongoDB: Gathering Pipeline,
It appears in MongoDB2.2.
A data aggregation framework based on data processing pipeline conceptual modeling. The document enters a multi-stage pipeline that can convert the document into clustering results.
The
New appearing in the MongoDB2.2.Aggregation pipeline data aggregation framework based on conceptual modeling of data processing pipelines. The document enters a multi-stage pipeline that translates the document into aggregated results.The
in the two previous articles the basic aggregation function of data aggregation in MongoDB count, distinct, group > and the MapReduce of data aggregation in MongoDB >, we've provided two implementations for data aggregation, and today, in this
In MongoDB aggretion, if there is a matching shard key in the pipeline, then this pipeline only runs in matching Shard, in the previous (3.2), pipeline is diverted, and finally by primary shard merge;In sharded collections, aggragation must run in
/*** MongoDB $type operator*/
/*** The $type operator is based on the Bson type to retrieve the matching data type in the collection and returns the result.* The types of MongoDB that can be used are shown in the following table:* Type Number Notes*
MongoDB Study Notes-aggregation
The latest new project to use mysql has not forgotten yet. The summary records the following MongoDB aggregation.
AggregationIt refers to various operations that can process batch records and return computing results.
MongoDB database data aggregation & amp; Pipe operations, mongodb database AggregationThe data aggregation process for pipeline operations on mongodb usually works with pipeline operations. The pipeline operation concept of mongodb is similar to the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.