SlideShare a Scribd company logo
1 of 19
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

What's hot

Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sqlRam kumar
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBRavi Teja
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databasesJames Serra
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databasesAshwani Kumar
 
Introduction to Sharding
Introduction to ShardingIntroduction to Sharding
Introduction to ShardingMongoDB
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-PresentationShubham Tomar
 
Object Storage Overview
Object Storage OverviewObject Storage Overview
Object Storage OverviewCloudian
 
Data Modeling Basics
Data Modeling BasicsData Modeling Basics
Data Modeling Basicsrenuindia
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Databasepuja_dhar
 
Schemaless Databases
Schemaless DatabasesSchemaless Databases
Schemaless DatabasesDan Gunter
 
A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.Navdeep Charan
 
9. Document Oriented Databases
9. Document Oriented Databases9. Document Oriented Databases
9. Document Oriented DatabasesFabio Fumarola
 

What's hot (20)

Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 
Selecting best NoSQL
Selecting best NoSQL Selecting best NoSQL
Selecting best NoSQL
 
NoSql
NoSqlNoSql
NoSql
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
 
Introduction to Sharding
Introduction to ShardingIntroduction to Sharding
Introduction to Sharding
 
Data models
Data modelsData models
Data models
 
Key-Value NoSQL Database
Key-Value NoSQL DatabaseKey-Value NoSQL Database
Key-Value NoSQL Database
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
Object Storage Overview
Object Storage OverviewObject Storage Overview
Object Storage Overview
 
Data Modeling Basics
Data Modeling BasicsData Modeling Basics
Data Modeling Basics
 
Introduction to Oracle Database
Introduction to Oracle DatabaseIntroduction to Oracle Database
Introduction to Oracle Database
 
Schemaless Databases
Schemaless DatabasesSchemaless Databases
Schemaless Databases
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.
 
Data models in NoSQL
Data models in NoSQLData models in NoSQL
Data models in NoSQL
 
NoSql
NoSqlNoSql
NoSql
 
9. Document Oriented Databases
9. Document Oriented Databases9. Document Oriented Databases
9. Document Oriented Databases
 

Similar to introduction to NOSQL Database

Oracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureOracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureArthur Gimpel
 
No SQL- The Future Of Data Storage
No SQL- The Future Of Data StorageNo SQL- The Future Of Data Storage
No SQL- The Future Of Data StorageBethmi Gunasekara
 
NoSQL Architecture Overview
NoSQL Architecture OverviewNoSQL Architecture Overview
NoSQL Architecture OverviewChristopher Foot
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL DatabasesAbiral Gautam
 
Introduction to no sql database
Introduction to no sql databaseIntroduction to no sql database
Introduction to no sql databaseHeman Hosainpana
 
Big Data technology Landscape
Big Data technology LandscapeBig Data technology Landscape
Big Data technology LandscapeShivanandaVSeeri
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabasesAdi Challa
 
Comparative study of modern databases
Comparative study of modern databasesComparative study of modern databases
Comparative study of modern databasesAnirban Konar
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxRahul Borate
 
SQL vs NoSQL Data Modeling.pptx
SQL vs NoSQL Data Modeling.pptxSQL vs NoSQL Data Modeling.pptx
SQL vs NoSQL Data Modeling.pptxGarimaHasija1
 

Similar to introduction to NOSQL Database (20)

Oracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureOracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data Architecture
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
 
No SQL- The Future Of Data Storage
No SQL- The Future Of Data StorageNo SQL- The Future Of Data Storage
No SQL- The Future Of Data Storage
 
NOsql Presentation.pdf
NOsql Presentation.pdfNOsql Presentation.pdf
NOsql Presentation.pdf
 
NoSQL Architecture Overview
NoSQL Architecture OverviewNoSQL Architecture Overview
NoSQL Architecture Overview
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
 
Database Technologies
Database TechnologiesDatabase Technologies
Database Technologies
 
NoSQL.pptx
NoSQL.pptxNoSQL.pptx
NoSQL.pptx
 
Introduction to no sql database
Introduction to no sql databaseIntroduction to no sql database
Introduction to no sql database
 
