Share
Embed
NoSQL – Back to the Future or Yet Another DB Feature?
A deconstruction of NoSQL – all carried out by an arrogant guy.
Martin Scholl
May 30, 2012
Transcript
44 slides
-
“For those of you who think we are engaged in
some sort of darwinian processes that make things better for us, it’s actually quite the opposite.” – Alan Kay, 2011 http://bit.ly/AlanKay2011 -
infinipool NoSQL – Back to the Future or Yet Another
DB Feature? A deconstruction of NoSQL – all carried out by an arrogant guy. -
Martin Scholl, infinipool GmbH martin@infinipool.com @zeit_geist Disclaimer: What follows are
opinion statements by an otherwise unimportant guy. Pictures are copyrighted by their respective owners. On Database History and NoSQL -
Martin Scholl, infinipool GmbH martin@infinipool.com @zeit_geist Disclaimer: What follows are
opinion statements by an otherwise unimportant guy. Pictures are copyrighted by their respective owners. On Database History and NoSQL Studied all the different *SQL-Systems out there. Still having data issues. (Dr. Faustus) -
Martin Scholl, infinipool GmbH martin@infinipool.com @zeit_geist Disclaimer: What follows are
opinion statements by an otherwise unimportant guy. Pictures are copyrighted by their respective owners. On Database History and NoSQL Studied all the different *SQL-Systems out there. Still having data issues. (Dr. Faustus) I am the spirit that denies NoSQL. (Mephisto. That’s me.) -
Arrogant guy ‛ with a history book ‛ ...now making
bold statements ‛ -
Graph- based Data + Counters “real-time” Data Recommen- dation Data
Journal-like Data -
infinipool NoSQL vs Reality • Data is scattered all over
NoSQL land! • No (simple) way to ensure various quality domains of data • timeliness and appropriateness • correctness and consistency • Data Integration and Data Quality assurance becomes a full-stack concern! -
There are no transactions in NoSQL because transactions do not
scale. NoSQL Myth #2: -
infinipool Calvin: Fast Distributed Transactions for Partitioned Database Systems[1] [1]
http://cs-www.cs.yale.edu/homes/dna/papers/calvin-sigmod12.pdf -
infinipool Calvin: Fast Distributed Transactions for Partitioned Database Systems[1] [1]
http://cs-www.cs.yale.edu/homes/dna/papers/calvin-sigmod12.pdf No Excuses! -
Yes, they are fast. Except the other guys do their
homework, too. -
infinipool MySQL Cluster 7.2 (preview) • 30 node MySQL cluster
• sporting 19.5m update transactions per second[1] • yet, it’s Oracle and we all know its a benchmark business. [1] http://mikaelronstrom.blogspot.co.uk/2012/05/mysql-cluster-727-achieves-1bn-update.html -
Good old Pre-SQL Times: The IBM 704 Filesystems and Databases.
(c) Lawrence Livermore National Laboratory -
Pre-SQL Databases: Files • “Data is stored in files with
interface between programs and files” • Separation and Isolation: Every program has its own files and formats • Duplication, Synchronization, Consistency: Programs share data. Data is not necessarily synchronized or in a consistent state. • Weak Security, High maintenance Costs http://www.comphist.org/computing_history/new_page_9.htm -
infinipool Databases over Files Databases over Files (1960’s) NoSQL DBs
(Cassandra, HBase, Riak, etc.) Separation & Isolation Duplication, Synchronization, Consistency, Security, Maintenance Costs Every program has its own files and formats Every Data Store has its own APIs and Data Models Programs share data. Data not necessarily consistent, synchronized or consistent Content Transferred into Hadoop. Limited consistency by data model Almost no security; manual data processes Almost no security; Specialized personnel required -
Edgar Frank ‘Ted’ Codd • Landmark Paper: “A Relational Model
of Data for Large Shared Data Banks” • Father of Relational Database Management Systems • Basically invented what Twitter and FB run on • Now a +$12B business • we owe him more than an applause. -
infinipool Relational Database Model: The Good Parts • Key Insight:
Separate Logical Data Model from Physical Data Storage • Radical Simplification of Data Access • A phenomenal tool was introduced: Joins • great for “single data insert, multiple views of data” -
infinipool Relational Databases and NoSQL Relational Databases NoSQL DBs (Cassandra,
HBase, Riak, etc.) Logical & Physical Data Model Duplication, Synchronization, Consistency, Downsides Separated Complected Normalization; Constraints for improved data quality Denormalization; Data Quality an Application- level Problem Scalability Issues; some DBMSs quite expensive Almost no security; Specialized personnel required -
1964 It’s Mainframes all over Software is not a product
Databases over Files -
1964 It’s Mainframes all over Software is not a product
Databases over Files 1980 It’s Minicomputers all over Software becomes a product Relational DBMS + SQL -
1964 It’s Mainframes all over Software is not a product
Databases over Files 1980 It’s Minicomputers all over Software becomes a product Relational DBMS + SQL 2012 -
1964 It’s Mainframes all over Software is not a product
Databases over Files 1980 It’s Minicomputers all over Software becomes a product Relational DBMS + SQL It’s Cloud Computing all over Software becomes a Service 2012 -
1964 It’s Mainframes all over Software is not a product
Databases over Files 1980 It’s Minicomputers all over Software becomes a product Relational DBMS + SQL It’s Cloud Computing all over Software becomes a Service NoSQL? 2012 -
1964 It’s Mainframes all over Software is not a product
Databases over Files 1980 It’s Minicomputers all over Software becomes a product Relational DBMS + SQL It’s Cloud Computing all over Software becomes a Service NoSQL? 2012 So far: Every HW iteration a new DB Technology Is Cloud Computing a backlash? Will NoSQL prevail? -
infinipool Changing Issues in Data Management • Scalability of data
storage and transactional access is solved. Everybody can (soon) rent the perfect data storage system in the cloud. • Issue #1: Data-Integration an open task • Issue #2: Data-Quality an open task • Issue #3: Push-based execution model: where are thou? -
infinipool Changing Issues in Data Management • Scalability of data
storage and transactional access is solved. Everybody can rent the perfect data storage system in the cloud. • Issue #1: Data-Integration an open task • Issue #2: Data-Quality an open task • Issue #3: Push-based execution model: where are thou? • The new competitive frontier: Timeliness, Data Integration and Quality -
Claim #2: NoSQL Technology is a step back. Claim #1:
NoSQL will become yet another DB Feature and/or Cloud Computing Service. -
Claim #2: NoSQL Technology is a step back. Claim #1:
NoSQL will become yet another DB Feature and/or Cloud Computing Service. PostSQL Databases will be indistinguishable from Data Communication Services. Claim #3: -
Claim #2: NoSQL Technology is a step back. Claim #1:
NoSQL will become yet another DB Feature and/or Cloud Computing Service. PostSQL Databases will be indistinguishable from Data Communication Services. Claim #3: