SlideShare a Scribd company logo
SQL vs NoSQL
It’s Always a Hard Choice
Denis Reznik
Data Architect at Intapp, Inc.
Microsoft Data Platform MVP
About me
• Denis Reznik
• Kyiv, Ukraine
• Data Architect at Intapp, Inc.
• Microsoft Data Platform MVP
• Co-Founder Ukrainian Data Community
• PASS Regional Mentor, Central, and Eastern Europe
• Author of “SQL Server MVP Deep Dives 2” Chapter 19
2 |
Database History
1960s 1970s 1980s 1990s 2000s Nowadays
Object
Databases
RDMS
Commercial
Success
SQL
RDBMS
Ingress
System R
E.F. Codd’s
Paper
CODASYL
IMS
NoSQL
(Johan Oskarsson)
NewSQL (?)
Google BigTable
Paper
Amazon Dynamo
Paper
NoSQL
SQL
Agenda
• Criteria #1
• Criteria #2
• Criteria #3
• Criteria #4
• Criteria #5
• Criteria #6
• Criteria #7
Tools
Criteria #1
SQL vs. NoSQL. It's always a hard choice.
Databases
Graph
Document
Relational
Column-Family
Key-Value
Domain
Criteria #2
Q&A Web Site (StackOverflow)
Domain Model
Questions Answers
Users
Comments Votes
Workload
Criteria #3
Sample Workload
• 4 million users
• 8 million questions
• 40 million answers
• As a network #54 site for traffic in the world
• 560 million page views a month
• Peak is more like 2600-3000 requests/sec on most
weekdays.
source: https://www.youtube.com/watch?v=t6kM2EM6so4
Scalability
Criteria #4
Scalability
• Scale up
• Very easy to scale
• Always have a limit
• Hardware is expensive
• Scale-out
• Relatively tricky scaling
• Theoretically infinite scale
• Can be done on commodity hardware
Durability
Criteria #5
Durability
ACID
• D – for Durability
• Not all NoSQL databases are
durable (at least by default)
Cost
Criteria #6
Cost
• Hardware
• Big servers are expensive
• Small servers are cheep
• Small servers can be easily replaced
• License
• A lot of NoSQL databases are free
• There are free RDBMS as well
• Scale Out is more useful for free software
• Support
• MSSQL forgives you more than MySQL
Knowledge
Criteria #7
SQL vs. NoSQL. It's always a hard choice.
Polyglot Persistence
Criteria #8
Real Architecture of StackOverflow
source: https://www.youtube.com/watch?v=t6kM2EM6so4
Summary
• Tools
• Domain
• Workload
• Scalability
• Durability
• Cost
• Knowledge
• Polyglot Persistence
More Points
• “Respect the problem” (c)
• Think about the future workload grows
• Think about the future application changes
• Database itself, even if it is blazing fast, is not a purpose of
not to use cache
• Consider cloud database offers
• Consider Polyglot Persistence
• Consider using service tier for data access in application
• Easier database exchange
• Tire scaling
• A/B testing
Thank you!
Denis Reznik
Twitter: @denisreznik
Email: denisreznik@gmail.com
Blog: http://reznik.uneta.com.ua
Facebook: https://www.facebook.com/denis.reznik.5
LinkedIn: http://ua.linkedin.com/pub/denis-reznik/3/502/234

More Related Content

PPTX
NOSQL vs SQL
PDF
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
PPTX
iForum 2015: SQL vs. NoSQL
PPTX
Rdbms vs. no sql
PPTX
Selecting best NoSQL
DOCX
Sql vs NO-SQL database differences explained
PPTX
Sql vs NoSQL
PPTX
NoSql Data Management
NOSQL vs SQL
SQL vs NoSQL: Big Data Adoption & Success in the Enterprise
iForum 2015: SQL vs. NoSQL
Rdbms vs. no sql
Selecting best NoSQL
Sql vs NO-SQL database differences explained
Sql vs NoSQL
NoSql Data Management

What's hot (20)

