SlideShare a Scribd company logo
If NoSQL is your answer, you
are probably asking the wrong
          question.
Hi, my name is
Lukas Kahwe
     Smith
and I am not a
     troll
If NoSQL is your answer, you are probably asking the wrong question.
@lsmith
@lsmith77
SQL
For the conference we're
looking for someone who can
 be a part of the 'Databases -
 short talks' presentations to
give a lightning talk about SQL.
SQL
NoSQL
No
SQL?
Not Only
 SQL?
Time for some pseudo math
Given that most relational
 databases have an SQL
        interface
RDBMS - SQL = NoSQL ?
NoSQL + SQL = RDBMS ?
Key-Value-Store + Complex Queries
          = NoSQL ?
I am about to blow your mind
I have created a database API
      for unstructured
hierarchical documents
on top of an RDBMS with
     an SQL-like interface
And I wasn’t even the first
    person to do it ..
Can we agree to stop using
    the term NoSQL ?
Using NewSQL is not any
        better!
Instead talk about RDBMS,
 Doc-Stores, Key-Value-
Stores, Graph-Databases ..
There is clearly a growing
number of people considering
 alternatives to RDBMS
Actually Key-Value-Stores
 have been popular for many
        years already
So clearly the current trend is
 not just about sharding
unstructured documents in
  an elastically scaling
            cluster
Its also not about getting rid of
SQL, after all the CAP theorem
    doesn’t talk about what
   query languages to use
RDBMS - relational model = ?
We still love RDBMS for what their good for
   Storing and retrieving
structured relational small to
    large data sets with high
consistency and reliability
And yes we also still love SQL
 Running ad-hoc search
  queries and schema
updates even if we are not
    rocket scientists

http://2012.nosql-matters.org/cgn/slides/#olaf_bachmann
And while JSON queries might
be easier parsed by computers
  SQL is definitely easy to
     parse for humans
So what do we really worry
         about .. ?
ACID, Asynchronous, Atomic
Updates, BigData, Binaries, CAP
Theorem, Column Oriented,
Elastic Scaling, Eventual
Consistency, Failover, FullText
Search, Graphs, Low Latency, In
Memory, MapReduce, Master-
Master, Sharding, Smart Clients
ACID, Asynchronous, Atomic
Updates, BigData, Binaries, CAP
Theorem, Column Oriented,
Elastic Scaling, Eventual
Consistency, Failover, FullText
Search, Graphs, Low Latency, In
Memory, MapReduce, Master-
Master, Sharding, Smart Clients
ACID, Asynchronous, Atomic
Updates, BigData, Binaries,
CAP Theorem, Column
Oriented, Elastic Scaling, Eventual
Consistency, Failover, FullText
Search, Graphs, Low Latency, In
Memory, MapReduce, Master-
Master, Sharding, Smart Clients
ACID, Asynchronous, Atomic
Updates, BigData, Binaries, CAP
Theorem, Column Oriented,
Elastic Scaling, Eventual
Consistency, Failover, FullText
Search, Graphs, Low Latency, In
Memory, MapReduce, Master-
Master, Sharding, Smart Clients
ACID, Asynchronous, Atomic
Updates, BigData, Binaries, CAP
Theorem, Column Oriented,
Elastic Scaling, Eventual
Consistency, Failover, FullText
Search, Graphs, Low Latency, In
Memory, MapReduce, Master-
Master, Sharding, Smart Clients
ACID, Asynchronous, Atomic
Updates, BigData, Binaries, CAP
Theorem, Column Oriented,
Elastic Scaling, Eventual
Consistency, Failover, FullText
Search, Graphs, Low Latency, In
Memory, MapReduce, Master-
Master, Sharding, Smart Clients
ACID, Asynchronous, Atomic
Updates, BigData, Binaries, CAP
Theorem, Column Oriented,
Elastic Scaling, Eventual
Consistency, Failover, FullText
Search, Graphs, Low Latency, In
Memory, MapReduce, Master-
Master, Sharding, Smart Clients
RDBMS vendors got stuck
  as a result of their own
          success
