NoSQL Database MongoDB

Any relational database has a typical schema design that shows number of tables and the relationship between these tables. While in MongoDB there is no concept of relationship


MongoDB is document database in which one collection holds different different documents 
No complex joins
Deep query-ability. MongoDB supports dynamic queries on documents using a document-based query language that's nearly as powerful as SQL
Duplicate the data (but limited) because disk space is cheap as compare to compute time.
Do complex aggregation in the schema
In MongoDB schema design will have one collection post and has the following structure:

 name : "sandeep"
age : 10
        house : "abc"
       state : "test"

1 comment: