![]() If you are going to work with big data, you will need to use a cloud-based service. Atlas is perfect to store big volumes of structured and unstructured data. Atlas provides security, scalability, and zero downtime patches and upgrades. High availability, indexing, and non-reliance on complex joins are some other benefits of using MongoDB. Whereas the default primary key in MongoDB is the _id field, we can insert the record without the medicine_id. In SQL, if we forget to provide a medicine_id, the record will fail as it is the primary key (not null). In MongoDB, if the collection doesn’t exist, it is created on the fly. Note that we inserted a record while creating the collection. ![]() Here's a side-by-side comparison showing the insertion of a medicine into a pharmacy database in SQL and MongoDB: MongoDB is a flexible, schema-less, JSON-style, document-based database. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |