SlideShare a Scribd company logo
1 of 29
Introduction to
NOSQL
Email: sales@kerneltraining.com
Call us: +91 8099776681
www.kerneltraining.com
Market Needs
 According to market survey it required :
 Database capable to handle Explosion of social media sites (Facebook, Twitter)
with large data needs
 Explosion of storage needs in large web sites such as Google, Yahoo
 Required database who can work on clusters
 Database who is capable to tune with 21st cent
 Ury websites( e. g. schema less, with out large relations, mostly for open source ).
www.kerneltraining.com
Market Forecast
www.kerneltraining.com
Market Top 10 Ranking
www.kerneltraining.com
Seeing the future
In future database popularity
www.kerneltraining.com
Why No SQL ?
 Its easy and ready to manage with clusters .
 Suitable for upcoming data explosions .
 Not required to keep track with data structure.
 provide easy and flexible system .
www.kerneltraining.com
Smooth process of No SQL
www.kerneltraining.com
Upcoming Job trends
www.kerneltraining.com
Salary hike
www.kerneltraining.com
What is No SQL
 No SQL means Not Only SQL, implying that
when designing a software solution or product, there
are more than one storage mechanism that could be
used based on the needs.
 The most important result of the rise of NoSQL
is Polyglot Persistence.
www.kerneltraining.com
Database Scaling
 RDBMS are "scaled up" by adding hardware
 processing power
 No SQL is "scaled out" by spreading the load
 Partitioning /replication App
Load
balancer
User
A-K
User
L-O
User
P-S
User
A - Z
www.kerneltraining.com
Relational DB Scaling
At certain point relational database won't scale
www.kerneltraining.com
No SQL DB Scaling
At certain point relational database won't scale
www.kerneltraining.com
Characteristics
 NoSQL databases share some characteristics
