This entire week, I am going to discuss the Fundamentals of MongoDB. Today is the first post in the six post series. We are going to learn about getting started with MongoDB. I have recently build a Video Course at Foundations of Document Databases with MongoDB focusing on helping users to get started with MongoDB quickly and efficiently.
MongoDB is a NoSQL database and that means along with SQL concepts, it is also following NoSQL concepts. If your application needs to store and retrieve unstructured data, you should consider a NoSQL document database like MongoDB. They are incredibly fast due to their nature of the schemaless and also are very flexible in terms of storing the data. The most popular NoSQL database I have come across is MongoDB.
If you are going to get started with MongoDB, here are a few keywords you should know about it before you get started with it.
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.
MongoDB positions rights in the middle of C and P.
I have built my entire Pluralsight MongoDB course with the help of MongoDB Atlas. It is the global cloud database service for modern applications. It is very easy to get started with it and also you do not require any prior knowledge to use this project. MongoDB Atlas is available as a fully managed service for a flexible and scalable document database.
If you are beginning with the MongoDB, you can easily install the sample databases on your cluster and practical various demonstrations. I also cover this in my Pluralsight course.
MongoDB Compass is a GUI for MongoDB. It helps us to visually explore our data. We can run ad hoc queries in seconds with the help of this tool. It is fully capable to run various CRUD functionality and also helps us view and optimize your query performance.
Along with the command prompt, I believe everyone should have a MongoDB compass. Once you install, you can see your data by running find operation and also modify it with the update, insert, or delete operation.
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
I hope you find these Learning paths helpful. If you have a Pluralsight subscription, you can watch it for free. If you do not have a Pluralsight subscription, you can still watch the course for FREE by signing up for a trial account. Please note that you do not need any credit card. You can always connect with me on twitter.
Reference: Pinal Dave (https://blog.sqlauthority.com)
Thank you for nice article.
It’s not a big deal but there is typo(o is missing) in MongoGB in “Getting Started section”.. hope it helps.
Thanks for bringing to my attention, it is fixed now.
Also there’s another typo starting the MongoDB Atlas section, in the following sentence:
“I have built my entire Pluralsight MongoDB course with the help of MongoDB Atlast.”, Should it be Atlas? and not Atlast?
Other than this great article.
Thank you for reading the blog and helping me fix the typo. Thank you again!
In the Technology section above, it says no credit card needed for trial. But when I tried registering for a trial, I am being asked to enter credit card info.
I will check it out. I apologize for any inconvenience.
In any case, you can cancel the trial after 10 days, if you do not like the product to avoid any charges.