本文主要是介绍CP1 What is MongoDB?,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
What is the MongoDB Database?
Collection - an organized store of documents in MongoDB usually with common fields between documents. There can be many collections per database and many documents per collection.
Why is MongoDB a NoSQL database?
Because it uses a structured way to store and access data
Because it does not utilize tables,rows and columns to organize data
What is a Document in MongoDB?
Document - a way to organize and store data as a set of field-value pairs
Field - a unique identifier for a datapoint
Value - data related to a given identifier
Collection - an organized store of documents in MongoDB,usually with common fields between documents. There can be many collections per database and many documents per collection.
Select the statement that together help build the most complete definition of the MongoDB database:
The MongoDB database is an organized way to store and access data.
MongoDB is a NoSQL database that use documents to store data in an organized way.
What is a Document?
In MongoDB how does a document relate to a collection?
Collections consist of one or many documents
In a MongoDB Document what is the role of fields and values?
Each fields has a value associated with it
A filed is a unique identifier for a specific datapoint.
What is MongoDB Atlas?
Replica Set - a few connected machines that store the same data to ensure that if something happens to one of the machines the data will remain intact.Comes from the word replicate - to copy something.
Instance - a single machine locallyu or in the cloud , running a certain software, in our case it is the MongoDB database.
Cluster - group of servers that store your data.
How is MongoDB Altas related to MongoDB the Database?
Atlas has many tools and services within in that are built specifically for the MongoDB Database.
They both are MongoDB products.
With Username and Password selected, create a user for your database with the following username and password:
- username: m001-student
- password: m001-mongodb-basics
这篇关于CP1 What is MongoDB?的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!