SlideShare a Scribd company logo
NOSQL VS SQL
DIFFERENCE BETWEEN NOSQL & SQL
@MOHAMMED FAZULUDDIN
OVERVIEW
• NoSQL is a category of databases distinctly different from SQL databases.
• SQL Server and relational databases (RDBMS) have been the go-to databases for over 20 years.
• NoSQL databases that enable storing unstructured and heterogeneous data at scale have gained in popularity.
• There are a number of technologies in the NoSQL category, including document databases, key value stores,
column family stores, and graph databases, which are popular with gaming and social.
• SQL databases are primarily called as Relational Databases (RDBMS); whereas NoSQL database are primarily
called as non-relational or distributed database.
• SQL databases have predefined schema whereas NoSQL databases have dynamic schema for unstructured
data.
• SQL databases are not best fit for hierarchical data storage. But, NoSQL database fits better for the
hierarchical data storage as it follows the key-value pair way of storing data similar to JSON data.
OVERVIEW
NOSQL VS MYSQL
• Model:
• NoSQL:
• Non-relational data model.
• Stores Data in JSON documents, key/value pairs, wide column stores or graphs.
• SQL:
• Relational data model.
• Stores data in table.
NOSQL VS MYSQL
• Data:
• NoSQL:
• Offers flexibility as not every record needs to store the same properties.
• New properties can be added on the fly.
• Good for semi structure, complex and nested data.
• Relation captured by denormalizing data and presenting data in single object in a single record.
• SQL:
• Used where the solution for every record has same property.
• Adding properties may require altering schema or backfilling of data.
• Good for structured data.
• Relations are captured in normalized model using joins to resolve reference across the tables.
NOSQL VS MYSQL
• Schema:
• NoSQL:
• In a NoSQL database, data can be added anywhere and at any time, dynamic or flexible schema.
• Database is schema-agnostic and the schema is dictated by the application. This allows for agility and highly iterative
development.
• SQL:
• Strict Schema, it’s impossible to add data until you define tables and field types in what’s referred to as a schema.
• Your data schema must be designed and implemented before any business logic can be developed to manipulate data.
It’s possible to make updates later, but large changes can be complicated.
• Schema must be maintained and kept in sync between application and database.
NOSQL VS MYSQL
• Consistence and Availability:
• NoSQL:
• Eventual to strong consistency supported, depending on solution.
• CAP(Consistence, Availability and Performance) theorem be traded to meet the needs of the application.
• SQL:
• Strong consistency enforced.
• Consistency is prioritized on the availability and performance.
NOSQL VS MYSQL
• Performance:
• NoSQL:
• Performance can be increase by reducing the consistency, if needed.
• All information related to the entity is typically in a single record, so an update can happen in one operation.
• SQL:
• Insert and update performance is depending upon how fast write is committed, as string consistence is enforced.
Performance can be increased by scaling up available resources and using in-memory structure.
• Information about entity may be spread across many tables and rows, requiring many joins to complete an update or a
query.
NOSQL VS MYSQL
• Transactions:
• NoSQL:
• ACID transactions support varies per solution.
• SQL:
• Supports ACID transactions.
• Scale:
• NoSQL:
• Scaling is typically achieved horizontally with data partitioning to span servers.
• SQL:
• Scaling is typically achieved vertically with more server resources.
NOSQL VS MYSQL
• Support:
• NoSQL:
• NoSQL database you still have to rely on community support, and only limited outside experts are available for you to
setup and deploy your large scale NoSQL deployments.
• SQL:
• Excellent support are available for all SQL database from their vendors.
• There are also lot of independent consultations who can help you with SQL database for a very large scale deployments.
NOSQL VS MYSQL
• Data Integrity:
• NoSQL:
• The same data integrity options are not available in NoSQL databases; you can store what you want regardless of any
other documents. Ideally, a single document will be the sole source of all information about an item.
• SQL:
• Most SQL databases allow you to enforce data integrity rules using foreign key constraints (unless you’re still using the
older, defunct MyISAM storage engine in MySQL).
• The schema enforces these rules for the database to follow. It’s impossible for developers or users to add, edit or remove
records, which could result in invalid data or orphan records.
NOSQL VS MYSQL
• Joins:
• NoSQL:
• NoSQL has no equivalent of JOIN, and this can shock those with SQL experience. If we used normalized collections as
described above, we would need to fetch all book documents, retrieve all associated publisher documents, and manually
link the two in our program logic. This is one reason denormalization is often essential.
• SQL:
• SQL queries offer a powerful JOIN clause. We can obtain related data in multiple tables using a single SQL statement.
SAMPLE QUERY SYNTAX OF SQL & NOSQL
SQL NoSQL
insert a new book record
INSERT INTO book ( `ISBN`, `title`, `author` )
VALUES ( '9780992461256', 'Full Stack
JavaScript', 'Colin Ihrig & Adam Bretz' );
db.book.insert({ ISBN: "9780992461256", title:
"Full Stack JavaScript", author: "Colin Ihrig &
Adam Bretz" });
update a book record
UPDATE book SET price = 19.99 WHERE ISBN =
'9780992461256'
db.book.update( { ISBN: '9780992461256' }, {
$set: { price: 19.99 } } );
SUMMARY
• Projects where SQL is ideal:
• Logical related discrete data requirements which can be identified up-front.
• Data integrity is essential.
• Standards-based proven technology with good developer experience and support.
• Projects where NoSQL is ideal:
• Unrelated, indeterminate or evolving data requirements.
• Simpler or looser project objectives, able to start coding immediately.
• Speed and scalability is imperative.
THANK YOU
Ad

More Related Content

What's hot (20)

SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
Ahmad Awsaf-uz-zaman
 
RDBMS vs NoSQL
RDBMS vs NoSQLRDBMS vs NoSQL
RDBMS vs NoSQL
Murat Çakal
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
Ram kumar
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL Databases
Osama Jomaa
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
Marin Dimitrov
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
Filip Ilievski
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
valuebound
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
Pooyan Mehrparvar
 
An Intro to NoSQL Databases
An Intro to NoSQL DatabasesAn Intro to NoSQL Databases
An Intro to NoSQL Databases
Rajith Pemabandu
 
Oracle database introduction
Oracle database introductionOracle database introduction
Oracle database introduction
Mohammad Javad Beheshtian
 
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
Simplilearn
 
Building an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureBuilding an Effective Data Warehouse Architecture
Building an Effective Data Warehouse Architecture
James Serra
 
NoSql
NoSqlNoSql
NoSql
Girish Khanzode
 
Mongodb vs mysql
Mongodb vs mysqlMongodb vs mysql
Mongodb vs mysql
hemal sharma
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Ravi Teja
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
Maynooth University
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
Meysam Javadi
 
Apache HBase™
Apache HBase™Apache HBase™
Apache HBase™
Prashant Gupta
 
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Simplilearn
 
Key-Value NoSQL Database
Key-Value NoSQL DatabaseKey-Value NoSQL Database
Key-Value NoSQL Database
Heman Hosainpana
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
Ram kumar
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL Databases
Osama Jomaa
 
The Basics of MongoDB
The Basics of MongoDBThe Basics of MongoDB
The Basics of MongoDB
valuebound
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
Pooyan Mehrparvar
 
An Intro to NoSQL Databases
An Intro to NoSQL DatabasesAn Intro to NoSQL Databases
An Intro to NoSQL Databases
Rajith Pemabandu
 
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
HBase Tutorial For Beginners | HBase Architecture | HBase Tutorial | Hadoop T...
Simplilearn
 
Building an Effective Data Warehouse Architecture
Building an Effective Data Warehouse ArchitectureBuilding an Effective Data Warehouse Architecture
Building an Effective Data Warehouse Architecture
James Serra
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
Ravi Teja
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
Maynooth University
 
An Introduction To Oracle Database
An Introduction To Oracle DatabaseAn Introduction To Oracle Database
An Introduction To Oracle Database
Meysam Javadi
 
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Simplilearn
 

Viewers also liked (20)

Selecting best NoSQL
Selecting best NoSQL Selecting best NoSQL
Selecting best NoSQL
Mohammed Fazuluddin
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
Derek Stainer
 
A Beginners Guide to noSQL
A Beginners Guide to noSQLA Beginners Guide to noSQL
A Beginners Guide to noSQL
Mike Crabb
 
Neo4 jv2 english
Neo4 jv2 englishNeo4 jv2 english
Neo4 jv2 english
Thiago Oliveira
 
GraphConnect SF 2013 Keynote
GraphConnect SF 2013 KeynoteGraphConnect SF 2013 Keynote
GraphConnect SF 2013 Keynote
Emil Eifrem
 
Einführung in nosql // ArangoDB mit Symfony 2
Einführung in nosql // ArangoDB mit Symfony 2Einführung in nosql // ArangoDB mit Symfony 2
Einführung in nosql // ArangoDB mit Symfony 2
ArangoDB Database
 
A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)
A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)
A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)
Emil Eifrem
 
introduction to NoSQL
introduction to NoSQLintroduction to NoSQL
introduction to NoSQL
Younes (omar) Meliani
 
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
Binary Studio
 
SQL vs NoSQL
SQL vs NoSQLSQL vs NoSQL
SQL vs NoSQL
Skills Matter
 
NoSQL
NoSQLNoSQL
NoSQL
Anwar Hasan Shuvo
 
SQL vs NoSQL: 
проблема выбора
SQL vs NoSQL: 
проблема выбораSQL vs NoSQL: 
проблема выбора
SQL vs NoSQL: 
проблема выбора
TKConf
 
Temporal Databases: Queries
Temporal Databases: QueriesTemporal Databases: Queries
Temporal Databases: Queries
torp42
 
nodum.io MongoDB Meetup (Dutch)
nodum.io MongoDB Meetup (Dutch)nodum.io MongoDB Meetup (Dutch)
nodum.io MongoDB Meetup (Dutch)
Wietse Wind
 
Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011
sumit_study
 
Testing Java EE Applications Using Arquillian
Testing Java EE Applications Using ArquillianTesting Java EE Applications Using Arquillian
Testing Java EE Applications Using Arquillian
Reza Rahman
 
Mobile Database
Mobile DatabaseMobile Database
Mobile Database
Thanh Le
 
