SlideShare une entreprise Scribd logo
1  sur  18
Kaifeng Zhang & Yuheng Wang
Agenda
 Why NoSQL?
 NoSQL Overview
 MongoDB vs. Riak




5/18/2012            2
NoSQL History
 1998, Carlo Strozzi, “NoREL”
 2009, Eric Evans, “NoSQL”
 2011, UnQL, superset of SQL




            No SQL vs. Not Only SQL

5/18/2012                             3
Why NoSQL Happened
 Web scale
 Data changes over time
 NoSQL becomes commodity




5/18/2012                   4
NoSQL Features
 Not require fixed table schema
 Not use SQL as query language
 Usually avoid join operation
 Not give full ACID guarantees
 Distributed, fault-tolerant architecture




5/18/2012                                    5
Scenarios for NoSQL
 Performance and real-time nature over
  consistency
 High scalability
 Store and retrieve huge quantity of data
 Not require a relational model




5/18/2012                                    6
NoSQL Taxonomy
     Document Store
        Collections (Table)
        Document (Row)
 Key-value Store
 Graph
 Column Family




5/18/2012                      7
Some Concepts
 CAP Theorem
 Distribution Model
 ACID
 Eventual Consistency




5/18/2012                8
5/18/2012   9
5/18/2012   10
5/18/2012   11
Setup
            Mongo         Riak

 All major OS      • No official support
 Stable and          of Windows
  experimental      • Robust support of
                      Linux
                    • Nature cluster



5/18/2012                                   13
Tooling
            Mongo            Riak

• Cmd line tool         • Poor
• Web interface
• 3rd party solutions




5/18/2012                           14
Driver Support
            Mongo          Riak

• C/C++, Java,        • C/C++, Java
• Erlang              • Erlang
• PHP, Python,        • PHP, Python,
  Ruby                  Ruby
• Perl, Scala, .NET
• Node.js, JS

5/18/2012                              15
CRUD(.NET)
            Mongo          Riak

• Excellent drivers   • Corrugated Iron
  support             • RESTful API
• Straightforward




5/18/2012                                 16
Query Complexity
            Mongo        Riak

• Secondary index   • Corrugated Iron
• MapReduce in        query broken
  JavaScript        • RESTful API to
                      test




5/18/2012                               17
ID Generation
            Mongo         Riak

• Incremental       • No viable solution
  document field




5/18/2012                                  18

Contenu connexe

Similaire à NoSQL Overview

Data Access 2.0? Please welcome, Spring Data!
Data Access 2.0? Please welcome, Spring Data!Data Access 2.0? Please welcome, Spring Data!
Data Access 2.0? Please welcome, Spring Data!
Oliver Gierke
 
Spring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver Gierke
Spring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver GierkeSpring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver Gierke
Spring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver Gierke
JAX London
 
Mongodb at-gilt-groupe-seattle-2012-09-14-final
Mongodb at-gilt-groupe-seattle-2012-09-14-finalMongodb at-gilt-groupe-seattle-2012-09-14-final
Mongodb at-gilt-groupe-seattle-2012-09-14-final
MongoDB
 
6 weeks 6 months live project summer industrial training in cmc limited 2012
6 weeks  6 months live project summer industrial training in cmc limited  20126 weeks  6 months live project summer industrial training in cmc limited  2012
6 weeks 6 months live project summer industrial training in cmc limited 2012
CMC Limited
 

Similaire à NoSQL Overview (20)

EDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to PostgresEDB's Migration Portal - Migrate from Oracle to Postgres
EDB's Migration Portal - Migrate from Oracle to Postgres
 
Sql vs nosql
Sql vs nosqlSql vs nosql
Sql vs nosql
 
Post-relational databases: What's wrong with web development? v3
Post-relational databases: What's wrong with web development? v3Post-relational databases: What's wrong with web development? v3
Post-relational databases: What's wrong with web development? v3
 
Angular2 vs React
Angular2 vs ReactAngular2 vs React
Angular2 vs React
 
TPC-H in MongoDB
TPC-H in MongoDBTPC-H in MongoDB
TPC-H in MongoDB
 
Application Architecture Trends
Application Architecture TrendsApplication Architecture Trends
Application Architecture Trends
 
Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View Webinar: Applying REST to Network Management – An Implementor’s View
Webinar: Applying REST to Network Management – An Implementor’s View
 
Webinar: How Banks Manage Reference Data with MongoDB
 Webinar: How Banks Manage Reference Data with MongoDB Webinar: How Banks Manage Reference Data with MongoDB
Webinar: How Banks Manage Reference Data with MongoDB
 
North Bay Ruby Meetup 101911
North Bay Ruby Meetup 101911North Bay Ruby Meetup 101911
North Bay Ruby Meetup 101911
 
