SlideShare uma empresa Scribd logo
1 de 34
Document-oriented Storage

Group : 25
Minoo Rouhi Vejdani
Jitendra Kasaudhan
Foteini Petridi
Argon Lohaj
Habtom Kahsay Gidey
Outline:
•
•
•
•
•

Overview & Key features
Trade-offs & Comparisons
Use Cases & Competitors
Hands-on
Performance Test (My SQL vs Mongo)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

2
Where we are in terms of SDLC:

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

3
What is MongoDB?
MongoDB is a ____ Database.
• No-SQL
• Document-oriented
• Cross-platform

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

4
History
• It is developed by 10gen
• In 2007 as a component of a planned platform as a
service product
• In 2009 as a commercial standalone product

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

5
Key Features
• Document Database: The possibility to store data in JSON like
documents

• Dynamic schema(schemeless): Flexible insertion of data without a
pre-defined schema.

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

6
Key Features(2)
• Auto-Sharding: Automatic and Easy scaling of the database
• Map/Reduce: Providing Flexible aggregation
• Open Source and Free!

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

7
Trade-offs
• High performance and availability.
• Dynamic schema: minimizes cost and time

when application

requirements changes.

• No joins: If you see yourself doing mission critical decisions inside your
application where you will need data from multiple documents
/collections, then you should think twice before using MongoDB.

• No complex transactions:

MongoDB does provide some basic
transactional capabilities. Atomic operations are possible within the scope
of a single document but multi-collection commits with rollback generally
aren’t feasible.

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

8
Trade-offs(2)

Ref: http://fr.slideshare.net/DavidPeyruc/transmart-community-meeting-57-nov-13session-2-mongodb-what-why-and-when
7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

9
Relational vs. Non-Relational
Relational

Non Relational

Scaling

Less scalable.
Vertical scaling i.e a single server must
be made increasingly powerful in order
to deal with increased demand. It is
possible to spread SQL databases over
many servers, but significant additional
engineering is generally required.

Highly scalable.
Horizontal scaling i.e to
add capacity, a database
administrator can simply
add more commodity
servers or cloud instances.
The database automatically
spreads data across servers
as necessary.

Data
Manipulation

Specific language using select, insert, Flexible data manipulation
update etc
using object oriented API.

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

10
Relational vs. Non-Relational
Relational

Non Relational

Consistency

Provides better consistency.

Compromised consistency
in case of multi-object
transactions

Schemas

Structure and data types are fixed in
advance. To store information about a
new data item, the entire database
must be altered, during which time the
database must be taken offline.

Dynamic schema. Records
can add new information
on the fly, and unlike SQL
table rows, dissimilar data
can be stored together as
necessary.

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

11
Use Cases
MongoDB is a general purpose database suitable for most applications and use cases.

Big Data:
Organizations
are
serving more data,
more
users,
more
insight with greater
ease.

Content Management
and Delivery:

Leading organizations
are
relying
on
MongoDB to build nextgeneration
content
management
and
achieve superior user
experience.
7/1/2014

Customer Data
Management:
Embracing new ways of
managing and serving
information
about
users,
including
metadata, preferences,
user state and others

Data Hub:
MongoDB is often used
as the central data hub
for all of company data
because of its ease of
use, and scalability.

Minoo, Jitendra, Foteini, Agon, Habtom

12
Use Cases
MongoDB was selected for the enterprise content management (ECM)
section of the SAP’s platform-as-a-service (PaaS).

Storing Media Metadata on MongoDB: Includes pictures of every item for
sale on eBay.

McAfee Global Threat Intelligence (GTI) is a cloud-based intelligence service
that correlates data from millions of sources. MongoDB enables big data
analytics and supports the real-time flow of cyberthreat (viruses etc) data
between GTI and client products. It currently stores 4 billion documents –
terabytes of data.
“MetLife Wall” :An application allowing MetLife to see a 360-degree view of
all of the customer preferences and interactions, including policy details and
transactions across lines of business.
http://www.mongodb.com/presentations/
7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

