2018-10-04 14:47:55 +01:00
---
title: MongoDB
---
2019-03-08 06:02:12 +07:00
< img src = "https://upload.wikimedia.org/wikipedia/en/thumb/4/45/MongoDB-Logo.svg/527px-MongoDB-Logo.svg.png" >
2018-10-04 14:47:55 +01:00
## MongoDB
2019-03-07 18:22:45 -05:00
MongoDB is an open-source non-relational Database that uses a JSON-like structure to store data.
2018-10-04 14:47:55 +01:00
It uses a document model to store and retrieve the data instead of the table model used by sequential databases such as SQL or Oracle.
2018-10-14 21:56:38 +05:30
MongoDB is a distributed database at its core, so high availability, horizontal scaling, and geographic distribution are built in and easy to use.
2019-03-08 04:36:10 +05:30
MongoDB in applications built with javascript is mainly used with Mongoose which is a package built on top of native mongo driver . It gives features like schema based design , virtuals , data validations etc. It makes the mongodb experience smooth and easy to use. You can learn more about mongoose [here ](https://mongoosejs.com/ ).
2018-10-04 14:47:55 +01:00
### NOSQL Vs RDBMS
| MongoDB Terms And Concepts | SQL Terms and Concepts |
| --- | --- |
| Database | Database |
| Collection | Table |
2019-03-07 18:22:45 -05:00
| Document | Row |
2018-10-04 14:47:55 +01:00
| Field | Column |
| Index | Index |
| Embedded Documents | Table Joins |
### MongoDB Characteristics
1. Next Generation Database
2. No Joins
3. Clustering
4. Opensource
2019-03-07 18:22:45 -05:00
5. Schema-Less
2018-10-04 14:47:55 +01:00
6. No Relationships
### Features of MongoDB
1. Document Database
2. High Performance
3. Rich Query Language
4. High Availability
5. Horizontal Scalability
### More Information
[What is Mongo DB? ](https://www.mongodb.com/what-is-mongodb )
[Wikipedia article on Document-oriented Databases ](https://en.wikipedia.org/wiki/Document-oriented_database )
[SQL vs NoSQL ](https://insights.dice.com/2012/07/16/sql-vs-nosql-which-is-better/ )
[Learn MongoDB from MongoDB ](https://university.mongodb.com/ )
2018-11-17 13:24:45 +03:00
2019-03-07 18:22:45 -05:00
[Getting Started with MongoDB] (https://docs.mongodb.com/manual/tutorial/getting-started/)