Cv orlan
Cv orlanCv orlan
Cv orlan
orlando credo
 
Web 10,20,30
Web 10,20,30 Web 10,20,30
Web 10,20,30
MARIA JOSE Ocampo
 
Mobile database security threats
Mobile database security threatsMobile database security threats
Mobile database security threats
Akhil Kumar
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
Derek Stainer
 
A Beginners Guide to noSQL
A Beginners Guide to noSQLA Beginners Guide to noSQL
A Beginners Guide to noSQL
Mike Crabb
 
GraphConnect SF 2013 Keynote
GraphConnect SF 2013 KeynoteGraphConnect SF 2013 Keynote
GraphConnect SF 2013 Keynote
Emil Eifrem
 
Einführung in nosql // ArangoDB mit Symfony 2
Einführung in nosql // ArangoDB mit Symfony 2Einführung in nosql // ArangoDB mit Symfony 2
Einführung in nosql // ArangoDB mit Symfony 2
ArangoDB Database
 
A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)
A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)
A NOSQL Overview And The Benefits Of Graph Databases (nosql east 2009)
Emil Eifrem
 
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
NoSQL vs SQL (by Dmitriy Beseda, JS developer and coach Binary Studio Academy)
Binary Studio
 
SQL vs NoSQL: 
проблема выбора
SQL vs NoSQL: 
проблема выбораSQL vs NoSQL: 
проблема выбора
SQL vs NoSQL: 
проблема выбора
TKConf
 
