Let's look at the different terminologies of MongoDB, which are listed next:
- Database: This is similar to the database that we have in RDBMS (Relational Database Management System), but, instead of tables, in MongoDB a database is a physical container of collections. MongoDB can have multiple databases.
- Collections: This is basically a combination of documents that has its own schema. Collections don't contribute toward the schema of documents. It's quite equivalent to the tables in RDBMS.
- Document: This is similar to a tuple/row in an RDBMS. It's a set of key-value pairs. They have a dynamic schema, where each document may or may not have the same schema within a single collection. They may have different fields as well. ...