13
Use Case: Telefónica
Goal : “Rich services to market faster than ever before.”

They built a Personalisation Server using Oracle 11g to
store customers profile data
Drawbacks of Oracle-based solution:

•

Low performance issues

•

Oversized storage requirements

•

Data outdated

“Customers Data were neither shared nor usable”
7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

14
Use case: Telefónica(2)
MongoDB Solution:
They built an new version of the Personalisation Server with MongoDB 2.0 in 3
months using only 3-4 developers. Some existing features were enhanced and new
ones were added.
Results:
•

Simple, extensible and maintainable schema

•

Performance boost

•

Lower storage requirements
(one third)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

15
Use case: Telefónica(3)
Benefits :

•

Cost
Reduction

•

Low time to market and
more extensibility

•

New opportunities for other
products in market

Source : http://www.mongodb.com/presentations/business-trackhow-mongodb-helps-telefonica-digital-accelerate-time-market

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

16
Major Competitors

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

17
No-SQL database comparison

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

18
Hands On
Contents:
1. Database Structure (Schema Design)
1.1. Concept Overview – Referenced vs. Embedded
2. CRUD Operations
3. MongoDB Web UI

4. MongoDB Trainings
5. Data View

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

19
Performance Test
(My SQL vs Mongo)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

20
Thank You!
Q&A

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

21
Backup Slides

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

22
Installation Process(Windows)
1.

Download the latest production release of MongoDB :

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

23
Installation Process(Windows)
2.

Extract the downloaded archive to C:

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

24
Installation Process(Windows)
3.

4.

7/1/2014

MongoDB requires a data folder to store its files. The default location
for the MongoDB data directory is C:datadb.
To start MongoDB, execute from the Command Prompt:
C:mongodbbinmongod.exe

Minoo, Jitendra, Foteini, Agon, Habtom

25
Installation Process(Windows)
5. Connect to MongoDB using the mongo.exe shell. Open another Command Prompt and
issue the command: C:mongodbbinmongod.exe
Backup Slides
Hands On (1)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

27
Backup Slides
Hands On (2)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

28
Backup Slides
Hands On (3)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

29
Backup Slides
Hands On (4)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

30
Backup Slides
Hands On (5)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

31
Backup Slides
Hands On (6)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

32
Backup Slides
Hands On (7)

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

33
Reference
• http://www.mongodb.org/
• http://en.wikipedia.org/wiki/MongoDB
• http://docs.mongodb.org/manual/tutorial/isolate-sequence-ofoperations/
• http://docs.mongodb.org/manual/faq/fundamentals/#does-mongodbsupport-transactions
• http://www.mongodb.com/document-databases
• http://www.mongodb.com/presentations/

7/1/2014

Minoo, Jitendra, Foteini, Agon, Habtom

34

Mais conteúdo relacionado

Semelhante a Mongodb

Partner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDB
Partner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDBPartner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDB
Partner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDBMongoDB
 
EMC Pivotal overview deck
EMC Pivotal overview deckEMC Pivotal overview deck
EMC Pivotal overview deckmister_moun
 
MongoDB Breakfast Milan - Mainframe Offloading Strategies
MongoDB Breakfast Milan -  Mainframe Offloading StrategiesMongoDB Breakfast Milan -  Mainframe Offloading Strategies
MongoDB Breakfast Milan - Mainframe Offloading StrategiesMongoDB
 
Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...
Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...
Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...Ashnikbiz
 
otbioverviewow13-141008094532-conversion-gate01-converted.pptx
otbioverviewow13-141008094532-conversion-gate01-converted.pptxotbioverviewow13-141008094532-conversion-gate01-converted.pptx
otbioverviewow13-141008094532-conversion-gate01-converted.pptxSreekumarSasikumar
 
