MongoDB Aggregation Pipeline: Advanced Data Analysis and Manipulation

MongoDB Aggregation Pipeline: Advanced Data Analysis and Manipulation

1h 17mAdvanced2023-01-05

Authors

Ado Kukic

Ado Kukic

Developer Advocate and Full Stack Developer

Course details

The MongoDB Aggregation Framework allows developers to manipulate and transform data stored in a MongoDB database to fit almost any use case. The aggregation pipeline consists of a series of user-defined stages that manipulate data to produce a final result. The aggregation framework is a very powerful, but also complex tool. In this course, instructor and full-stack developer Ado Kukic explores advanced data analysis and manipulation topics in MongoDB. Ado shows you how to properly use the aggregation framework, highlighting potential use cases and best practices, and shares tips and tricks to help you get even more value from your MongoDB databases.

Skills covered

MongoDBAdvancedDatabase DevelopmentDatabase ManagementData AnalysisData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware Development

Concepts

Introduction

  • Unlock your data with MongoDB aggregations
  • Application and data model

MongoDB Aggregation Framework

  • Overview of the MongoDB aggregation framework
  • Aggregation pipeline stages
  • Aggregation vs. standard queries
  • Aggregation pipeline vs. map-reduce

Working with the Aggregation Pipeline

  • $match, $sort, $limit
  • Transforming data with aggregations
  • Adding and removing data with aggregations

Aggregation Pipeline Stages

  • Persisting aggregation results with $out
  • Joins in MongoDB with $lookup
  • Working with arrays and $unwind

Advanced Aggregations

  • Custom aggregation functions
  • Custom aggregation accumulator
  • Performance and optimization of the aggregation pipeline

Conclusion

  • Next steps
40,000 Toman