Innovators Dilemma
“The two biggest issues that stand out to me are
 that current leading relational databases never
   solved scale out very well, and online
  operations are too expensive. [..] The
innovation hasn't been in the language, but in the
     design of database engines themselves. “
                Brian Aker (Drizzle, previously MySQL)




  http://blog.krow.net/2013/03/mysql-vs-nosql-vs-postgres-vs-sql.html
The good news is that
RDBMS vendors have been
       unstuck
However its hard to move on
    from a monolithic
 architecture, Drizzle is a
  radical attempt at trying it
In many ways its easier to
  start from scratch
But lets look at some
examples of things that have
  happened in the RDBMS
            world
VoltDB, ScaleBase and NuoDB
 promise elastic scaling on
top of an RDBMS with SQL
    and ACID* compliance
        http://voltdb.com/tao-volt/five-principles.php
             http://www.scalebase.com/solution/
  http://www.nuodb.com/explore/sql-cloud-database-how-it-works/
Both PostgreSQL and
MySQL have native support
     for JSON (and XML)
PostgreSQL performs reads
  on par with MongoDB,
 especially for larger data sets

http://www.slideshare.net/stormdb_cloud_database/postgres-xc-askeyvaluestorevsmongodb
          http://jathanism-event-notes.readthedocs.org/en/latest/scale11x/talks/
                            postgres_as_a_schemaless_db.html
MySQL Server and MySQL
Cluster allow by passing SQL
via the Memcache protocol

http://blog.ulf-wendel.de/downloads/nosql_in_mysql.pdf
MySQL and PostgreSQL
    both have forks providing
   Multi-Master replication

http://www.enterprisedb.com/products-services-training/products-overview/xdb-
                        replication-server-multi-master
            http://www.codership.com/content/using-galera-cluster
OQGRAPH Engine to store
  graphs in Maria DB


 http://openquery.com/products/graph-engine
MySQLND plugins for
client side query caching,
   transaction aware load
         balancing
             http://php.net/mysqlnd_qc
  http://php.net/manual/en/book.mysqlnd-ms.php
Conclusion
SQL is not a scalability enemy
SQL is not a scalability enemy
How big is your data ..
      really?
Operational experience only
 comes over time, having
something solid that just
       works matters
There can be innovation in
   the RDBMS world
Using an RDBMS is fine
So is using Doc-Stores, Key-
 Value-Stores, Graph DBs
Using NoSQL is not fine
Just pick the right tool for
          the job ..
Duh!
Fin
Ad

More Related Content

What's hot (20)

SQL vs NoSQL
SQL vs NoSQLSQL vs NoSQL
SQL vs NoSQL
Skills Matter
 
Mongodb vs mysql
Mongodb vs mysqlMongodb vs mysql
Mongodb vs mysql
hemal sharma
 
Design and implementation patterns for reviving relational monoliths
Design and implementation patterns for reviving relational monolithsDesign and implementation patterns for reviving relational monoliths
Design and implementation patterns for reviving relational monoliths
Thomas Gamble
 
01 nosql and multi model database
01   nosql and multi model database01   nosql and multi model database
01 nosql and multi model database
Mahdi Atawneh
 
SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!SQL or NoSQL, that is the question!
SQL or NoSQL, that is the question!
Andraz Tori
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
Ahmad Awsaf-uz-zaman
 
Database and types of database
Database and types of databaseDatabase and types of database
Database and types of database
baabtra.com - No. 1 supplier of quality freshers
 
MongoDB introduction
MongoDB introductionMongoDB introduction
MongoDB introduction
Edward Yoon
 
NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
Mohammed Fazuluddin
 
My sql vs mongo
My sql vs mongoMy sql vs mongo
My sql vs mongo
krishnapriya Tadepalli
 
