SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Downloaden Sie, um offline zu lesen
NoSQL and NewSQL
                         Zhongke Chen
                         May 28, 2012




Sunday, June 3, 12
Agenda

                     What’s NoSQL

                     Typical NoSQL Models

                     What’s NewSQL

                     Popular NoSQL and NewSQL DBMSes

                     Discussion



Sunday, June 3, 12
Problems with SQL



                     Scale out

                     Performance & Size




Sunday, June 3, 12
What’s NoSQL
                     NoSQL is a term used to designate
                     databases which differ from classic
                     relational databases in some way.

                       It does not use SQL as its query
                       language (no relational model, no
                       JOIN)

                       It may not give full ACID
                       guarantees


Sunday, June 3, 12
Pros
                     It may have a distributed, fault-
                     tolerant architecture

                     significant gains in performance
                     for certain data models

                     It deals with huge quantities of
                     data

                     Schema-less Design


Sunday, June 3, 12
CAP Theorem
Sunday, June 3, 12
NoSQL Models

                     Key-Value

                     Column Family

                     Document

                     Graph




Sunday, June 3, 12
NoSQL Models:
                           Key-Value

                     key -> value

                     Examples: memcached, redis, Berkeley
                     DB, Dynamo




Sunday, June 3, 12
NoSQL Model:
                         Column Family

                     Row key, Column
                     key -> Value

                     Examples:
                     BigTable,
                     Cassandra, HBase




Sunday, June 3, 12
NoSQL Model:
                            Document


                     Key -> Document (JSON, XML)

                     Examples: MongoDB, CouchDB




Sunday, June 3, 12
NoSQL Model:
                             Graph




                     Examples: Neo4j, OrientDB



Sunday, June 3, 12
What’s NewSQL

                     NewSQL preserves SQL and offer high
                     performance and scalability, while
                     preserving the traditional ACID
                     notion for transactions.

                     Examples: VoltDB, NimbusDB, Clustrix,
                     Drizzle




Sunday, June 3, 12
Redis
                     Key-Value

                     In-Memory Cache

                     Rich Data Types and Operations

                     Optional Persistence

                     Master-Slave Replication

                     Transaction

                     Use cases:

                        weibo.com

                        dianping.com




Sunday, June 3, 12
MongoDB
                     JSON like (BSON) Document Store

                     Auto Sharding

                     Global Lock, Only one node writable

                     Replica Sets Replication

                     Eventual Consistency

                     Mongo Query Language (Friendly to SQL users)

                     Use cases:

                        dianping.com

                        盛大

                        Cloud Foundry




Sunday, June 3, 12
CouchDB
                     JSON Document Store

                     Written in Erlang

                     Master-Master Replication

                     MVCC

                     Eventual Consistency

                     Compaction

                     Offline

                     HTTP/REST API

                     View (query tool)

                     Use cases:

                            Ubuntu One

                            Meebo

                            Some Facebook Apps




Sunday, June 3, 12
Cassandra
                     Column family model

                     Decentralized

                     Tunable Consistency

                     Use cases:

                       Facebook

                       Twitter

                       Netflix



Sunday, June 3, 12
Neo4J
                     Graph database

                     Small Footprint

                     Scalability

                     A powerful traversal
                     framework

                     Cypher Query Language

                     Gremlin Traversal Language

                     Use cases:

                        Multi-level Marketing
                        Engine




Sunday, June 3, 12
VoltDB
                     Speak SQL

                     Stored Procedures

                     Partitioning Table and
                     Replication Table

                     Lock free design

                     In-Memory

                     Snapshots and command logging

                     K-safety

                     Linear Scalability

                     Use cases:

                         http://voltdb.com/customers




