What is MongoDB?
MongoDB is an unstructured database that is popular for speed, easy-to-use, and scalability.
The problem with Structured Data
A relational database follows a column-defined structure in a table.
Using SQL (Structured Query Language), you communicate with a relational database.
The problem with a structured database is that it can become too structured to create and design a good database, requiring a lot of resources. For example, If you have a table with five columns for customer details but one particular customer has an extra detail you didn't account for; this would be a real pain to solve in an RDBMS model.
The Solution
NoSQL (Not only Structured Query Language) is a new type of database. Also known as an unstructured database is a NoSQL database. MongoDB is a particular type of unstructured database called a document database. A document database has a list of key-value pairs. Instead of having our data be rows inside a structured table, we can literally redraw our data using key-value pairs. A key is known as a field or attribute in database terms.
Comments
Post a Comment