The MongoDB Database
- Database
A structure way to store and access data
- NoSQL Database
A mechanism for storage and retrieval of data that is modeled in means other than the traditional tabular relations
- Document Database
Data in MongoDB is stored in the form of documents. This is why it is categorized as a no SQL document DB
- Collections
All the documents are stored in a collections of documents.
<aside>
💡 Deploy Locally
Configure Locally
Maintain Local Deployment
</aside>
Primitive Concepts
Documents
- A way to store and organize data as a set of field-value pairs where a field acts as a unique identifier for a data point in a document and value is the data related to the given identifier
{
<field> : <value>,
<field> : <value>,
<field> : <value>,
}
For example,
{
"name" ; "Kush Gabani"
"age" : 20,
"email" : "[email protected]",
}
Collections
- An organized store of documents in MongoDB, usually with common fields between documents
MongoDB Atlas
- The MongoDB Atlas cloud database is a fully managed database built for a wide range of applications with MongoDB at its core.
- Database as a Service
- Manage Cluster Creation
- Run and maintain database deployment
- Use cloud provider of our choice
- Experiment with the latest tools and features
- It helps us Analyze, Visualize and Export and build applications with our data.
Let's use Atlas to set up a MongoDB database
Pricing