Education Seminar: Self-service BI, Logical Data Warehouse and Data Lakes
Education Seminar: Self-service BI, Logical Data Warehouse and Data LakesEducation Seminar: Self-service BI, Logical Data Warehouse and Data Lakes
Education Seminar: Self-service BI, Logical Data Warehouse and Data LakesDenodo
 
how_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptxhow_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptxsarah david
 
Overcoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBOvercoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBMongoDB
 
MongoDB in the Big Data Landscape
MongoDB in the Big Data LandscapeMongoDB in the Big Data Landscape
MongoDB in the Big Data LandscapeMongoDB
 
MongoDB .local Toronto 2019: MongoDB – Powering the new age data demands
MongoDB .local Toronto 2019: MongoDB – Powering the new age data demandsMongoDB .local Toronto 2019: MongoDB – Powering the new age data demands
MongoDB .local Toronto 2019: MongoDB – Powering the new age data demandsMongoDB
 
An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...
An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...
An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...BI Brainz
 
how_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdfhow_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdfsarah david
 
Rails with MongoDB
Rails with MongoDBRails with MongoDB
Rails with MongoDBEugene Park
 
Business Track: Building a Personalized Mobile App Experience Using MongoDB a...
Business Track: Building a Personalized Mobile App Experience Using MongoDB a...Business Track: Building a Personalized Mobile App Experience Using MongoDB a...
Business Track: Building a Personalized Mobile App Experience Using MongoDB a...MongoDB
 
Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10Harsha Gowda B R
 
Bangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - TecnotreeBangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - TecnotreeMongoDB
 
MVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost LabsMVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost LabsBoost Labs
 

Semelhante a Mongodb (20)

Partner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDB
Partner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDBPartner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDB
Partner Webinar: Deliver Big Data Apps Faster With Informatica & MongoDB
 
EMC Pivotal overview deck
EMC Pivotal overview deckEMC Pivotal overview deck
EMC Pivotal overview deck
 
MongoDB Breakfast Milan - Mainframe Offloading Strategies
MongoDB Breakfast Milan -  Mainframe Offloading StrategiesMongoDB Breakfast Milan -  Mainframe Offloading Strategies
MongoDB Breakfast Milan - Mainframe Offloading Strategies
 
Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...
Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...
Polyglot Persistence and Database Deployment by Sandeep Khuperkar CTO and Dir...
 
otbioverviewow13-141008094532-conversion-gate01-converted.pptx
otbioverviewow13-141008094532-conversion-gate01-converted.pptxotbioverviewow13-141008094532-conversion-gate01-converted.pptx
otbioverviewow13-141008094532-conversion-gate01-converted.pptx
 
Education Seminar: Self-service BI, Logical Data Warehouse and Data Lakes
Education Seminar: Self-service BI, Logical Data Warehouse and Data LakesEducation Seminar: Self-service BI, Logical Data Warehouse and Data Lakes
Education Seminar: Self-service BI, Logical Data Warehouse and Data Lakes
 
how_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptxhow_can_businesses_address_storage_issues_using_mongodb.pptx
how_can_businesses_address_storage_issues_using_mongodb.pptx
 
Overcoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDBOvercoming Today's Data Challenges with MongoDB
Overcoming Today's Data Challenges with MongoDB
 
MongoDB in the Big Data Landscape
MongoDB in the Big Data LandscapeMongoDB in the Big Data Landscape
MongoDB in the Big Data Landscape
 
MongoDB .local Toronto 2019: MongoDB – Powering the new age data demands
MongoDB .local Toronto 2019: MongoDB – Powering the new age data demandsMongoDB .local Toronto 2019: MongoDB – Powering the new age data demands
MongoDB .local Toronto 2019: MongoDB – Powering the new age data demands
 
An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...
An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...
An In-Depth Look at Pinpointing and Addressing Sources of Performance Problem...
 
