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

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:

主站蜘蛛池模板: 香格里拉县| 池州市| 元阳县| 凌源市| 南昌县| 湛江市| 蓬莱市| 嵊州市| 海林市| 定远县| 时尚| 丹寨县| 和静县| 正蓝旗| 普定县| 门源| 盐津县| 宜阳县| 达拉特旗| 洛扎县| 易门县| 阳东县| 吴堡县| 灵丘县| 汶上县| 罗甸县| 讷河市| 县级市| 彩票| 故城县| 阿拉善右旗| 馆陶县| 大渡口区| 雷州市| 自治县| 德惠市| 环江| 中超| 环江| 米泉市| 额敏县|