PPTX
SQL vs NoSQL
PPTX
What is NoSQL and CAP Theorem
PPTX
Sql vs nosql
PDF
NoSQL Databases
PPTX
No SQL- The Future Of Data Storage
PPTX
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
PPTX
NoSQL Architecture Overview
ODP
Nonrelational Databases
PPT
SQL vs NoSQL
PPT
NoSQL Slideshare Presentation
PPS
PDF
Introduction to NoSQL
PPTX
Introduction to NoSQL
PPTX
NoSQL Data Architecture Patterns
PPTX
Data Modeling for NoSQL
PPTX
Non relational databases-no sql
PPTX
NOSQL Databases types and Uses
PDF
SQL vs NoSQL, an experiment with MongoDB
PDF
Big Challenges in Data Modeling: NoSQL and Data Modeling
PDF
Relational vs. Non-Relational
SQL vs NoSQL
What is NoSQL and CAP Theorem
Sql vs nosql
NoSQL Databases
No SQL- The Future Of Data Storage
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL Architecture Overview
Nonrelational Databases
SQL vs NoSQL
NoSQL Slideshare Presentation
Introduction to NoSQL
Introduction to NoSQL
NoSQL Data Architecture Patterns
Data Modeling for NoSQL
Non relational databases-no sql
NOSQL Databases types and Uses
SQL vs NoSQL, an experiment with MongoDB
Big Challenges in Data Modeling: NoSQL and Data Modeling
Relational vs. Non-Relational
Ad

Similar to SQL vs. NoSQL. It's always a hard choice. (20)

PPT
SQL/NoSQL How to choose ?
PPTX
Databases in 30 minutes.
PPT
SQL, NoSQL, BigData in Data Architecture
KEY
SLQ vs NOSQL - friends or foes
PDF
Heterogenous Persistence
PDF
Database Systems - A Historical Perspective
PDF
Considerations for using NoSQL technology on your next IT project
PDF
Considerations for using NoSQL technology on your next IT project
PDF
Considerations for using NoSQL technology on your next IT project
PDF
Considerations for using NoSQL technology on your next IT project
PPTX
NoSQL
PPTX
PDF
OSDC 2018 | The operational brain: how new Paradigms like Machine Learning ar...
PDF
History of NoSQL and Azure Documentdb feature set
PPT
Implementing the Database Server session 01
PPTX
Relational databases vs Non-relational databases
PDF
Database Revolution - Exploratory Webcast
PDF
Database revolution opening webcast 01 18-12
PPTX
NoSql - mayank singh
DOCX
Report 1.0.docx
SQL/NoSQL How to choose ?
Databases in 30 minutes.
SQL, NoSQL, BigData in Data Architecture
SLQ vs NOSQL - friends or foes
Heterogenous Persistence
Database Systems - A Historical Perspective
Considerations for using NoSQL technology on your next IT project
Considerations for using NoSQL technology on your next IT project
Considerations for using NoSQL technology on your next IT project
Considerations for using NoSQL technology on your next IT project
NoSQL
OSDC 2018 | The operational brain: how new Paradigms like Machine Learning ar...
History of NoSQL and Azure Documentdb feature set
Implementing the Database Server session 01
Relational databases vs Non-relational databases
Database Revolution - Exploratory Webcast
Database revolution opening webcast 01 18-12
NoSql - mayank singh
Report 1.0.docx
Ad

Recently uploaded (20)

PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
Database Infoormation System (DBIS).pptx
PPTX
1_Introduction to advance data techniques.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PDF
Mega Projects Data Mega Projects Data
PDF
Lecture1 pattern recognition............
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PDF
Fluorescence-microscope_Botany_detailed content
PPTX
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
Computer network topology notes for revision
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
Qualitative Qantitative and Mixed Methods.pptx
Introduction-to-Cloud-ComputingFinal.pptx
climate analysis of Dhaka ,Banglades.pptx
STUDY DESIGN details- Lt Col Maksud (21).pptx
Database Infoormation System (DBIS).pptx
1_Introduction to advance data techniques.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Mega Projects Data Mega Projects Data
Lecture1 pattern recognition............
Business Ppt On Nestle.pptx huunnnhhgfvu
Fluorescence-microscope_Botany_detailed content
01_intro xxxxxxxxxxfffffffffffaaaaaaaaaaafg
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Miokarditis (Inflamasi pada Otot Jantung)
.pdf is not working space design for the following data for the following dat...
Computer network topology notes for revision
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Supervised vs unsupervised machine learning algorithms
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
Qualitative Qantitative and Mixed Methods.pptx

SQL vs. NoSQL. It's always a hard choice.