SlideShare a Scribd company logo
4
Most read
8
Most read
12
Most read
Introduction to NOSQL database
Content
• History of database technology
• Motivation for Nosql databases
• Benefits of Relational databases
• Limitations of RDBMS
• What is Nosql
• CAP Theorm
• Types of Nosql
• Research Challanges
• Conclusion
• References
Summary of early database systems
Database
name
Advantage Limitations
Flat file systems • Keep data about a single entity
together in a single record.
• Can leads to duplicated data and
inefficient retrieval.
• Difficult to implement security controls
to protect confidential data
Hierarchical data
management
systems
• Follows parent-child
relationships
• Stores records in the form of
records.
searching for a customer in a loan
database might require scanning all
customer records.
Network data
management
• The ability to represent parent-
child and many-to-many
relations is an advantage.
• Duplicate data,
• Difficulty implementing security,
Inefficient searching
• Difficulty maintaining program
• code to access databases
Relational Database
Management
Systems
• Store in the form of table.
• Normalization
• ACID property
• SQL
• Storage management programs
• Memory management programs
• Data dictionary
• Query language
Motivations for No SQL Databases
• Big data supports storing and querying huge
amounts of semi-structured and unstructured data.
• e.g Facebook and google stores and process
exabyte and zettabyte of data.
• So we need databases which can provide:
Scalability(Sharding)
 Cost
 Flexibility
 Availability
Source:http://programming4.us/enterprise/18762.aspx
Benefits of Relational databases
• Based on ACID
properties
• Strong consistency,
concurrency, recovery
• Normalization
• Standard Query
language (SQL)
• Vertical scaling (up
scaling)
Limitations of RDBMS
 Relational databases
were not built for
distributed applications.
Because:
• Joins are expensive
• Hard to scale
horizontally
• Expensive (product cost,
hardware)
 The rise of big data
(volume,Variety)
https://www.slideshare.net/ramakantsoni/p
resentation-on-no-sql
What is NoSQL
• It stands for 'NOT ONLY SQL'
• #NoSQL was a twitter hashtag for a conference in 2009
used by ERIC EVANS.
• There is no strict defination for NoSQL databases.
• It is a nonrelational database.
• Mainly designed to use for Big Data and Real time web
applications.
Advantages of Nosql over RDBMS
• Can handle Semi-structured
and unstructured data.
• Data Models- No Predefined
Schema.
• Scaling- Scaling out/
Horizontal Scaling.
• Avoids overhead of ACID
transactions.
• Avoids complexity of SQL
query.
Source:https://deavid.wordpress.com/2018
/08/29/nosql-databases
CAP Theorem
• Consistency: Clients should read the
same data.
• Availability: Data to be available all
time.
• Partial Tolerance: Data to be
partitioned across network segments
due to network failures.
Source:https://www.researchgate.net/figure/CAP-
theorem
NoSQL Types
It can be classified into
four types:
Key Value pair based
Column based
Document based
Graph based
Source:https://deavid.wordpress.com/2018/08/29/nosql-databases
Key Value Pair Based
• Data model: (key, value) pairs.
• Designed for processing dictionary.
• Dictionaries contain a collection of
records having fields containing data.
• Records are stored and retrieved
using a key that uniquely identifies
the record,and is used to quickly find
the data with in the database.
• Example: Oracle NoSQL Database,
Riak etc.
• We use it for: storing session
information, user profiles,
preferences , shopping cart data. Key Value Pair
Based[1].
Column based
• It store data as Column families
containing rows that have many
columns associated with a row
key.Each row can have different
columns.
• Column families are groups of
related data that is accessed
together.
• Example:Cassandra, HBase,
Hypertable, and Amazon
DynamoDB.
• We use it for content
management systems ,blogging
platforms, log aggregation.
Column based [1]
Document Based
• The database store send retrieves
documents. It stores documents in
the value part of the key-value
store.
• Self describing, hierarchical tree
data structures consisting of
maps, collections, and scalar
values.
• Example: Lotus Notes ,Mongo
DB, Couch DB, Orient DB, Raven
DB.
• We use it for content management
systems, blogging platforms,
webanalytics,real-timeanalytics e-
commerce applications.
Document Based [1]
Graph Based
• Store entities and relationships
between these entities as nodes
and edges of a graph respectively.
Entities have properties.
• Traversing the relationships is
very fast as relationship between
nodes is not calculated at query
time but is actually persisted as a
relationship.
• Example: Neo4J, InfiniteGraph,
OrientDB, FlockDB.
• It is well suited for connected data
such as social networks ,spatial
data ,routing information for goods
and supply.
Graph Based[1]
Research Challenges
• Transaction Processing : Nosql do not strictly follow ACID
properties.
• Query Processing: There is no user friendly unified query
language for Nosql.
• Security: Since follow unstructured data approach along
with geographic distribution. Hence its very difficult to
apply security.
Conclusion
• RDBMS is a great tool for
solving ACID problems
• When data validity is super
important
• When you need to support
dynamic queries
• NoSQL is a great tool for
solving data availability
problems
• When it’s more important
to have fast data than right
data
• When you need to scale
based on changing
requirements
References
1. Ali Davoudian and Liu Chen, Mengchi Liu:A Survey on NoSQL
Stores,ACM Comput. Surv. 51, 2, Article,40 (April 2018),43 pages.
2. Dan Sullivan:Nosql for mere Mortals,1st Edition,United States of
America:Pearson Education,2015.
3. Xiangdong Huang, Jianmin Wang, Yu Zhong, Shaoxu Song, and
Philip S. Yu. 2015:Optimizing data partition for scaling out NoSQL
cluster. Concurrency and Computation: Practice and Experience 27,
18, 5793–5809.
4. Katarina Grolinger, Wilson A HigashinoEmail author, Abhinav Tiwari
and Miriam AM Capretz:Data management in cloud environments:
NoSQL and NewSQL data stores,l. Journal of Cloud Computing:
Advances, Systems and Applications,Springer. 2013
Thank You

