--
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.