From the course: MongoDB Aggregation Pipeline: Advanced Data Analysis and Manipulation
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Performance and optimization of the aggregation pipeline - MongoDB Tutorial
From the course: MongoDB Aggregation Pipeline: Advanced Data Analysis and Manipulation
Performance and optimization of the aggregation pipeline
- [Instructor] The MongoDB aggregation framework enables you to unlock the full potential of your data. In this course, we looked at a number of different aggregators and operators, ranging from aggregators that helped us filter existing data to aggregators that helped us create new insights, documents, and answer questions about our dataset, and much, much more. We just scratched the surface of what's possible. Before we wrap up, I want to leave you with some tips and tricks on how to get the most out of the MongoDB aggregation pipeline as you start introducing the concepts you learned into your own applications. The MongoDB engine will automatically try to make aggregation pipelines more efficient if it can, but being aware of the best practices can make you even more effective. The first performance tip is considering whether or not to use the aggregation pipeline in the first place. The MongoDB query language outside…