More Related Content

PDF
NOSQL- Presentation on NoSQL
PPTX
NOSQL vs SQL
PPTX
NOSQL Databases types and Uses
PPTX
Introduction to NoSQL
PPTX
NoSQL databases - An introduction
PPSX
A Seminar on NoSQL Databases.
PPTX
Nosql databases
ZIP
NoSQL databases
NOSQL- Presentation on NoSQL
NOSQL vs SQL
NOSQL Databases types and Uses
Introduction to NoSQL
NoSQL databases - An introduction
A Seminar on NoSQL Databases.
Nosql databases
NoSQL databases

What's hot (20)

PPTX
Data models in NoSQL
PPTX
Map Reduce
PPTX
Introduction to Apache Spark
PPTX
Apache HBase™
PDF
The CAP Theorem
PDF
Presentation On NoSQL Databases
PPT
Introduction to MongoDB
PPTX
Hadoop Architecture
PDF
Nodejs presentation
PPTX
Introduction to MongoDB.pptx
PDF
Nosql data models
PPTX
Hadoop File system (HDFS)
PPTX
Introduction to NoSQL Databases
PPTX
MongoDB
PDF
Cassandra Database
PPSX
PPTX
Hadoop And Their Ecosystem ppt
PPTX
Big data and Hadoop
PDF
Spark SQL
PPT
6 Data Modeling for NoSQL 2/2
Data models in NoSQL
Map Reduce
Introduction to Apache Spark
Apache HBase™
The CAP Theorem
Presentation On NoSQL Databases
Introduction to MongoDB
Hadoop Architecture
Nodejs presentation
Introduction to MongoDB.pptx
Nosql data models
Hadoop File system (HDFS)
Introduction to NoSQL Databases
MongoDB
Cassandra Database
Hadoop And Their Ecosystem ppt
Big data and Hadoop
Spark SQL
6 Data Modeling for NoSQL 2/2
Ad

Similar to introduction to NOSQL Database (20)