Temporal Databases: Queries
Temporal Databases: QueriesTemporal Databases: Queries
Temporal Databases: Queries
torp42
 
nodum.io MongoDB Meetup (Dutch)
nodum.io MongoDB Meetup (Dutch)nodum.io MongoDB Meetup (Dutch)
nodum.io MongoDB Meetup (Dutch)
Wietse Wind
 
Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011Dbms sixth chapter_part-1_2011
Dbms sixth chapter_part-1_2011
sumit_study
 
Testing Java EE Applications Using Arquillian
Testing Java EE Applications Using ArquillianTesting Java EE Applications Using Arquillian
Testing Java EE Applications Using Arquillian
Reza Rahman
 
Mobile Database
Mobile DatabaseMobile Database
Mobile Database
Thanh Le
 
Mobile database security threats
Mobile database security threatsMobile database security threats
Mobile database security threats
Akhil Kumar
 
Ad

Similar to NOSQL vs SQL (20)

Ccs334 Big data analytics UNIT II ppt notes
Ccs334   Big data analytics UNIT II ppt notesCcs334   Big data analytics UNIT II ppt notes
Ccs334 Big data analytics UNIT II ppt notes
VasanthB27
 
Introduction to NoSQL database technology
Introduction to NoSQL database technologyIntroduction to NoSQL database technology
Introduction to NoSQL database technology
nicolausalex722
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
Satya Pal
 
Muskan Kumari (1276) Intro to NoSql.pptx. pptx
Muskan Kumari (1276) Intro to NoSql.pptx.    pptxMuskan Kumari (1276) Intro to NoSql.pptx.    pptx
Muskan Kumari (1276) Intro to NoSql.pptx. pptx
jeetigangar18
 
No SQL
No SQLNo SQL
No SQL
The lazy hoplite
 
No SQL DATABASE Description about 4 no sql database.pptx
No SQL DATABASE Description about 4 no sql database.pptxNo SQL DATABASE Description about 4 no sql database.pptx
No SQL DATABASE Description about 4 no sql database.pptx
KavithaMs10
 
NoSQL(MongoDB and DynamoDB) Overview.pptx
NoSQL(MongoDB and DynamoDB) Overview.pptxNoSQL(MongoDB and DynamoDB) Overview.pptx
NoSQL(MongoDB and DynamoDB) Overview.pptx
nikhilaukhaj590
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
Abiral Gautam
 
the rising no sql technology
the rising no sql technologythe rising no sql technology
the rising no sql technology
INFOGAIN PUBLICATION
 
Why no sql ? Why Couchbase ?
Why no sql ? Why Couchbase ?Why no sql ? Why Couchbase ?
Why no sql ? Why Couchbase ?
Ahmed Rashwan
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
Dr-Dipali Meher
 
Introduction to NoSQL & Features of NoSQL.pptx
Introduction to NoSQL & Features of NoSQL.pptxIntroduction to NoSQL & Features of NoSQL.pptx
Introduction to NoSQL & Features of NoSQL.pptx
SherinRappai
 
Introduction to nosql | NoSQL databases
Introduction to nosql | NoSQL databasesIntroduction to nosql | NoSQL databases
Introduction to nosql | NoSQL databases
ShilpaKrishna6
 
NoSql Brownbag
NoSql BrownbagNoSql Brownbag
NoSql Brownbag
Sandeep Kumar
 
NoSql
NoSqlNoSql
NoSql
AnitaSenthilkumar
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7
abdulrahmanhelan
 
unit2-ppt1.pptx
unit2-ppt1.pptxunit2-ppt1.pptx
unit2-ppt1.pptx
revathigollu23
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docx
vvpadhu
 
Chapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choicesChapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choices
Maynooth University
 
Modern database
Modern databaseModern database
Modern database
Rashid Ansari
 