with respect to scaling and performance:
o Auto sharding
o Distributed query support
o Integrated caching
www.kerneltraining.com
Where NoSQL Is Used?
 Google (BigTable, LevelDB)
 LinkedIn (Voldemort)
 Facebook (Cassandra)
 Twitter (Hadoop/Hbase, FlockDB, Cassandra)
 Netflix (SimpleDB, Hadoop/HBase, Cassandra)
 CERN (CouchDB
www.kerneltraining.com
History of NoSQL
oMultiValue databases at TRW in 1965.
o DBM is released by AT&T in 1979.
o Lotus Domino released in 1989.
o Carlo Strozzi used the term NoSQL in 1998 to name his lightweight,
oopen-source relational database that did not expose the standard SQL
interface.
oGraph database Neo4j is started in 2000.
oGoogle BigTable is started in 2004. Paper published in 2006.
o CouchDB is started in 2005.
o The research paper on Amazon Dynamo is released in 2007.
o The document database MongoDB is started in 2007 as a part of a open
osource cloud computing stack and first standalone release in 2009.
oFacebooks open sources the Cassandra project in 2008.
oProject Voldemort started in 2008.
oThe term NoSQL was reintroduced in early 2009.
www.kerneltraining.com
cap theorem 1/2
The need for scaling up/down/out is growing and so are the challenges of
dealing with huge distributed systems. So, when designing such applications,
it’s important to keep three core requirements in mind as described by
Brewer’s CAP theorem:
1. Consistency
2. Availability
3. Partition-Tolerance
A distributed system can satisfy any two of these
Guarantees at the same time, but not all three
www.kerneltraining.com
Cap theorem 2/2
 In other words, CAP can be expressed as "If the network is broken, your
database won’twork"
 In RDBMS we do not have P (network partitions)
 ○ Consistency and Availability are achieved
 In No SQL we want to have P
 Need to select either C or A
 Drop A -> Accept waiting until data is consistent
 Drop C -> Accept getting inconsistent data
sometimes
www.kerneltraining.com
No sql system and cap
www.kerneltraining.com
ACID vs BASE
Scalability and better performance of No SQL is
achieved by sacrificing ACID compatibility.
Atomic, Consistent, Isolated, Durable
No SQL is having BASE compatibility instead.
Basically Available, Soft state,
Eventual consistency
www.kerneltraining.com
No SQL dose not use SQL
 Sql was designed to be a query language for relational
database .
 Relational databases are usually table based . Mush like a
spread- sheet .
 records are stored in row and column management .
www.kerneltraining.com
No SQL are more flexible
 Many of No SQL databases allow the definition of fields
on record creation .
 Nested values are common in No SQL database.
 Fields are not standardizes between records .
www.kerneltraining.com
Types of No SQL databases
NoSQL
DataTypes
Key Value
store
Example
Riak, Amazon
S3 (Dynamo)
Document
Based store
Example
CouchDB
Column based
store
Example
HBase,
Cassandra
Graph based
Example -
Neo4J
www.kerneltraining.com
Descriptions about Document Based
 Document based
 Documents are usually stored in a structured format.
 Documents are usually organized into collections or databases.
 Individual document can have unique structure .
 Each document has a specific key .
 Examples – json , Bson , XML
www.kerneltraining.com
Key Value
 You have a key and you can query by , and value at that by .
 Not possible to query by other then a key .
 Sometimes used alongside relational databases for caching .
www.kerneltraining.com
Column Based
 Each row in a tabular database can have a different set of
columns.
 Tabular databases are designed for large numbers of columns
in each row, and rows are typically versioned .
www.kerneltraining.com
Graph Based
 These databases that uses edges and nodes to represent and
store data.
 These nodes are organised by some relationships with one
another, which is represented by edges between the nodes.
 Both the nodes and the relationships have some defined
properties.
Questions?
www.kerneltraining.com
THANK YOU
for attending Demo of
NOSQL
www.kerneltraining.com
Email: sales@kerneltraining.com
Call us: +91 8099776681

More Related Content

Viewers also liked

Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...Neo4j
 
Converting Relational to Graph Databases
Converting Relational to Graph DatabasesConverting Relational to Graph Databases
Converting Relational to Graph DatabasesAntonio Maccioni
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databasesJames Serra
 
NoSQL: Why, When, and How
NoSQL: Why, When, and HowNoSQL: Why, When, and How
NoSQL: Why, When, and HowBigBlueHat
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jDebanjan Mahata
 
Introduction to graph databases GraphDays
Introduction to graph databases  GraphDaysIntroduction to graph databases  GraphDays
Introduction to graph databases GraphDaysNeo4j
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesMax De Marzi
 
Data Modeling with Neo4j
Data Modeling with Neo4jData Modeling with Neo4j
Data Modeling with Neo4jNeo4j
 
Data Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisData Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisDataminingTools Inc
 

Viewers also liked (10)

Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...Designing and Building a Graph Database Application – Architectural Choices, ...
Designing and Building a Graph Database Application – Architectural Choices, ...
 
Converting Relational to Graph Databases
Converting Relational to Graph DatabasesConverting Relational to Graph Databases
Converting Relational to Graph Databases
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 
Graph databases
Graph databasesGraph databases
Graph databases
 
NoSQL: Why, When, and How
NoSQL: Why, When, and HowNoSQL: Why, When, and How
NoSQL: Why, When, and How
 
An Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4jAn Introduction to NOSQL, Graph Databases and Neo4j
An Introduction to NOSQL, Graph Databases and Neo4j
 
Introduction to graph databases GraphDays
Introduction to graph databases  GraphDaysIntroduction to graph databases  GraphDays
Introduction to graph databases GraphDays
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
Data Modeling with Neo4j
Data Modeling with Neo4jData Modeling with Neo4j
Data Modeling with Neo4j
 
Data Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysisData Mining: Graph mining and social network analysis
Data Mining: Graph mining and social network analysis
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 

Recently uploaded (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 

NoSQL Database ppt for Beginners by Real Time Expert

  • 2. www.kerneltraining.com Market Needs  According to market survey it required :  Database capable to handle Explosion of social media sites (Facebook, Twitter) with large data needs  Explosion of storage needs in large web sites such as Google, Yahoo  Required database who can work on clusters  Database who is capable to tune with 21st cent  Ury websites( e. g. schema less, with out large relations, mostly for open source ).
  • 5. www.kerneltraining.com Seeing the future In future database popularity
  • 6. www.kerneltraining.com Why No SQL ?  Its easy and ready to manage with clusters .  Suitable for upcoming data explosions .  Not required to keep track with data structure.  provide easy and flexible system .
  • 10. www.kerneltraining.com What is No SQL  No SQL means Not Only SQL, implying that when designing a software solution or product, there are more than one storage mechanism that could be used based on the needs.  The most important result of the rise of NoSQL is Polyglot Persistence.
  • 11. www.kerneltraining.com Database Scaling  RDBMS are "scaled up" by adding hardware  processing power  No SQL is "scaled out" by spreading the load  Partitioning /replication App Load balancer User A-K User L-O User P-S User A - Z
  • 12. www.kerneltraining.com Relational DB Scaling At certain point relational database won't scale
  • 13. www.kerneltraining.com No SQL DB Scaling At certain point relational database won't scale
  • 14. www.kerneltraining.com Characteristics  NoSQL databases share some characteristics with respect to scaling and performance: o Auto sharding o Distributed query support o Integrated caching
  • 15. www.kerneltraining.com Where NoSQL Is Used?  Google (BigTable, LevelDB)  LinkedIn (Voldemort)  Facebook (Cassandra)  Twitter (Hadoop/Hbase, FlockDB, Cassandra)  Netflix (SimpleDB, Hadoop/HBase, Cassandra)  CERN (CouchDB
  • 16. www.kerneltraining.com History of NoSQL oMultiValue databases at TRW in 1965. o DBM is released by AT&T in 1979. o Lotus Domino released in 1989. o Carlo Strozzi used the term NoSQL in 1998 to name his lightweight, oopen-source relational database that did not expose the standard SQL interface. oGraph database Neo4j is started in 2000. oGoogle BigTable is started in 2004. Paper published in 2006. o CouchDB is started in 2005. o The research paper on Amazon Dynamo is released in 2007. o The document database MongoDB is started in 2007 as a part of a open osource cloud computing stack and first standalone release in 2009. oFacebooks open sources the Cassandra project in 2008. oProject Voldemort started in 2008. oThe term NoSQL was reintroduced in early 2009.
  • 17. www.kerneltraining.com cap theorem 1/2 The need for scaling up/down/out is growing and so are the challenges of dealing with huge distributed systems. So, when designing such applications, it’s important to keep three core requirements in mind as described by Brewer’s CAP theorem: 1. Consistency 2. Availability 3. Partition-Tolerance A distributed system can satisfy any two of these Guarantees at the same time, but not all three
  • 18. www.kerneltraining.com Cap theorem 2/2  In other words, CAP can be expressed as "If the network is broken, your database won’twork"  In RDBMS we do not have P (network partitions)  ○ Consistency and Availability are achieved  In No SQL we want to have P  Need to select either C or A  Drop A -> Accept waiting until data is consistent  Drop C -> Accept getting inconsistent data sometimes
  • 20. www.kerneltraining.com ACID vs BASE Scalability and better performance of No SQL is achieved by sacrificing ACID compatibility. Atomic, Consistent, Isolated, Durable No SQL is having BASE compatibility instead. Basically Available, Soft state, Eventual consistency
  • 21. www.kerneltraining.com No SQL dose not use SQL  Sql was designed to be a query language for relational database .  Relational databases are usually table based . Mush like a spread- sheet .  records are stored in row and column management .
  • 22. www.kerneltraining.com No SQL are more flexible  Many of No SQL databases allow the definition of fields on record creation .  Nested values are common in No SQL database.  Fields are not standardizes between records .
  • 23. www.kerneltraining.com Types of No SQL databases NoSQL DataTypes Key Value store Example Riak, Amazon S3 (Dynamo) Document Based store Example CouchDB Column based store Example HBase, Cassandra Graph based Example - Neo4J
  • 24. www.kerneltraining.com Descriptions about Document Based  Document based  Documents are usually stored in a structured format.  Documents are usually organized into collections or databases.  Individual document can have unique structure .  Each document has a specific key .  Examples – json , Bson , XML
  • 25. www.kerneltraining.com Key Value  You have a key and you can query by , and value at that by .  Not possible to query by other then a key .  Sometimes used alongside relational databases for caching .
  • 26. www.kerneltraining.com Column Based  Each row in a tabular database can have a different set of columns.  Tabular databases are designed for large numbers of columns in each row, and rows are typically versioned .
  • 27. www.kerneltraining.com Graph Based  These databases that uses edges and nodes to represent and store data.  These nodes are organised by some relationships with one another, which is represented by edges between the nodes.  Both the nodes and the relationships have some defined properties.
  • 29. THANK YOU for attending Demo of NOSQL www.kerneltraining.com Email: sales@kerneltraining.com Call us: +91 8099776681