Friday, August 25, 2023

MONGO DB


MongoDB is a cross-platform, document oriented. database that provides high performance, high- availability and easy scalability. MongoDB works on. Concept of collection and document

Database:-

Database is physical container for collections. Each data- buse gets its own set of files on the file system. A single MongoDB server typically has multiple interface, database.

Collection:-

Collection is a group of MangoDB document. It is an eqivalent to RDBMS table. A collection exists. within a single database Collections do not enforce a schema document within a collection can have different fields

Document:-

A document is a set of key-value pair. Document. have dynamic schema. Dynamic schema means. that document in the same collection do not need. to have the same set of fields and structure. and common fields in a collection document. may hold different types of data..