Ccs334 Big data analytics UNIT II ppt notes
Ccs334   Big data analytics UNIT II ppt notesCcs334   Big data analytics UNIT II ppt notes
Ccs334 Big data analytics UNIT II ppt notes
VasanthB27
 
Introduction to NoSQL database technology
Introduction to NoSQL database technologyIntroduction to NoSQL database technology
Introduction to NoSQL database technology
nicolausalex722
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
Satya Pal
 
Muskan Kumari (1276) Intro to NoSql.pptx. pptx
Muskan Kumari (1276) Intro to NoSql.pptx.    pptxMuskan Kumari (1276) Intro to NoSql.pptx.    pptx
Muskan Kumari (1276) Intro to NoSql.pptx. pptx
jeetigangar18
 
No SQL DATABASE Description about 4 no sql database.pptx
No SQL DATABASE Description about 4 no sql database.pptxNo SQL DATABASE Description about 4 no sql database.pptx
No SQL DATABASE Description about 4 no sql database.pptx
KavithaMs10
 
NoSQL(MongoDB and DynamoDB) Overview.pptx
NoSQL(MongoDB and DynamoDB) Overview.pptxNoSQL(MongoDB and DynamoDB) Overview.pptx
NoSQL(MongoDB and DynamoDB) Overview.pptx
nikhilaukhaj590
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
Abiral Gautam
 
Why no sql ? Why Couchbase ?
Why no sql ? Why Couchbase ?Why no sql ? Why Couchbase ?
Why no sql ? Why Couchbase ?
Ahmed Rashwan
 
Introduction to NoSQL & Features of NoSQL.pptx
Introduction to NoSQL & Features of NoSQL.pptxIntroduction to NoSQL & Features of NoSQL.pptx
Introduction to NoSQL & Features of NoSQL.pptx
SherinRappai
 
Introduction to nosql | NoSQL databases
Introduction to nosql | NoSQL databasesIntroduction to nosql | NoSQL databases
Introduction to nosql | NoSQL databases
ShilpaKrishna6
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7
abdulrahmanhelan
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docx
vvpadhu
 
Chapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choicesChapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choices
Maynooth University
 
Ad

More from Mohammed Fazuluddin (20)

Cloud Providers and Their Key Features Explained
Cloud Providers and Their Key Features ExplainedCloud Providers and Their Key Features Explained
Cloud Providers and Their Key Features Explained
Mohammed Fazuluddin
 
Database Performance Handling : A comprehensive guide
Database Performance Handling : A comprehensive guideDatabase Performance Handling : A comprehensive guide
Database Performance Handling : A comprehensive guide
Mohammed Fazuluddin
 
Design patterns Q&A | Important question and answers
Design patterns Q&A | Important question and answersDesign patterns Q&A | Important question and answers
Design patterns Q&A | Important question and answers
Mohammed Fazuluddin
 
Software-Requirements-to-System-Design Basics
Software-Requirements-to-System-Design BasicsSoftware-Requirements-to-System-Design Basics
Software-Requirements-to-System-Design Basics
Mohammed Fazuluddin
 
MEAN-vs-MERN-A-Developers-Guide and Explanation
MEAN-vs-MERN-A-Developers-Guide and ExplanationMEAN-vs-MERN-A-Developers-Guide and Explanation
MEAN-vs-MERN-A-Developers-Guide and Explanation
Mohammed Fazuluddin
 
Cloud AI Deployment Design Patterns - Learn the Basic Deployment Patterns
Cloud AI Deployment Design Patterns - Learn the Basic Deployment PatternsCloud AI Deployment Design Patterns - Learn the Basic Deployment Patterns
Cloud AI Deployment Design Patterns - Learn the Basic Deployment Patterns
Mohammed Fazuluddin
 
Auto-scaling-real-time-software-applications-and-best-practices.pdf
Auto-scaling-real-time-software-applications-and-best-practices.pdfAuto-scaling-real-time-software-applications-and-best-practices.pdf
Auto-scaling-real-time-software-applications-and-best-practices.pdf
Mohammed Fazuluddin
 
