官术网_书友最值得收藏!

SQL to aggregation

An aggregation pipeline can replace and augment querying operations in the shell. A common pattern for development is:

  • Verify that we have the correct data structures and get quick results using a series of queries in the shell
  • Prototype pipeline results using the aggregation framework
  • Refine and refactor if/when needed either by ETL processes to get data into a dedicated data warehouse or by more extensive usage of the application layer to get the insights that we need

In the following table, we can see how SQL commands map to the aggregation framework operators:

主站蜘蛛池模板: 哈尔滨市| 班玛县| 塘沽区| 鹤岗市| 叶城县| 石渠县| 固镇县| 都安| 田东县| 台北市| 九江县| 紫云| 九江县| 花莲市| 济南市| 澄江县| 永和县| 宣城市| 盐边县| 乌苏市| 鞍山市| 新乡市| 英德市| 旺苍县| 城固县| 桃园市| 临桂县| 忻州市| 吴江市| 兴化市| 鄂托克前旗| 嘉鱼县| 漠河县| 五常市| 天津市| 武功县| 阿坝县| 衡南县| 漠河县| 五常市| 拉孜县|