how_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdfhow_can_businesses_address_storage_issues_using_mongodb.pdf
how_can_businesses_address_storage_issues_using_mongodb.pdf
 
Rails with MongoDB
Rails with MongoDBRails with MongoDB
Rails with MongoDB
 
Dataweek-Talk-2014
Dataweek-Talk-2014Dataweek-Talk-2014
Dataweek-Talk-2014
 
Business Track: Building a Personalized Mobile App Experience Using MongoDB a...
Business Track: Building a Personalized Mobile App Experience Using MongoDB a...Business Track: Building a Personalized Mobile App Experience Using MongoDB a...
Business Track: Building a Personalized Mobile App Experience Using MongoDB a...
 
MongoDB vs Firebase
MongoDB vs Firebase MongoDB vs Firebase
MongoDB vs Firebase
 
Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10Nw2008 tips tricks_edw_v10
Nw2008 tips tricks_edw_v10
 
BigData Analysis
BigData AnalysisBigData Analysis
BigData Analysis
 
Bangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - TecnotreeBangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
Bangalore Executive Seminar 2015: Business Transformation Case Study - Tecnotree
 
MVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost LabsMVP (Minimum Viable Product) Readiness | Boost Labs
MVP (Minimum Viable Product) Readiness | Boost Labs
 

