experiment of installing mongo

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

EXPERIMENT NO : 1

Aim : Implementation of MongoDB in windows.


Software used : Chrome
Procedure :
Step 1 : To begin the MongoDB installation process on your Windows system, first, navigate to the MongoDB
official download page. This page will guide you to the MongoDB Community Server download section

Step 2 : Once you are on the MongoDB download page, you will need to make several selections to ensure you
download the correct installer for your system.
Step3: Installing MongoDB on Windows
Theory :
 What is mongodb?
MongoDB is a popular open-source NoSQL database management system that uses a document-oriented
data model. Here are some key features and concepts:
> Document-Oriented Storage: Unlike traditional relational databases that store data in rows and
columns, MongoDB stores data in flexible, JSON-like documents. Each document can have its own
unique structure.
> Schema-Less: MongoDB is schema-less, meaning documents in the same collection do not need to
have the same set of fields or structure.
> Collections: Documents are grouped into collections, which are analogous to tables in relational
databases.
> Scalability: MongoDB is designed to scale horizontally by sharding, which involves distributing data
across multiple servers.

 Difference between SQL and noSQL:

SQL NO-SQL

 RELATIONAL DATABASE  Non-relational or distributed database


MANAGEMENT SYSTEM (RDBMS) system.
 These databases have fixed or static or  They have a dynamic schema
predefined schema
 These databases are not suited for  These databases are best suited for
hierarchical data storage. hierarchical data storage.

 These databases are best suited for  These databases are not so good for
complex queries complex queries
 Follows ACID property  Follows CAP(consistency, availability,
partition tolerance)
 SQL databases use a powerful language  In NoSQL databases, collection of
"Structured Query Language" to define documents are used to query the data. It
and manipulate the data. is also called unstructured query
language. It varies from database to
database.
 SQL databases display data in form of  NoSQL databases display data as
tables so it is known as table-based collection of key-value pair, documents,
database. graph databases or wide-column stores.
 MySQL, Oracle, Sqlite, PostgreSQL and  MongoDB, BigTable, Redis, RavenDB,
MS-SQL etc. are the example of SQL Cassandra, Hbase, Neo4j, CouchDB etc.
database. are the example of nosql database

Conclusion : Hence we have successfully install MongoDB.

You might also like