Java Version(v5 -v23) Features with sample code snippet
Java Version(v5 -v23) Features with sample code snippetJava Version(v5 -v23) Features with sample code snippet
Java Version(v5 -v23) Features with sample code snippet
Mohammed Fazuluddin
 
Cloud Architecture Framework Pillar’s.pdf
Cloud Architecture Framework Pillar’s.pdfCloud Architecture Framework Pillar’s.pdf
Cloud Architecture Framework Pillar’s.pdf
Mohammed Fazuluddin
 
Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...
Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...
Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...
Mohammed Fazuluddin
 
LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...
LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...
LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...
Mohammed Fazuluddin
 
Basics of GraphQL : Unlocking the Power of GraphQL
Basics of GraphQL : Unlocking the Power of GraphQLBasics of GraphQL : Unlocking the Power of GraphQL
Basics of GraphQL : Unlocking the Power of GraphQL
Mohammed Fazuluddin
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and Prevention
Mohammed Fazuluddin
 
DOMAIN DRIVER DESIGN
DOMAIN DRIVER DESIGNDOMAIN DRIVER DESIGN
DOMAIN DRIVER DESIGN
Mohammed Fazuluddin
 
New Relic Basics
New Relic BasicsNew Relic Basics
New Relic Basics
Mohammed Fazuluddin
 
Terraform Basics
Terraform BasicsTerraform Basics
Terraform Basics
Mohammed Fazuluddin
 
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API SecurityRest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API Security
Mohammed Fazuluddin
 
Software architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideSoftware architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding Guide
Mohammed Fazuluddin
 
Mule ESB - An Enterprise Service Bus
Mule ESB - An Enterprise Service BusMule ESB - An Enterprise Service Bus
Mule ESB - An Enterprise Service Bus
Mohammed Fazuluddin
 
Docker - A Quick Introduction Guide
Docker - A Quick Introduction GuideDocker - A Quick Introduction Guide
Docker - A Quick Introduction Guide
Mohammed Fazuluddin
 
Cloud Providers and Their Key Features Explained
Cloud Providers and Their Key Features ExplainedCloud Providers and Their Key Features Explained
Cloud Providers and Their Key Features Explained
Mohammed Fazuluddin
 
Database Performance Handling : A comprehensive guide
Database Performance Handling : A comprehensive guideDatabase Performance Handling : A comprehensive guide
Database Performance Handling : A comprehensive guide
Mohammed Fazuluddin
 
Design patterns Q&A | Important question and answers
Design patterns Q&A | Important question and answersDesign patterns Q&A | Important question and answers
Design patterns Q&A | Important question and answers
Mohammed Fazuluddin
 
Software-Requirements-to-System-Design Basics
Software-Requirements-to-System-Design BasicsSoftware-Requirements-to-System-Design Basics
Software-Requirements-to-System-Design Basics
Mohammed Fazuluddin
 
MEAN-vs-MERN-A-Developers-Guide and Explanation
MEAN-vs-MERN-A-Developers-Guide and ExplanationMEAN-vs-MERN-A-Developers-Guide and Explanation
MEAN-vs-MERN-A-Developers-Guide and Explanation
Mohammed Fazuluddin
 
Cloud AI Deployment Design Patterns - Learn the Basic Deployment Patterns
Cloud AI Deployment Design Patterns - Learn the Basic Deployment PatternsCloud AI Deployment Design Patterns - Learn the Basic Deployment Patterns
Cloud AI Deployment Design Patterns - Learn the Basic Deployment Patterns
Mohammed Fazuluddin
 
Auto-scaling-real-time-software-applications-and-best-practices.pdf
Auto-scaling-real-time-software-applications-and-best-practices.pdfAuto-scaling-real-time-software-applications-and-best-practices.pdf
Auto-scaling-real-time-software-applications-and-best-practices.pdf
Mohammed Fazuluddin
 
