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

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
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
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 

Último (20)

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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)
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

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