Experiment No. 1 BDA
Experiment No. 1 BDA
1
Aim:- To install and configure MongoDB to execute NoSQL commands.
Theory:-
What is MongoDB?
MongoDB is a NoSQL (Not only SQL) database that stores large volumes of data in the
form of documents. MongoDB removes the concept of "rows" of conventional and
relational data models by introducing "documents." This offers the developers the
flexibility to work with evolving data models.
What is MySQL?
MySQL is a free, open-source, relational database management system that stores
data in
the form of tables containing rows and columns. It uses RDBMS to ensure referential
integrity between the rows of a table and interprets queries to fetch information from the
database.
MongoDB MySQL
Data MongoDB stores data in JSON MySQL stores data in columns and rows.
model documents, then organizes them into Data storage is tabular and relational.
collections.
Scalability MongoDB uses replication and MySQL uses vertical scaling and read
sharding to scale horizontally. replicas to improve performance at scale.
Flexibility MongoDB does not have a schema, MySQL has a rigid schema that works
providing more flexibility and allowing well with structured data.
it to work with unstructured,
semi-structured, and structured data.
1
Security MongoDB uses Kerberos, X.509, and MySQL uses built-in authentication
LDAP certificates to authenticate methods.
users.
2
2. Double-click the .msi file.
3
4. Service Configuration
4
6. When ready, click Install.
5
7. Running MongoDB
6
Output :
7
Conclusion:-
We installed, configured, and executed NoSQL commands in MongoDB.