Java Version(v5 -v23) Features with sample code snippet
Java Version(v5 -v23) Features with sample code snippetJava Version(v5 -v23) Features with sample code snippet
Java Version(v5 -v23) Features with sample code snippet
Mohammed Fazuluddin
 
Cloud Architecture Framework Pillar’s.pdf
Cloud Architecture Framework Pillar’s.pdfCloud Architecture Framework Pillar’s.pdf
Cloud Architecture Framework Pillar’s.pdf
Mohammed Fazuluddin
 
Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...
Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...
Implementing Generative AI and Machine Learning on GCP: Architectures, Use Ca...
Mohammed Fazuluddin
 
LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...
LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...
LEVERAGING AWS GENERATIVE AI: ARCHITECTURAL INSIGHTS AND REAL-WORLD IMPLEMENT...
Mohammed Fazuluddin
 
Basics of GraphQL : Unlocking the Power of GraphQL
Basics of GraphQL : Unlocking the Power of GraphQLBasics of GraphQL : Unlocking the Power of GraphQL
Basics of GraphQL : Unlocking the Power of GraphQL
Mohammed Fazuluddin
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and Prevention
Mohammed Fazuluddin
 
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API SecurityRest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API Security
Mohammed Fazuluddin
 
Software architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding GuideSoftware architectural patterns - A Quick Understanding Guide
Software architectural patterns - A Quick Understanding Guide
Mohammed Fazuluddin
 
Mule ESB - An Enterprise Service Bus
Mule ESB - An Enterprise Service BusMule ESB - An Enterprise Service Bus
Mule ESB - An Enterprise Service Bus
Mohammed Fazuluddin
 
Docker - A Quick Introduction Guide
Docker - A Quick Introduction GuideDocker - A Quick Introduction Guide
Docker - A Quick Introduction Guide
Mohammed Fazuluddin
 

Recently uploaded (20)

Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
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
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
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
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
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
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
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
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
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
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
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
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
Rusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond SparkRusty Waters: Elevating Lakehouses Beyond Spark
Rusty Waters: Elevating Lakehouses Beyond Spark
carlyakerly1
 
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
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx2025-05-Q4-2024-Investor-Presentation.pptx
2025-05-Q4-2024-Investor-Presentation.pptx
Samuele Fogagnolo
 
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
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
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
 
Technology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data AnalyticsTechnology Trends in 2025: AI and Big Data Analytics
Technology Trends in 2025: AI and Big Data Analytics
InData Labs
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
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
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
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
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
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
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 