Sunday, June 3, 12
How To Choose
                     MongoDB: If you need dynamic queries. If you prefer to define
                     indexes, not map/reduce functions. If you need good performance on a
                     big DB. If you wanted CouchDB, but your data changes too much,
                     filling up disks.

                     CouchDB: For accumulating, occasionally changing data, on which pre-
                     defined queries are to be run. Places where versioning is important.

                     Redis: For rapidly changing data with a foreseeable database size
                     (should fit mostly in memory).

                     Neo4J: For graph-style, rich or complex, interconnected data. Neo4j
                     is quite different from the others in this sense.

                     Cassandra: When you write more than you read (logging). If every
                     component of the system must be in Java. ("No one gets fired for
                     choosing Apache's stuff.")

                     VoltDB: If you want to speak SQL and use JOIN




Sunday, June 3, 12
Q&A



                     The End!

                     Thank you!




Sunday, June 3, 12

Weitere ähnliche Inhalte

Ähnlich wie Nosql and newsql

NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfajajkhan16
 
Nosql Presentation.pdf for DBMS understanding
Nosql Presentation.pdf for DBMS understandingNosql Presentation.pdf for DBMS understanding
Nosql Presentation.pdf for DBMS understandingHUSNAINAHMAD39
 
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, Egypt
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, EgyptSQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, Egypt
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, EgyptChris Richardson
 
NoSQL Database
NoSQL DatabaseNoSQL Database
NoSQL DatabaseSteve Min
 
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...Felix Gessert
 
NO SQL: What, Why, How
NO SQL: What, Why, HowNO SQL: What, Why, How
NO SQL: What, Why, HowIgor Moochnick
 
Big data technology unit 3
Big data technology unit 3Big data technology unit 3
Big data technology unit 3RojaT4
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraJeff Bollinger
 
CloudFoundry and MongoDb, a marriage made in heaven
CloudFoundry and MongoDb, a marriage made in heavenCloudFoundry and MongoDb, a marriage made in heaven
CloudFoundry and MongoDb, a marriage made in heavenPatrick Chanezon
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsAtulKabbur
 
If NoSQL is your answer, you are probably asking the wrong question.
If NoSQL is your answer, you are probably asking the wrong question.If NoSQL is your answer, you are probably asking the wrong question.
If NoSQL is your answer, you are probably asking the wrong question.Lukas Smith
 
Navigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesNavigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesshnkr_rmchndrn
 
performance analysis between sql ans nosql
performance analysis between sql ans nosqlperformance analysis between sql ans nosql
performance analysis between sql ans nosqlRUFAI YUSUF
 
MPTStore: A Fast, Scalable, and Stable Resource Index
MPTStore: A Fast, Scalable, and Stable Resource IndexMPTStore: A Fast, Scalable, and Stable Resource Index
MPTStore: A Fast, Scalable, and Stable Resource IndexChris Wilper
 
Cache and consistency in nosql
Cache and consistency in nosqlCache and consistency in nosql
Cache and consistency in nosqlJoão Gabriel Lima
 

Ähnlich wie Nosql and newsql (20)

NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdf
 
Nosql Presentation.pdf for DBMS understanding
Nosql Presentation.pdf for DBMS understandingNosql Presentation.pdf for DBMS understanding
Nosql Presentation.pdf for DBMS understanding
 
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, Egypt
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, EgyptSQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, Egypt
SQL? NoSQL? NewSQL?!? What’s a Java developer to do? - JDC2012 Cairo, Egypt
 
NoSQL Database
NoSQL DatabaseNoSQL Database
NoSQL Database
 
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
 
NoSQL Basics and MongDB
NoSQL Basics and  MongDBNoSQL Basics and  MongDB
NoSQL Basics and MongDB
 
Preparing your data for the cloud
Preparing your data for the cloudPreparing your data for the cloud
Preparing your data for the cloud
 
NO SQL: What, Why, How
NO SQL: What, Why, HowNO SQL: What, Why, How
NO SQL: What, Why, How
 
NoSql Databases
NoSql DatabasesNoSql Databases
NoSql Databases
 
Big data technology unit 3
Big data technology unit 3Big data technology unit 3
Big data technology unit 3
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
 
CloudFoundry and MongoDb, a marriage made in heaven
CloudFoundry and MongoDb, a marriage made in heavenCloudFoundry and MongoDb, a marriage made in heaven
CloudFoundry and MongoDb, a marriage made in heaven
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbms
 
If NoSQL is your answer, you are probably asking the wrong question.
If NoSQL is your answer, you are probably asking the wrong question.If NoSQL is your answer, you are probably asking the wrong question.
If NoSQL is your answer, you are probably asking the wrong question.
 
Navigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesNavigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skies
 
NoSQL Basics - A Quick Tour
NoSQL Basics - A Quick TourNoSQL Basics - A Quick Tour
NoSQL Basics - A Quick Tour
 
performance analysis between sql ans nosql
performance analysis between sql ans nosqlperformance analysis between sql ans nosql
performance analysis between sql ans nosql
 
MPTStore: A Fast, Scalable, and Stable Resource Index
MPTStore: A Fast, Scalable, and Stable Resource IndexMPTStore: A Fast, Scalable, and Stable Resource Index
MPTStore: A Fast, Scalable, and Stable Resource Index
 
Cache and consistency in nosql
Cache and consistency in nosqlCache and consistency in nosql
Cache and consistency in nosql
 

Kürzlich hochgeladen

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
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 SolutionsEnterprise Knowledge
 
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
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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 2024The Digital Insurer
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
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 Scriptwesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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 WorkerThousandEyes
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
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
 
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
 
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.pdfEnterprise Knowledge
 

Kürzlich hochgeladen (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
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
 
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...
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.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
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech 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
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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)
 
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
 
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 and newsql

  • 1. NoSQL and NewSQL Zhongke Chen May 28, 2012 Sunday, June 3, 12
  • 2. Agenda What’s NoSQL Typical NoSQL Models What’s NewSQL Popular NoSQL and NewSQL DBMSes Discussion Sunday, June 3, 12
  • 3. Problems with SQL Scale out Performance & Size Sunday, June 3, 12
  • 4. What’s NoSQL NoSQL is a term used to designate databases which differ from classic relational databases in some way. It does not use SQL as its query language (no relational model, no JOIN) It may not give full ACID guarantees Sunday, June 3, 12
  • 5. Pros It may have a distributed, fault- tolerant architecture significant gains in performance for certain data models It deals with huge quantities of data Schema-less Design Sunday, June 3, 12
  • 7. NoSQL Models Key-Value Column Family Document Graph Sunday, June 3, 12
  • 8. NoSQL Models: Key-Value key -> value Examples: memcached, redis, Berkeley DB, Dynamo Sunday, June 3, 12
  • 9. NoSQL Model: Column Family Row key, Column key -> Value Examples: BigTable, Cassandra, HBase Sunday, June 3, 12
  • 10. NoSQL Model: Document Key -> Document (JSON, XML) Examples: MongoDB, CouchDB Sunday, June 3, 12
  • 11. NoSQL Model: Graph Examples: Neo4j, OrientDB Sunday, June 3, 12
  • 12. What’s NewSQL NewSQL preserves SQL and offer high performance and scalability, while preserving the traditional ACID notion for transactions. Examples: VoltDB, NimbusDB, Clustrix, Drizzle Sunday, June 3, 12
  • 13. Redis Key-Value In-Memory Cache Rich Data Types and Operations Optional Persistence Master-Slave Replication Transaction Use cases: weibo.com dianping.com Sunday, June 3, 12
  • 14. MongoDB JSON like (BSON) Document Store Auto Sharding Global Lock, Only one node writable Replica Sets Replication Eventual Consistency Mongo Query Language (Friendly to SQL users) Use cases: dianping.com 盛大 Cloud Foundry Sunday, June 3, 12
  • 15. CouchDB JSON Document Store Written in Erlang Master-Master Replication MVCC Eventual Consistency Compaction Offline HTTP/REST API View (query tool) Use cases: Ubuntu One Meebo Some Facebook Apps Sunday, June 3, 12
  • 16. Cassandra Column family model Decentralized Tunable Consistency Use cases: Facebook Twitter Netflix Sunday, June 3, 12
  • 17. Neo4J Graph database Small Footprint Scalability A powerful traversal framework Cypher Query Language Gremlin Traversal Language Use cases: Multi-level Marketing Engine Sunday, June 3, 12
  • 18. VoltDB Speak SQL Stored Procedures Partitioning Table and Replication Table Lock free design In-Memory Snapshots and command logging K-safety Linear Scalability Use cases: http://voltdb.com/customers Sunday, June 3, 12
  • 19. How To Choose MongoDB: If you need dynamic queries. If you prefer to define indexes, not map/reduce functions. If you need good performance on a big DB. If you wanted CouchDB, but your data changes too much, filling up disks. CouchDB: For accumulating, occasionally changing data, on which pre- defined queries are to be run. Places where versioning is important. Redis: For rapidly changing data with a foreseeable database size (should fit mostly in memory). Neo4J: For graph-style, rich or complex, interconnected data. Neo4j is quite different from the others in this sense. Cassandra: When you write more than you read (logging). If every component of the system must be in Java. ("No one gets fired for choosing Apache's stuff.") VoltDB: If you want to speak SQL and use JOIN Sunday, June 3, 12
  • 20. Q&A The End! Thank you! Sunday, June 3, 12

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n