Recently when I posted on the blog that I am learning about Python Getting Started with Python, lots of people wrote to me that I should learn about MongoDB. Yes, I agree. Learning MongoDB is Easy.
Well, the good thing about MongoDB is that I have already worked on this technology and often I encounter it when I am working with my clients on Comprehensive Database Performance Health Check.
I have previously written a lot about it on this blog and also build a course at Pluralsight which is extremely popular. MongoDB is a document database and follows CAP Theorem.
A document database is a type of nonrelational database that is designed to store and query data as JSON-like documents. All the document databases are built around JSON like documents so they are natural and flexible for developers to work with. Document databases make it easier for developers to store and query data in a database by using the same document-model format (i.e. JSON) they use in their application code. XML databases are a subclass of document-oriented databases that are optimized to work with XML documents.
The CAP theorem applies to distributed systems that store state. The theorem states that shared-data systems can only guarantee two of the following three properties:
Consistency — A guarantee that every node in a distributed cluster returns the same, most recent, successful write.
Availability — Every non-failing node returns a response for all read and writes requests in a reasonable amount of time.
Partition Tolerant — The system continues to function and upholds its consistency guarantees in spite of network partitions.
Learning – MongoDB is Easy
Here are some of the relevant blog posts on MongoDB.
- Foundations of Document Databases with MongoDB – Video Course
- SQL Terms vs MongoDB Terms
- MongoDB Compass – Missing a Schema Section
- MongoDB Fundamentals – Getting Started – Day 1 of 6
- MongoDB Fundamentals – CRUD: Creating Objects – Day 2 of 6
- MongoDB Fundamentals – CRUD: Reading Objects – Day 3 of 6
- MongoDB Fundamentals – CRUD: Updating Objects – Day 4 of 6
- MongoDB Fundamentals – CRUD: Deleting Objects – Day 5 of 6
- MongoDB Fundamentals – Mapping Relational SQL – Day 6 of 6
Reference: Pinal Dave (http://blog.SQLAuthority.com)