Einführung in RavenDB
Einführung in RavenDBEinführung in RavenDB
Einführung in RavenDB
 
Data Access 2.0? Please welcome, Spring Data!
Data Access 2.0? Please welcome, Spring Data!Data Access 2.0? Please welcome, Spring Data!
Data Access 2.0? Please welcome, Spring Data!
 
Spring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver Gierke
Spring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver GierkeSpring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver Gierke
Spring Day | Data Access 2.0? Please Welcome Spring Data! | Oliver Gierke
 
Mongodb at-gilt-groupe-seattle-2012-09-14-final
Mongodb at-gilt-groupe-seattle-2012-09-14-finalMongodb at-gilt-groupe-seattle-2012-09-14-final
Mongodb at-gilt-groupe-seattle-2012-09-14-final
 
6 weeks 6 months live project summer industrial training in cmc limited 2012
6 weeks  6 months live project summer industrial training in cmc limited  20126 weeks  6 months live project summer industrial training in cmc limited  2012
6 weeks 6 months live project summer industrial training in cmc limited 2012
 
The Evolution of Open Source Databases
The Evolution of Open Source DatabasesThe Evolution of Open Source Databases
The Evolution of Open Source Databases
 
iForum 2015: SQL vs. NoSQL
iForum 2015: SQL vs. NoSQLiForum 2015: SQL vs. NoSQL
iForum 2015: SQL vs. NoSQL
 
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
New Approaches to Migrating from Oracle to Enterprise-Ready Postgres in the C...
 
Retour d'expérience d'un environnement base de données multitenant
Retour d'expérience d'un environnement base de données multitenantRetour d'expérience d'un environnement base de données multitenant
Retour d'expérience d'un environnement base de données multitenant
 
SSJS, NoSQL, GAE and AppengineJS
SSJS, NoSQL, GAE and AppengineJSSSJS, NoSQL, GAE and AppengineJS
SSJS, NoSQL, GAE and AppengineJS
 
Client Server 3.0 - 6 Ways JavaScript is Revolutionizing the Client/Server Re...
Client Server 3.0 - 6 Ways JavaScript is Revolutionizing the Client/Server Re...Client Server 3.0 - 6 Ways JavaScript is Revolutionizing the Client/Server Re...
Client Server 3.0 - 6 Ways JavaScript is Revolutionizing the Client/Server Re...
 

Dernier

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
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
 
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
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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...
 
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)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
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...
 
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
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

NoSQL Overview

  • 1. Kaifeng Zhang & Yuheng Wang
  • 2. Agenda  Why NoSQL?  NoSQL Overview  MongoDB vs. Riak 5/18/2012 2
  • 3. NoSQL History  1998, Carlo Strozzi, “NoREL”  2009, Eric Evans, “NoSQL”  2011, UnQL, superset of SQL No SQL vs. Not Only SQL 5/18/2012 3
  • 4. Why NoSQL Happened  Web scale  Data changes over time  NoSQL becomes commodity 5/18/2012 4
  • 5. NoSQL Features  Not require fixed table schema  Not use SQL as query language  Usually avoid join operation  Not give full ACID guarantees  Distributed, fault-tolerant architecture 5/18/2012 5
  • 6. Scenarios for NoSQL  Performance and real-time nature over consistency  High scalability  Store and retrieve huge quantity of data  Not require a relational model 5/18/2012 6
  • 7. NoSQL Taxonomy  Document Store  Collections (Table)  Document (Row)  Key-value Store  Graph  Column Family 5/18/2012 7
  • 8. Some Concepts  CAP Theorem  Distribution Model  ACID  Eventual Consistency 5/18/2012 8
  • 10. 5/18/2012 10
  • 11. 5/18/2012 11
  • 12.
  • 13. Setup Mongo Riak  All major OS • No official support  Stable and of Windows experimental • Robust support of Linux • Nature cluster 5/18/2012 13
  • 14. Tooling Mongo Riak • Cmd line tool • Poor • Web interface • 3rd party solutions 5/18/2012 14
  • 15. Driver Support Mongo Riak • C/C++, Java, • C/C++, Java • Erlang • Erlang • PHP, Python, • PHP, Python, Ruby Ruby • Perl, Scala, .NET • Node.js, JS 5/18/2012 15
  • 16. CRUD(.NET) Mongo Riak • Excellent drivers • Corrugated Iron support • RESTful API • Straightforward 5/18/2012 16
  • 17. Query Complexity Mongo Riak • Secondary index • Corrugated Iron • MapReduce in query broken JavaScript • RESTful API to test 5/18/2012 17
  • 18. ID Generation Mongo Riak • Incremental • No viable solution document field 5/18/2012 18

Notes de l'éditeur

  1. Typical modern relational database show poor performance on data-intensive app: - indexing a large number of document - serving pages on high-traffic websites - delivering streaming media