dbms introduction.pptx
dbms introduction.pptxdbms introduction.pptx
dbms introduction.pptx
 
Big Data technology Landscape
Big Data technology LandscapeBig Data technology Landscape
Big Data technology Landscape
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
 
Mis assignment (database)
Mis assignment (database)Mis assignment (database)
Mis assignment (database)
 
Comparative study of modern databases
Comparative study of modern databasesComparative study of modern databases
Comparative study of modern databases
 
No SQL
No SQLNo SQL
No SQL
 
NoSql Brownbag
NoSql BrownbagNoSql Brownbag
NoSql Brownbag
 
Sql vs nosql
Sql vs nosqlSql vs nosql
Sql vs nosql
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
SQL vs NoSQL Data Modeling.pptx
SQL vs NoSQL Data Modeling.pptxSQL vs NoSQL Data Modeling.pptx
SQL vs NoSQL Data Modeling.pptx
 
the rising no sql technology
the rising no sql technologythe rising no sql technology
the rising no sql technology
 

More from nehabsairam

Copy of MongoDB .pptx
Copy of MongoDB .pptxCopy of MongoDB .pptx
Copy of MongoDB .pptxnehabsairam
 
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortals
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortalsChapter 4 terminolgy of keyvalue databses from nosql for mere mortals
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortalsnehabsairam
 
Chapter 5 design of keyvalue databses from nosql for mere mortals
Chapter 5 design of keyvalue databses from nosql for mere mortalsChapter 5 design of keyvalue databses from nosql for mere mortals
Chapter 5 design of keyvalue databses from nosql for mere mortalsnehabsairam
 
Chapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortalsChapter 8(designing of documnt databases)no sql for mere mortals
Chapter 8(designing of documnt databases)no sql for mere mortalsnehabsairam
 
Chapter 7(documnet databse termininology) no sql for mere mortals
Chapter 7(documnet databse termininology) no sql for mere mortalsChapter 7(documnet databse termininology) no sql for mere mortals
Chapter 7(documnet databse termininology) no sql for mere mortalsnehabsairam
 
Chapter 6(introduction to documnet databse) no sql for mere mortals
Chapter 6(introduction to documnet databse) no sql for mere mortalsChapter 6(introduction to documnet databse) no sql for mere mortals
Chapter 6(introduction to documnet databse) no sql for mere mortalsnehabsairam
 
Appache Cassandra
Appache Cassandra  Appache Cassandra
Appache Cassandra nehabsairam
 
Software security testing
Software security testingSoftware security testing
Software security testingnehabsairam
 
E governance and digital india initiative
E governance and digital india initiativeE governance and digital india initiative
E governance and digital india initiativenehabsairam
 
localization in wsn
localization in wsnlocalization in wsn
localization in wsnnehabsairam
 

More from nehabsairam (10)

Copy of MongoDB .pptx
Copy of MongoDB .pptxCopy of MongoDB .pptx
Copy of MongoDB .pptx
 
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortals
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortalsChapter 4 terminolgy of keyvalue databses from nosql for mere mortals
Chapter 4 terminolgy of keyvalue databses from nosql for mere mortals
 
Chapter 5 design of keyvalue databses from nosql for mere mortals
Chapter 5 design of keyvalue databses from nosql for mere mortalsChapter 5 design 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 8(designing of documnt databases)no sql for mere mortalsChapter 8(designing of documnt databases)no sql 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 7(documnet databse termininology) no sql for mere mortalsChapter 7(documnet databse termininology) 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
Chapter 6(introduction to documnet databse) no sql for mere mortalsChapter 6(introduction to documnet databse) no sql for mere mortals
Chapter 6(introduction to documnet databse) no sql for mere mortals
 
Appache Cassandra
Appache Cassandra  Appache Cassandra
Appache Cassandra
 
Software security testing
Software security testingSoftware security testing
Software security testing
 
E governance and digital india initiative
E governance and digital india initiativeE governance and digital india initiative
E governance and digital india initiative
 
localization in wsn
localization in wsnlocalization in wsn
localization in wsn
 

Recently uploaded

UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoordharasingh5698
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfrs7054576148
 

Recently uploaded (20)

(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.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