Why no sql ? Why Couchbase ?
Why no sql ? Why Couchbase ?Why no sql ? Why Couchbase ?
Why no sql ? Why Couchbase ?
Ahmed Rashwan
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL Databases
Osama Jomaa
 
Csql for telecom
Csql for telecomCsql for telecom
Csql for telecom
Nihar Ranjan Paital
 
Polyglot persitence
Polyglot persitencePolyglot persitence
Polyglot persitence
Stamo Petkov
 
Introduction of Redis as NoSQL Database
Introduction of Redis as NoSQL DatabaseIntroduction of Redis as NoSQL Database
Introduction of Redis as NoSQL Database
Abhijeet Shekhar
 
10 mongo db
10 mongo db10 mongo db
10 mongo db
Ahmed Elbassel
 
#nosql introduction
#nosql introduction#nosql introduction
#nosql introduction
jethrobakker
 
Cassandra-vs-MongoDB
Cassandra-vs-MongoDBCassandra-vs-MongoDB
Cassandra-vs-MongoDB
Jainul Musani
 
Nosql
NosqlNosql
Nosql
Dhanshri Nagargoje
 
No SQL - A Simple Intro
No SQL - A Simple IntroNo SQL - A Simple Intro
No SQL - A Simple Intro
Karthi Keyan
 

Similar to If NoSQL is your answer, you are probably asking the wrong question. (20)

No sql
No sqlNo sql
No sql
Prateek Jain
 
SQL vs NoSQL deep dive
SQL vs NoSQL deep diveSQL vs NoSQL deep dive
SQL vs NoSQL deep dive
Ahmed Shaaban
 
Navigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesNavigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skies
shnkr_rmchndrn
 
NoSQL
NoSQLNoSQL
NoSQL
dbulic
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
Shreyashkumar Nangnurwar
 
NoSQL
NoSQLNoSQL
NoSQL
kirandanduprolu
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
Jeff Bollinger
 
NoSQL Basics and MongDB
NoSQL Basics and  MongDBNoSQL Basics and  MongDB
NoSQL Basics and MongDB
Shamima Yeasmin Mukta
 
Vote NO for MySQL
Vote NO for MySQLVote NO for MySQL
Vote NO for MySQL
Ulf Wendel
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
balwinders
 
Build Application With MongoDB
Build Application With MongoDBBuild Application With MongoDB
Build Application With MongoDB
Edureka!
 
NoSql Databases
NoSql DatabasesNoSql Databases
NoSql Databases
Nimat Khattak
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
Adi Challa
 
SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?
Venu Anuganti
 
Introduction to NoSQL Database
Introduction to NoSQL DatabaseIntroduction to NoSQL Database
Introduction to NoSQL Database
Mohammad Alghanem
 
Enterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison PillEnterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison Pill
Billy Newport
 
No sql
No sqlNo sql
No sql
Neeraj Kaushik
 
NoSQL Options Compared
NoSQL Options ComparedNoSQL Options Compared
NoSQL Options Compared
Sergey Bushik
 
Know what is NOSQL
Know what is NOSQL Know what is NOSQL
Know what is NOSQL
Prasoon Sharma
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample material
Vskills
 
SQL vs NoSQL deep dive
SQL vs NoSQL deep diveSQL vs NoSQL deep dive
SQL vs NoSQL deep dive
Ahmed Shaaban
 
Navigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skiesNavigating NoSQL in cloudy skies
Navigating NoSQL in cloudy skies
shnkr_rmchndrn
 
Minnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with CassandraMinnebar 2013 - Scaling with Cassandra
Minnebar 2013 - Scaling with Cassandra
Jeff Bollinger
 
Vote NO for MySQL
Vote NO for MySQLVote NO for MySQL
Vote NO for MySQL
Ulf Wendel
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
balwinders
 
Build Application With MongoDB
Build Application With MongoDBBuild Application With MongoDB
Build Application With MongoDB
Edureka!
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
Adi Challa
 
SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?SQL/NoSQL How to choose ?
SQL/NoSQL How to choose ?
Venu Anuganti
 
Introduction to NoSQL Database
Introduction to NoSQL DatabaseIntroduction to NoSQL Database
Introduction to NoSQL Database
Mohammad Alghanem
 
Enterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison PillEnterprise NoSQL: Silver Bullet or Poison Pill
Enterprise NoSQL: Silver Bullet or Poison Pill
Billy Newport
 
NoSQL Options Compared
NoSQL Options ComparedNoSQL Options Compared
NoSQL Options Compared
Sergey Bushik
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample material
Vskills
 
Ad

Recently uploaded (20)

Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025Splunk Security Update | Public Sector Summit Germany 2025
Splunk Security Update | Public Sector Summit Germany 2025
Splunk
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)Into The Box Conference Keynote Day 1 (ITB2025)
Into The Box Conference Keynote Day 1 (ITB2025)
Ortus Solutions, Corp
 
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Enhancing ICU Intelligence: How Our Functional Testing Enabled a Healthcare I...
Impelsys Inc.
 
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-UmgebungenHCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungen
panagenda
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Ad

If NoSQL is your answer, you are probably asking the wrong question.

  • 1. If NoSQL is your answer, you are probably asking the wrong question.
  • 2. Hi, my name is Lukas Kahwe Smith
  • 3. and I am not a troll
  • 7. SQL
  • 8. For the conference we're looking for someone who can be a part of the 'Databases - short talks' presentations to give a lightning talk about SQL.
  • 9. SQL
  • 10. NoSQL
  • 13. Time for some pseudo math
  • 14. Given that most relational databases have an SQL interface
  • 15. RDBMS - SQL = NoSQL ?
  • 16. NoSQL + SQL = RDBMS ?
  • 17. Key-Value-Store + Complex Queries = NoSQL ?
  • 18. I am about to blow your mind
  • 19. I have created a database API for unstructured hierarchical documents on top of an RDBMS with an SQL-like interface
  • 20. And I wasn’t even the first person to do it ..
  • 21. Can we agree to stop using the term NoSQL ?
  • 22. Using NewSQL is not any better!
  • 23. Instead talk about RDBMS, Doc-Stores, Key-Value- Stores, Graph-Databases ..
  • 24. There is clearly a growing number of people considering alternatives to RDBMS
  • 25. Actually Key-Value-Stores have been popular for many years already
  • 26. So clearly the current trend is not just about sharding unstructured documents in an elastically scaling cluster
  • 27. Its also not about getting rid of SQL, after all the CAP theorem doesn’t talk about what query languages to use
  • 28. RDBMS - relational model = ?
  • 29. We still love RDBMS for what their good for Storing and retrieving structured relational small to large data sets with high consistency and reliability
  • 30. And yes we also still love SQL Running ad-hoc search queries and schema updates even if we are not rocket scientists http://2012.nosql-matters.org/cgn/slides/#olaf_bachmann
  • 31. And while JSON queries might be easier parsed by computers SQL is definitely easy to parse for humans
  • 32. So what do we really worry about .. ?
  • 33. ACID, Asynchronous, Atomic Updates, BigData, Binaries, CAP Theorem, Column Oriented, Elastic Scaling, Eventual Consistency, Failover, FullText Search, Graphs, Low Latency, In Memory, MapReduce, Master- Master, Sharding, Smart Clients
  • 34. ACID, Asynchronous, Atomic Updates, BigData, Binaries, CAP Theorem, Column Oriented, Elastic Scaling, Eventual Consistency, Failover, FullText Search, Graphs, Low Latency, In Memory, MapReduce, Master- Master, Sharding, Smart Clients
  • 35. ACID, Asynchronous, Atomic Updates, BigData, Binaries, CAP Theorem, Column Oriented, Elastic Scaling, Eventual Consistency, Failover, FullText Search, Graphs, Low Latency, In Memory, MapReduce, Master- Master, Sharding, Smart Clients
  • 36. ACID, Asynchronous, Atomic Updates, BigData, Binaries, CAP Theorem, Column Oriented, Elastic Scaling, Eventual Consistency, Failover, FullText Search, Graphs, Low Latency, In Memory, MapReduce, Master- Master, Sharding, Smart Clients
  • 37. ACID, Asynchronous, Atomic Updates, BigData, Binaries, CAP Theorem, Column Oriented, Elastic Scaling, Eventual Consistency, Failover, FullText Search, Graphs, Low Latency, In Memory, MapReduce, Master- Master, Sharding, Smart Clients
  • 38. ACID, Asynchronous, Atomic Updates, BigData, Binaries, CAP Theorem, Column Oriented, Elastic Scaling, Eventual Consistency, Failover, FullText Search, Graphs, Low Latency, In Memory, MapReduce, Master- Master, Sharding, Smart Clients
  • 39. ACID, Asynchronous, Atomic Updates, BigData, Binaries, CAP Theorem, Column Oriented, Elastic Scaling, Eventual Consistency, Failover, FullText Search, Graphs, Low Latency, In Memory, MapReduce, Master- Master, Sharding, Smart Clients
  • 40. RDBMS vendors got stuck as a result of their own success
  • 42. “The two biggest issues that stand out to me are that current leading relational databases never solved scale out very well, and online operations are too expensive. [..] The innovation hasn't been in the language, but in the design of database engines themselves. “ Brian Aker (Drizzle, previously MySQL) http://blog.krow.net/2013/03/mysql-vs-nosql-vs-postgres-vs-sql.html
  • 43. The good news is that RDBMS vendors have been unstuck
  • 44. However its hard to move on from a monolithic architecture, Drizzle is a radical attempt at trying it
  • 45. In many ways its easier to start from scratch
  • 46. But lets look at some examples of things that have happened in the RDBMS world
  • 47. VoltDB, ScaleBase and NuoDB promise elastic scaling on top of an RDBMS with SQL and ACID* compliance http://voltdb.com/tao-volt/five-principles.php http://www.scalebase.com/solution/ http://www.nuodb.com/explore/sql-cloud-database-how-it-works/
  • 48. Both PostgreSQL and MySQL have native support for JSON (and XML)
  • 49. PostgreSQL performs reads on par with MongoDB, especially for larger data sets http://www.slideshare.net/stormdb_cloud_database/postgres-xc-askeyvaluestorevsmongodb http://jathanism-event-notes.readthedocs.org/en/latest/scale11x/talks/ postgres_as_a_schemaless_db.html
  • 50. MySQL Server and MySQL Cluster allow by passing SQL via the Memcache protocol http://blog.ulf-wendel.de/downloads/nosql_in_mysql.pdf
  • 51. MySQL and PostgreSQL both have forks providing Multi-Master replication http://www.enterprisedb.com/products-services-training/products-overview/xdb- replication-server-multi-master http://www.codership.com/content/using-galera-cluster
  • 52. OQGRAPH Engine to store graphs in Maria DB http://openquery.com/products/graph-engine
  • 53. MySQLND plugins for client side query caching, transaction aware load balancing http://php.net/mysqlnd_qc http://php.net/manual/en/book.mysqlnd-ms.php
  • 55. SQL is not a scalability enemy
  • 56. SQL is not a scalability enemy
  • 57. How big is your data .. really?
  • 58. Operational experience only comes over time, having something solid that just works matters
  • 59. There can be innovation in the RDBMS world
  • 60. Using an RDBMS is fine
  • 61. So is using Doc-Stores, Key- Value-Stores, Graph DBs
  • 62. Using NoSQL is not fine
  • 63. Just pick the right tool for the job ..
  • 64. Duh!
  • 65. Fin