2
Most read
5
Most read
6
Most read
Workshop
@
Ramnshee Infotech
By Jainul Musani
SESSION:04
4
Cassandra V/s MongoDB
Cassandra and MongoDB both are types of NoSQL
databases.
Cassandra
Distributed Database System
Handles Large amount of data
Highly scalable
High Performance
SESSION:04
Cassandra V/s MongoDB
Cassandra and MongoDB both are types of NoSQL
databases.
MongoDB
Document oriented Database
Handles Large amount of data
Highly scalable and
 Automatic scaling
SESSION:04
Cassandra V/s MongoDB
Database divided in two types
 Development Simplicity
 Operational Simplicity
SESSION:04
Cassandra V/s MongoDB
1) Cassandra is high
performance distributed
database system.
MongoDB is cross-platform
document-oriented database
system.
2) Cassandra is written in Java. MongoDB is written in C++.
3) Cassandra stores data in
tabular form like SQL format.
MongoDB stores data in
JSON format.
SESSION:04
Cassandra V/s MongoDB
4) Cassandra is got license by
Apache.
MongoDB is got license by
AGPL and drivers by
Apache.
5) Cassandra is mainly
designed to handle large
amounts of data across
many commodity servers.
MongoDB is designed to
deal with JSON-like
documents and access
applications easier and
faster.
6) Cassandra provides high
availability with no single
point of failure.
MongoDB is easy to
administer in the case of
failure.
SESSION:04
Cassandra
highly scalable, high performance, consistent and fault-tolerant
Cassandra is a column-oriented database.
Cassandra provides easy data distribution.
Cassandra supports ACID properties i.e. Atomicity, Consistency,
Isolation, and Durability.
Cassandra follows the distribution design of Amazon’s dynamo and
its data model design is based on Google's Bigtable.
Cassandra was initially created at Facebook for inbox search and
now it is being used by some of the biggest companies like
Facebook, Twitter, ebay, Netflix, Cisco, Rackspace etc.
SESSION:04
MongoDB
MongoDB is well suited for Bigdata and mobile & social
infrastructure.
MongoDB provides Replication, High availability and
Auto-sharding.
MongoDB is used by companies like Foursquare, Intuit,
Shutterfly, SourceForge, The New York Times, Lexis
Nexis Orange Digital etc.
SESSION:04
SQL – MongoDB Mapping
SQL Terms MongoDB Terms
database Database
table Collection
row document or BSON document
column field
index index
SESSION:04
SQL – MongoDB Mapping
SQL Terms MongoDB Terms
table joins $lookup, embedded document
primary key primary key
In SQL, we can specify any
unique column or column
combination as the primary key.
In MongoDB, we don't need to
set the primary key. The _id field
is automatically set to the
primary key.
aggregation aggregation pipeline
SELECT INTO NEW_TABLE $out
MERGE INTO TABLE $merge
transactions transactions
SESSION:04

More Related Content

PPTX
Introduction to MongoDB
PPTX
Unit 3 MongDB
PPTX
Introduction to snowflake
PPT
MySQL and its basic commands
PPTX
Mongodb basics and architecture
PDF
Non Relational Databases
PDF
Introduction to Azure Data Factory
PPT
Sql Server Basics
Introduction to MongoDB
Unit 3 MongDB
Introduction to snowflake
MySQL and its basic commands
Mongodb basics and architecture
Non Relational Databases
Introduction to Azure Data Factory
Sql Server Basics

What's hot (20)

PDF
NoSQL @ CodeMash 2010
PDF
SQL - RDBMS Concepts
PPTX
Data Lake Overview
PPTX
Introduction to MongoDB
PPT
Schemaless Databases
PDF
Learn Power BI with Power Pivot, Power Query, Power View, Power Map and Q&A
PPT
Chapter 1. Introduction.ppt
PPTX
NOSQL and MongoDB Database
PPTX
Nosql databases
PPTX
Introduction To HBase
PPTX
Introducing MongoDB Atlas
PPTX
NOSQL Databases types and Uses
PPTX
Data types in java
PPT
Introduction to mongodb
PPTX
Big Data Analytics with Hadoop
PPT
Introduction to Data Warehouse
PPT
Hive(ppt)
PPTX
Basics of MongoDB
PPT
Machine learning with Big Data power point presentation
NoSQL @ CodeMash 2010
SQL - RDBMS Concepts
Data Lake Overview
Introduction to MongoDB
Schemaless Databases
Learn Power BI with Power Pivot, Power Query, Power View, Power Map and Q&A
Chapter 1. Introduction.ppt
NOSQL and MongoDB Database
Nosql databases
Introduction To HBase
Introducing MongoDB Atlas
NOSQL Databases types and Uses
Data types in java
Introduction to mongodb
Big Data Analytics with Hadoop
Introduction to Data Warehouse
Hive(ppt)
Basics of MongoDB
Machine learning with Big Data power point presentation
Ad

Similar to Cassandra-vs-MongoDB (20)

PPTX
Selecting best NoSQL
PPTX
Copy of MongoDB .pptx
PPTX
nosql [Autosaved].pptx
PPTX
Introduction to NoSQL
PDF
MongoDB Lab Manual (1).pdf used in data science
PPTX
Big Data, NoSQL with MongoDB and Cassasdra
PDF
No sql databases
PDF
Mongo DB
PDF
Introduction to MongoDB and its best practices
PPTX
MongoDB Database With Docker.pptx MongoDB Database With Docker.pptx
PPTX
DynamoDB Database Integration.pptx it's dynamodb databse related stufs
PPTX
Introduction to MongoDB.pptx
PDF
NOSQL in big data is the not only structure langua.pdf
PDF
NOSQL- Presentation on NoSQL
PDF
Node Js, AngularJs and Express Js Tutorial
PDF
A Study on Mongodb Database.pdf
PDF
A Study on Mongodb Database
PDF
What Are The Best Databases for Web Applications In 2023.pdf
PPTX
5 Best Mobile App Databases
PPTX
Elasticsearch vs MongoDB comparison
Selecting best NoSQL
Copy of MongoDB .pptx
nosql [Autosaved].pptx
Introduction to NoSQL
MongoDB Lab Manual (1).pdf used in data science
Big Data, NoSQL with MongoDB and Cassasdra
No sql databases
Mongo DB
Introduction to MongoDB and its best practices
MongoDB Database With Docker.pptx MongoDB Database With Docker.pptx
DynamoDB Database Integration.pptx it's dynamodb databse related stufs
Introduction to MongoDB.pptx
NOSQL in big data is the not only structure langua.pdf
NOSQL- Presentation on NoSQL
Node Js, AngularJs and Express Js Tutorial
A Study on Mongodb Database.pdf
A Study on Mongodb Database
What Are The Best Databases for Web Applications In 2023.pdf
5 Best Mobile App Databases
Elasticsearch vs MongoDB comparison
Ad

More from Jainul Musani (20)

PDF
Core Java Interface Concepts for BCA Studetns
PDF
Java Abstract and Final Class for BCA students
PDF
Java Collection Framework for BCA Students
PDF
Simple Calculator using JavaFx a part of Advance Java
PDF
JavaFx Introduction, Basic JavaFx Architecture
PDF
ASP.NET 2010, WebServices Full Example for BCA Students
PDF
Palindrome Programme in PHP for BCA students
PDF
Leap Year Program in PHP for BCA students
PDF
"PHP and MySQL CRUD Operations for Student Management System"
PDF
Python: The Versatile Programming Language - Introduction
PPTX
Python a Versatile Programming Language - Introduction
PDF
React js t8 - inlinecss
PDF
React js t7 - forms-events
PDF
React js t6 -lifecycle
PDF
React js t5 - state
PDF
React js t4 - components
PDF
React js t3 - es6
PDF
React js t2 - jsx
PDF
React js t1 - introduction
PPTX
ExpressJs Session01
Core Java Interface Concepts for BCA Studetns
Java Abstract and Final Class for BCA students
Java Collection Framework for BCA Students
Simple Calculator using JavaFx a part of Advance Java
JavaFx Introduction, Basic JavaFx Architecture
ASP.NET 2010, WebServices Full Example for BCA Students
Palindrome Programme in PHP for BCA students
Leap Year Program in PHP for BCA students
"PHP and MySQL CRUD Operations for Student Management System"
Python: The Versatile Programming Language - Introduction
Python a Versatile Programming Language - Introduction
React js t8 - inlinecss
React js t7 - forms-events
React js t6 -lifecycle
React js t5 - state
React js t4 - components
React js t3 - es6
React js t2 - jsx
React js t1 - introduction
ExpressJs Session01

Recently uploaded (20)

PPTX
Virtual and Augmented Reality in Current Scenario
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Hazard Identification & Risk Assessment .pdf
PDF
IGGE1 Understanding the Self1234567891011
PDF
advance database management system book.pdf
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
Empowerment Technology for Senior High School Guide
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Virtual and Augmented Reality in Current Scenario
LDMMIA Reiki Yoga Finals Review Spring Summer
Hazard Identification & Risk Assessment .pdf
IGGE1 Understanding the Self1234567891011
advance database management system book.pdf
Environmental Education MCQ BD2EE - Share Source.pdf
Empowerment Technology for Senior High School Guide
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Paper A Mock Exam 9_ Attempt review.pdf.
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
History, Philosophy and sociology of education (1).pptx
What if we spent less time fighting change, and more time building what’s rig...
Computer Architecture Input Output Memory.pptx
Introduction to pro and eukaryotes and differences.pptx
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Weekly quiz Compilation Jan -July 25.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf

Cassandra-vs-MongoDB

  • 2. Cassandra V/s MongoDB Cassandra and MongoDB both are types of NoSQL databases. Cassandra Distributed Database System Handles Large amount of data Highly scalable High Performance SESSION:04
  • 3. Cassandra V/s MongoDB Cassandra and MongoDB both are types of NoSQL databases. MongoDB Document oriented Database Handles Large amount of data Highly scalable and  Automatic scaling SESSION:04
  • 4. Cassandra V/s MongoDB Database divided in two types  Development Simplicity  Operational Simplicity SESSION:04
  • 5. Cassandra V/s MongoDB 1) Cassandra is high performance distributed database system. MongoDB is cross-platform document-oriented database system. 2) Cassandra is written in Java. MongoDB is written in C++. 3) Cassandra stores data in tabular form like SQL format. MongoDB stores data in JSON format. SESSION:04
  • 6. Cassandra V/s MongoDB 4) Cassandra is got license by Apache. MongoDB is got license by AGPL and drivers by Apache. 5) Cassandra is mainly designed to handle large amounts of data across many commodity servers. MongoDB is designed to deal with JSON-like documents and access applications easier and faster. 6) Cassandra provides high availability with no single point of failure. MongoDB is easy to administer in the case of failure. SESSION:04
  • 7. Cassandra highly scalable, high performance, consistent and fault-tolerant Cassandra is a column-oriented database. Cassandra provides easy data distribution. Cassandra supports ACID properties i.e. Atomicity, Consistency, Isolation, and Durability. Cassandra follows the distribution design of Amazon’s dynamo and its data model design is based on Google's Bigtable. Cassandra was initially created at Facebook for inbox search and now it is being used by some of the biggest companies like Facebook, Twitter, ebay, Netflix, Cisco, Rackspace etc. SESSION:04
  • 8. MongoDB MongoDB is well suited for Bigdata and mobile & social infrastructure. MongoDB provides Replication, High availability and Auto-sharding. MongoDB is used by companies like Foursquare, Intuit, Shutterfly, SourceForge, The New York Times, Lexis Nexis Orange Digital etc. SESSION:04
  • 9. SQL – MongoDB Mapping SQL Terms MongoDB Terms database Database table Collection row document or BSON document column field index index SESSION:04
  • 10. SQL – MongoDB Mapping SQL Terms MongoDB Terms table joins $lookup, embedded document primary key primary key In SQL, we can specify any unique column or column combination as the primary key. In MongoDB, we don't need to set the primary key. The _id field is automatically set to the primary key. aggregation aggregation pipeline SELECT INTO NEW_TABLE $out MERGE INTO TABLE $merge transactions transactions SESSION:04