NOSQL vs SQL

  • 1. NOSQL VS SQL DIFFERENCE BETWEEN NOSQL & SQL @MOHAMMED FAZULUDDIN
  • 2. OVERVIEW • NoSQL is a category of databases distinctly different from SQL databases. • SQL Server and relational databases (RDBMS) have been the go-to databases for over 20 years. • NoSQL databases that enable storing unstructured and heterogeneous data at scale have gained in popularity. • There are a number of technologies in the NoSQL category, including document databases, key value stores, column family stores, and graph databases, which are popular with gaming and social. • SQL databases are primarily called as Relational Databases (RDBMS); whereas NoSQL database are primarily called as non-relational or distributed database. • SQL databases have predefined schema whereas NoSQL databases have dynamic schema for unstructured data. • SQL databases are not best fit for hierarchical data storage. But, NoSQL database fits better for the hierarchical data storage as it follows the key-value pair way of storing data similar to JSON data.
  • 4. NOSQL VS MYSQL • Model: • NoSQL: • Non-relational data model. • Stores Data in JSON documents, key/value pairs, wide column stores or graphs. • SQL: • Relational data model. • Stores data in table.
  • 5. NOSQL VS MYSQL • Data: • NoSQL: • Offers flexibility as not every record needs to store the same properties. • New properties can be added on the fly. • Good for semi structure, complex and nested data. • Relation captured by denormalizing data and presenting data in single object in a single record. • SQL: • Used where the solution for every record has same property. • Adding properties may require altering schema or backfilling of data. • Good for structured data. • Relations are captured in normalized model using joins to resolve reference across the tables.
  • 6. NOSQL VS MYSQL • Schema: • NoSQL: • In a NoSQL database, data can be added anywhere and at any time, dynamic or flexible schema. • Database is schema-agnostic and the schema is dictated by the application. This allows for agility and highly iterative development. • SQL: • Strict Schema, it’s impossible to add data until you define tables and field types in what’s referred to as a schema. • Your data schema must be designed and implemented before any business logic can be developed to manipulate data. It’s possible to make updates later, but large changes can be complicated. • Schema must be maintained and kept in sync between application and database.
  • 7. NOSQL VS MYSQL • Consistence and Availability: • NoSQL: • Eventual to strong consistency supported, depending on solution. • CAP(Consistence, Availability and Performance) theorem be traded to meet the needs of the application. • SQL: • Strong consistency enforced. • Consistency is prioritized on the availability and performance.
  • 8. NOSQL VS MYSQL • Performance: • NoSQL: • Performance can be increase by reducing the consistency, if needed. • All information related to the entity is typically in a single record, so an update can happen in one operation. • SQL: • Insert and update performance is depending upon how fast write is committed, as string consistence is enforced. Performance can be increased by scaling up available resources and using in-memory structure. • Information about entity may be spread across many tables and rows, requiring many joins to complete an update or a query.
  • 9. NOSQL VS MYSQL • Transactions: • NoSQL: • ACID transactions support varies per solution. • SQL: • Supports ACID transactions. • Scale: • NoSQL: • Scaling is typically achieved horizontally with data partitioning to span servers. • SQL: • Scaling is typically achieved vertically with more server resources.
  • 10. NOSQL VS MYSQL • Support: • NoSQL: • NoSQL database you still have to rely on community support, and only limited outside experts are available for you to setup and deploy your large scale NoSQL deployments. • SQL: • Excellent support are available for all SQL database from their vendors. • There are also lot of independent consultations who can help you with SQL database for a very large scale deployments.
  • 11. NOSQL VS MYSQL • Data Integrity: • NoSQL: • The same data integrity options are not available in NoSQL databases; you can store what you want regardless of any other documents. Ideally, a single document will be the sole source of all information about an item. • SQL: • Most SQL databases allow you to enforce data integrity rules using foreign key constraints (unless you’re still using the older, defunct MyISAM storage engine in MySQL). • The schema enforces these rules for the database to follow. It’s impossible for developers or users to add, edit or remove records, which could result in invalid data or orphan records.
  • 12. NOSQL VS MYSQL • Joins: • NoSQL: • NoSQL has no equivalent of JOIN, and this can shock those with SQL experience. If we used normalized collections as described above, we would need to fetch all book documents, retrieve all associated publisher documents, and manually link the two in our program logic. This is one reason denormalization is often essential. • SQL: • SQL queries offer a powerful JOIN clause. We can obtain related data in multiple tables using a single SQL statement.
  • 13. SAMPLE QUERY SYNTAX OF SQL & NOSQL SQL NoSQL insert a new book record INSERT INTO book ( `ISBN`, `title`, `author` ) VALUES ( '9780992461256', 'Full Stack JavaScript', 'Colin Ihrig & Adam Bretz' ); db.book.insert({ ISBN: "9780992461256", title: "Full Stack JavaScript", author: "Colin Ihrig & Adam Bretz" }); update a book record UPDATE book SET price = 19.99 WHERE ISBN = '9780992461256' db.book.update( { ISBN: '9780992461256' }, { $set: { price: 19.99 } } );
  • 14. SUMMARY • Projects where SQL is ideal: • Logical related discrete data requirements which can be identified up-front. • Data integrity is essential. • Standards-based proven technology with good developer experience and support. • Projects where NoSQL is ideal: • Unrelated, indeterminate or evolving data requirements. • Simpler or looser project objectives, able to start coding immediately. • Speed and scalability is imperative.