Último

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Último (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Mongodb

  • 1. Document-oriented Storage Group : 25 Minoo Rouhi Vejdani Jitendra Kasaudhan Foteini Petridi Argon Lohaj Habtom Kahsay Gidey
  • 2. Outline: • • • • • Overview & Key features Trade-offs & Comparisons Use Cases & Competitors Hands-on Performance Test (My SQL vs Mongo) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 2
  • 3. Where we are in terms of SDLC: 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 3
  • 4. What is MongoDB? MongoDB is a ____ Database. • No-SQL • Document-oriented • Cross-platform 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 4
  • 5. History • It is developed by 10gen • In 2007 as a component of a planned platform as a service product • In 2009 as a commercial standalone product 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 5
  • 6. Key Features • Document Database: The possibility to store data in JSON like documents • Dynamic schema(schemeless): Flexible insertion of data without a pre-defined schema. 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 6
  • 7. Key Features(2) • Auto-Sharding: Automatic and Easy scaling of the database • Map/Reduce: Providing Flexible aggregation • Open Source and Free! 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 7
  • 8. Trade-offs • High performance and availability. • Dynamic schema: minimizes cost and time when application requirements changes. • No joins: If you see yourself doing mission critical decisions inside your application where you will need data from multiple documents /collections, then you should think twice before using MongoDB. • No complex transactions: MongoDB does provide some basic transactional capabilities. Atomic operations are possible within the scope of a single document but multi-collection commits with rollback generally aren’t feasible. 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 8
  • 10. Relational vs. Non-Relational Relational Non Relational Scaling Less scalable. Vertical scaling i.e a single server must be made increasingly powerful in order to deal with increased demand. It is possible to spread SQL databases over many servers, but significant additional engineering is generally required. Highly scalable. Horizontal scaling i.e to add capacity, a database administrator can simply add more commodity servers or cloud instances. The database automatically spreads data across servers as necessary. Data Manipulation Specific language using select, insert, Flexible data manipulation update etc using object oriented API. 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 10
  • 11. Relational vs. Non-Relational Relational Non Relational Consistency Provides better consistency. Compromised consistency in case of multi-object transactions Schemas Structure and data types are fixed in advance. To store information about a new data item, the entire database must be altered, during which time the database must be taken offline. Dynamic schema. Records can add new information on the fly, and unlike SQL table rows, dissimilar data can be stored together as necessary. 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 11
  • 12. Use Cases MongoDB is a general purpose database suitable for most applications and use cases. Big Data: Organizations are serving more data, more users, more insight with greater ease. Content Management and Delivery: Leading organizations are relying on MongoDB to build nextgeneration content management and achieve superior user experience. 7/1/2014 Customer Data Management: Embracing new ways of managing and serving information about users, including metadata, preferences, user state and others Data Hub: MongoDB is often used as the central data hub for all of company data because of its ease of use, and scalability. Minoo, Jitendra, Foteini, Agon, Habtom 12
  • 13. Use Cases MongoDB was selected for the enterprise content management (ECM) section of the SAP’s platform-as-a-service (PaaS). Storing Media Metadata on MongoDB: Includes pictures of every item for sale on eBay. McAfee Global Threat Intelligence (GTI) is a cloud-based intelligence service that correlates data from millions of sources. MongoDB enables big data analytics and supports the real-time flow of cyberthreat (viruses etc) data between GTI and client products. It currently stores 4 billion documents – terabytes of data. “MetLife Wall” :An application allowing MetLife to see a 360-degree view of all of the customer preferences and interactions, including policy details and transactions across lines of business. http://www.mongodb.com/presentations/ 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 13
  • 14. Use Case: Telefónica Goal : “Rich services to market faster than ever before.” They built a Personalisation Server using Oracle 11g to store customers profile data Drawbacks of Oracle-based solution: • Low performance issues • Oversized storage requirements • Data outdated “Customers Data were neither shared nor usable” 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 14
  • 15. Use case: Telefónica(2) MongoDB Solution: They built an new version of the Personalisation Server with MongoDB 2.0 in 3 months using only 3-4 developers. Some existing features were enhanced and new ones were added. Results: • Simple, extensible and maintainable schema • Performance boost • Lower storage requirements (one third) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 15
  • 16. Use case: Telefónica(3) Benefits : • Cost Reduction • Low time to market and more extensibility • New opportunities for other products in market Source : http://www.mongodb.com/presentations/business-trackhow-mongodb-helps-telefonica-digital-accelerate-time-market 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 16
  • 18. No-SQL database comparison 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 18
  • 19. Hands On Contents: 1. Database Structure (Schema Design) 1.1. Concept Overview – Referenced vs. Embedded 2. CRUD Operations 3. MongoDB Web UI 4. MongoDB Trainings 5. Data View 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 19
  • 20. Performance Test (My SQL vs Mongo) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 20
  • 21. Thank You! Q&A 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 21
  • 22. Backup Slides 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 22
  • 23. Installation Process(Windows) 1. Download the latest production release of MongoDB : 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 23
  • 24. Installation Process(Windows) 2. Extract the downloaded archive to C: 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 24
  • 25. Installation Process(Windows) 3. 4. 7/1/2014 MongoDB requires a data folder to store its files. The default location for the MongoDB data directory is C:datadb. To start MongoDB, execute from the Command Prompt: C:mongodbbinmongod.exe Minoo, Jitendra, Foteini, Agon, Habtom 25
  • 26. Installation Process(Windows) 5. Connect to MongoDB using the mongo.exe shell. Open another Command Prompt and issue the command: C:mongodbbinmongod.exe
  • 27. Backup Slides Hands On (1) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 27
  • 28. Backup Slides Hands On (2) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 28
  • 29. Backup Slides Hands On (3) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 29
  • 30. Backup Slides Hands On (4) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 30
  • 31. Backup Slides Hands On (5) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 31
  • 32. Backup Slides Hands On (6) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 32
  • 33. Backup Slides Hands On (7) 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 33
  • 34. Reference • http://www.mongodb.org/ • http://en.wikipedia.org/wiki/MongoDB • http://docs.mongodb.org/manual/tutorial/isolate-sequence-ofoperations/ • http://docs.mongodb.org/manual/faq/fundamentals/#does-mongodbsupport-transactions • http://www.mongodb.com/document-databases • http://www.mongodb.com/presentations/ 7/1/2014 Minoo, Jitendra, Foteini, Agon, Habtom 34