PPTX
NoSQL(NOT ONLY SQL)
PPTX
UNIT I Introduction to NoSQL.pptx
PPTX
NOSQL PRESENTATION ON INTRRODUCTION Intro.pptx
PDF
NOSQL in big data is the not only structure langua.pdf
PPTX
Presentation on NOSQL and mongodb .pptx
PPTX
UNIT I Introduction to NoSQL.pptx
PPTX
Introduction to nosql
PPTX
Introduction to asdfghjkln b vfgh n v
PPTX
Introduction to Data Science NoSQL.pptx
PPT
NoSQL - 05March2014 Seminar
PPTX
nosql.pptx
PDF
NOsql Presentation.pdf
PDF
the rising no sql technology
PPTX
NoSQL in Big Data Analytics Tools .pptx
DOCX
Unit II -BIG DATA ANALYTICS.docx
PPTX
Presentation on NoSQL Database related RDBMS
PPTX
No sq lv2
PPTX
No sqlpresentation
PPTX
NoSQL Basics and MongDB
PDF
NoSql and it's introduction features-Unit-1.pdf
NoSQL(NOT ONLY SQL)
UNIT I Introduction to NoSQL.pptx
NOSQL PRESENTATION ON INTRRODUCTION Intro.pptx
NOSQL in big data is the not only structure langua.pdf
Presentation on NOSQL and mongodb .pptx
UNIT I Introduction to NoSQL.pptx
Introduction to nosql
Introduction to asdfghjkln b vfgh n v
Introduction to Data Science NoSQL.pptx
NoSQL - 05March2014 Seminar
nosql.pptx
NOsql Presentation.pdf
the rising no sql technology
NoSQL in Big Data Analytics Tools .pptx
Unit II -BIG DATA ANALYTICS.docx
Presentation on NoSQL Database related RDBMS
No sq lv2
No sqlpresentation
NoSQL Basics and MongDB
NoSql and it's introduction features-Unit-1.pdf
Ad

More from nehabsairam (11)

PPT
Scope definition in Project ManagementSlides.ppt
PPTX
Copy of MongoDB .pptx
PPTX
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortals
PPTX
Chapter 5 design of keyvalue databses from nosql for mere mortals
PPTX
Chapter 8(designing of documnt databases)no sql for mere mortals
PPTX
Chapter 7(documnet databse termininology) no sql for mere mortals
PPTX
Chapter 6(introduction to documnet databse) no sql for mere mortals
PPTX
Appache Cassandra
PPTX
Software security testing
PPTX
E governance and digital india initiative
PPTX
localization in wsn
Scope definition in Project ManagementSlides.ppt
Copy of MongoDB .pptx
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortals
Chapter 5 design of keyvalue databses from nosql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortals
Chapter 7(documnet databse termininology) no sql for mere mortals
Chapter 6(introduction to documnet databse) no sql for mere mortals
Appache Cassandra
Software security testing
E governance and digital india initiative
localization in wsn

Recently uploaded (20)

DOCX
573137875-Attendance-Management-System-original
PPTX
Welding lecture in detail for understanding
PPTX
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
PPTX
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Digital Logic Computer Design lecture notes
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
composite construction of structures.pdf
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
additive manufacturing of ss316l using mig welding
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
ETO & MEO Certificate of Competency Questions and Answers
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPT
Project quality management in manufacturing
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
573137875-Attendance-Management-System-original
Welding lecture in detail for understanding
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
Fluid Mechanics, Module 3: Basics of Fluid Mechanics
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
bas. eng. economics group 4 presentation 1.pptx
Internet of Things (IOT) - A guide to understanding
Digital Logic Computer Design lecture notes
UNIT-1 - COAL BASED THERMAL POWER PLANTS
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Model Code of Practice - Construction Work - 21102022 .pdf
composite construction of structures.pdf
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
additive manufacturing of ss316l using mig welding
CH1 Production IntroductoryConcepts.pptx
ETO & MEO Certificate of Competency Questions and Answers
Arduino robotics embedded978-1-4302-3184-4.pdf
Project quality management in manufacturing
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf

