MongoDB Database
MongoDB Database
Pipeline
MONGODB DATABASE DESIGN ALLOWS
FOR DOCUMENT VERSIONING USING
AGGREGATION PIPELINE
• Document versioning makes the history of versions inside your system accessible at any time.
• Instead of using multiple systems to control documents, you can store them all in one
database.
• Document versioning is a helpful solution for highly-controlled business areas, like financial
or healthcare, which require a specific point in time of a dataset.
• To facilitate the processing of a large volume of data, MongoDB provides users with an
Aggregation Framework.
• With the help of this tool, you can improve the performance of system queries, since the
Aggregation Pipeline supports various embedded features and indexing types.
• Let’s review how this works in a real-world example. Let’s say a restaurant uses MongoDB
database design. If the unit price for any item changes from week to week, MongoDB lets the
restaurant save those changes and delivers the correct unit price on the requested date.
MONGODB DATABASE DESIGN ALLOWS
FOR DOCUMENT VERSIONING USING
AGGREGATION PIPELINE
SUMMARY : AGGREGATION PIPELINE