Self Reflection: MongoDB
MongoDB day 1:

📍 Data model is a way to plan a strategy to arrange or organise data in some way. Types: embedded and reference.

📍 Mongodb is one of the document based database. It support sql ( structured data ) and nosql ( unstructured data )both.

📍 In mongoDB record is known as document and table is known as collection.

📍 Installation of mongodb

📍 Some basic commands

📍 Mongodb accept info in json format.

📍 Integration of mongodb with python.

📍 Detail about I/O operation, with the help of database how we can minimise the time complexity.

📍 findOne( ), bydefault print output in pretty format.

📍 explain( ), by default they print query planner for us but executionStats do explain in very detail.

📍 Indexing concept in mongoDB help us in arranging data in sorting order ( comes under IXSCAN ). But we never recommend to use indexing for searching name, address etc. ( Comes under collection scan )

📍 Aggregation help us in creating pipeline.

📍 Mongodb has support master, slave architecture. Where master replicates the data in all the slaves. Slaves contains groups of data i.e they contain sharded data.

📍 Cluster we can create on prem, using AWS service documentdb and using Atlas cloud by mongodb.

📍 Detail about reference model.


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store