introduction to NOSQL Database

  • 2. Content • History of database technology • Motivation for Nosql databases • Benefits of Relational databases • Limitations of RDBMS • What is Nosql • CAP Theorm • Types of Nosql • Research Challanges • Conclusion • References
  • 3. Summary of early database systems Database name Advantage Limitations Flat file systems • Keep data about a single entity together in a single record. • Can leads to duplicated data and inefficient retrieval. • Difficult to implement security controls to protect confidential data Hierarchical data management systems • Follows parent-child relationships • Stores records in the form of records. searching for a customer in a loan database might require scanning all customer records. Network data management • The ability to represent parent- child and many-to-many relations is an advantage. • Duplicate data, • Difficulty implementing security, Inefficient searching • Difficulty maintaining program • code to access databases Relational Database Management Systems • Store in the form of table. • Normalization • ACID property • SQL • Storage management programs • Memory management programs • Data dictionary • Query language
  • 4. Motivations for No SQL Databases • Big data supports storing and querying huge amounts of semi-structured and unstructured data. • e.g Facebook and google stores and process exabyte and zettabyte of data. • So we need databases which can provide: Scalability(Sharding)  Cost  Flexibility  Availability
  • 6. Benefits of Relational databases • Based on ACID properties • Strong consistency, concurrency, recovery • Normalization • Standard Query language (SQL) • Vertical scaling (up scaling)
  • 7. Limitations of RDBMS  Relational databases were not built for distributed applications. Because: • Joins are expensive • Hard to scale horizontally • Expensive (product cost, hardware)  The rise of big data (volume,Variety) https://www.slideshare.net/ramakantsoni/p resentation-on-no-sql
  • 8. What is NoSQL • It stands for 'NOT ONLY SQL' • #NoSQL was a twitter hashtag for a conference in 2009 used by ERIC EVANS. • There is no strict defination for NoSQL databases. • It is a nonrelational database. • Mainly designed to use for Big Data and Real time web applications.
  • 9. Advantages of Nosql over RDBMS • Can handle Semi-structured and unstructured data. • Data Models- No Predefined Schema. • Scaling- Scaling out/ Horizontal Scaling. • Avoids overhead of ACID transactions. • Avoids complexity of SQL query. Source:https://deavid.wordpress.com/2018 /08/29/nosql-databases
  • 10. CAP Theorem • Consistency: Clients should read the same data. • Availability: Data to be available all time. • Partial Tolerance: Data to be partitioned across network segments due to network failures. Source:https://www.researchgate.net/figure/CAP- theorem
  • 11. NoSQL Types It can be classified into four types: Key Value pair based Column based Document based Graph based Source:https://deavid.wordpress.com/2018/08/29/nosql-databases
  • 12. Key Value Pair Based • Data model: (key, value) pairs. • Designed for processing dictionary. • Dictionaries contain a collection of records having fields containing data. • Records are stored and retrieved using a key that uniquely identifies the record,and is used to quickly find the data with in the database. • Example: Oracle NoSQL Database, Riak etc. • We use it for: storing session information, user profiles, preferences , shopping cart data. Key Value Pair Based[1].
  • 13. Column based • It store data as Column families containing rows that have many columns associated with a row key.Each row can have different columns. • Column families are groups of related data that is accessed together. • Example:Cassandra, HBase, Hypertable, and Amazon DynamoDB. • We use it for content management systems ,blogging platforms, log aggregation. Column based [1]
  • 14. Document Based • The database store send retrieves documents. It stores documents in the value part of the key-value store. • Self describing, hierarchical tree data structures consisting of maps, collections, and scalar values. • Example: Lotus Notes ,Mongo DB, Couch DB, Orient DB, Raven DB. • We use it for content management systems, blogging platforms, webanalytics,real-timeanalytics e- commerce applications. Document Based [1]
  • 15. Graph Based • Store entities and relationships between these entities as nodes and edges of a graph respectively. Entities have properties. • Traversing the relationships is very fast as relationship between nodes is not calculated at query time but is actually persisted as a relationship. • Example: Neo4J, InfiniteGraph, OrientDB, FlockDB. • It is well suited for connected data such as social networks ,spatial data ,routing information for goods and supply. Graph Based[1]
  • 16. Research Challenges • Transaction Processing : Nosql do not strictly follow ACID properties. • Query Processing: There is no user friendly unified query language for Nosql. • Security: Since follow unstructured data approach along with geographic distribution. Hence its very difficult to apply security.
  • 17. Conclusion • RDBMS is a great tool for solving ACID problems • When data validity is super important • When you need to support dynamic queries • NoSQL is a great tool for solving data availability problems • When it’s more important to have fast data than right data • When you need to scale based on changing requirements
  • 18. References 1. Ali Davoudian and Liu Chen, Mengchi Liu:A Survey on NoSQL Stores,ACM Comput. Surv. 51, 2, Article,40 (April 2018),43 pages. 2. Dan Sullivan:Nosql for mere Mortals,1st Edition,United States of America:Pearson Education,2015. 3. Xiangdong Huang, Jianmin Wang, Yu Zhong, Shaoxu Song, and Philip S. Yu. 2015:Optimizing data partition for scaling out NoSQL cluster. Concurrency and Computation: Practice and Experience 27, 18, 5793–5809. 4. Katarina Grolinger, Wilson A HigashinoEmail author, Abhinav Tiwari and Miriam AM Capretz:Data management in cloud environments: NoSQL and NewSQL data stores,l. Journal of Cloud Computing: Advances, Systems and Applications,Springer. 2013