Files
freeCodeCamp/guide/english/mongodb/index.md

53 lines
1.8 KiB
Markdown
Raw Normal View History

---
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">
## MongoDB
MongoDB is an open-source non-relational Database that uses a JSON-like structure to store data.
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/).
### NOSQL Vs RDBMS
| MongoDB Terms And Concepts | SQL Terms and Concepts |
| --- | --- |
| Database | Database |
| Collection | Table |
| Document | Row |
| Field | Column |
| Index | Index |
| Embedded Documents | Table Joins |
### MongoDB Characteristics
1. Next Generation Database
2. No Joins
3. Clustering
4. Opensource
5. Schema-Less
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/)
[Getting Started with MongoDB] (https://docs.mongodb.com/manual/tutorial/getting-started/)