MongoDB data has a flexible schema documents in the same collection. They will have the same set of fields or structure, and common fields in a collection’s documents can hold various types of data.
Some considerations while designing Schema in MongoDB
Assume a client requires a database design for his/her blog/website and observe the differences between RDBMS and MongoDB schema design. Website has below requirements.
In RDBMS schema, design for above requirements will have minimum three tables.
While in MongoDB schema, design will have one collection post and below structure
Therefore while showing the data in RDBMS, you have to join three tables and in MongoDB, data will be shown from one collection only.
MongoDB Related Interview Questions
|Python Interview Questions||C & Data Structures Interview Questions|
|Hadoop Interview Questions||Node.js Interview Questions|
|Scala Interview Questions||Socket Programming Interview Questions|
|HBase Interview Questions||Solaris Administrator Interview Questions|
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.