MongoDB is a No-SQL database. There are several types of No-SQL databases. Specifically MongoDB is a document database. All data/records are stored as documents. The data is stored using JSON (JavaScript object notation) like syntax.
No-SQL databases are much different from relational databases like MYSQL where all the relations are being mapped,figuring out the exact schema including what table, fields, data type of fields is used etc..
But in No-SQL the structure of the database/collection is planned but no need to predefined the structure before building the application.
Advantages of MongoDB.
- High scallability.
- Faster.
- Can deal with big data.
- High availability.
- Flexible database.
- Sharding.
- Ad-hoc query support.
Disadvantages of MongoDB.
- Limited data size
- Joins are not supported.
- High memory usage.
- Limited nesting.
Features of MongoDB.
- Ad-hoc queries.
- Schema-less database.
- Documented oriented.
- Indexing.
- Replication.
Comments
Post a Comment