SlideShare a Scribd company logo
NoSQL
The Future Of Data Storage
B. J. Gunasekara
Evolution of Data storage Techniques
2
• Flat Files
• Hierarchical Databases
• Object Oriented Databases
• Relational Databases
have been in use to store &
retrieve data for ages
3
Problems associated with RDBMS
• Unable to address large volumes of
data.
• Unable to handle agile sprints, quick
iteration, and frequent code push
• Expensive, monolithic architecture
4
Scalability Issues
5
• The machines in these
large clusters are
individually unreliable
• But the overall cluster
keeps working even as
machines die - so the
overall cluster is reliable.
• The “cloud” is exactly this
kind of cluster, which
means relational
databases don’t play well
with the cloud.
6
The beginning of a new era
7
• Web services provide an alternative to shared
databases for application integration
• They make it easier for different applications to
choose their own data storage, avoiding relational
databases.
• Google → Bigtable
• Amazon → Dynamo
8
9
‘NOT only SQL’
It doesn’t mean ‘NO to SQL’!
10
What is NoSQL?
• NoSQL database is the first alternative to relational
databases, with scalability, availability, and fault
tolerance being key deciding factors.
• It goes well beyond the more widely understood
relational databases in satisfying the needs of
today’s business applications.
– Oracle
– SQL Server
11
Why NoSQL?
• Big Users
• Big Data
• The Internet of Things
• Cloud computing
12
How to overcome these issues with
NoSQL?
13
Big Users
• NoSQL offers the
dynamic scalability and
level of scale they need
while maintaining the
performance users
demand.
14
Big Data
• NoSQL provides a much
more flexible, schema-
less data model that
better maps to an
application’s data
organization
• It simplifies the
interaction between the
application and the
database, resulting in less
code to write, debug, and
maintain.
15
The Internet of Things
• NoSQL can
– scale concurrent data
access to millions of
connected devices and
systems
– store billions of data
points
– meet the performance
requirements of mission-
critical infrastructure and
operations
16
Cloud Computing
• NoSQL databases are
built from the ground
up to be distributed,
scale-out technologies
• It gives a better fit with
the highly distributed
nature of the three-tier
internet architecture.
17
Reasons to choose NoSQL databases for
future development work
• To improve programmer productivity
by using a database which matches an
application's needs better.
• To improve data access performance
via some combination of
– handling larger data volumes,
– reducing latency,
– improving throughput.
18
Prominent NoSQL database users
• Google
• Facebook
• Mozilla
• Adobe
• Foursquare
• LinkedIn
• Digg
• McGraw-Hill Education
• Vermont Public Radio
19
Facebook
Twitter
Twitter
Rackspace
Reddit
Digg.com
Mozilla
Ask.com
Comcast
LinkedIn
Foursquare
Etsy
bit.ly
Intuit
Stumbleupon
Twitter
Infolinks
Adobe
Meetup.com
20
Features
21
Common Characteristics
• Not a relational data model
– No SQL queries
• Tends to be designed to run on clusters of
multiple nodes
• Tends to be Open Source
• No fixed schema, allowing you to store any
data in any record
• Designed for data sets of web scale
• Follows CAP theorem
22
Scale-up Database Tier with RDBMS
• To support more concurrent
users and store more data,
relational databases require
a bigger and more
expensive server with more
CPUs, memory, and disk
storage.
• At some point, the capacity
of even the biggest server
can be outstripped and the
relational database cannot
scale further!
23
Scale-out Database Tier with NoSQL
• NoSQL databases provide
an easier, linear, and cost
effective approach to
database scaling.
• As the number of
concurrent users grows,
simply add additional low-
cost, commodity servers to
your cluster.
• There’s no need to modify
the application, since the
application always sees a
single (distributed)
database.
24
Performing Queries???
• RESTful interfaces (HTTP as an access API)
• Query languages other than SQL
– GQL - SQL-like QL for Google BigTable
– SPARQL - Query language for the Semantic Web
– Gremlin - the graph traversal language
– Sones Graph Query Language
• Query APIs
– The Google BigTable DataStore API
– The Neo4j Traversal API
25
26
NoSQL Databases - Categories
27
• Because of the variety
of approaches and
overlaps it is difficult to
maintain an overview of
non-relational
databases.
• A basic classification is
based on data model.
28
• Key Value
• Document
• Columnar
• Graph DB
29
Key-Value databases
• Simplest NoSQL data store
• Handles large amounts of data.
• Based on Amazon’s Dynamo paper.
• Key value stores allow developer to
store schema-less data, as hash table
where each key is unique and the
value can be string, JSON, BLOB
(basic large object) etc.
• A key may be strings, hashes, lists,
sets, sorted sets and values are
stored against these keys.
• Key-Value stores can be used as
collections, dictionaries, associative
arrays etc.
30
• Examples for Key-value store Databases:
– Riak
– Redis
– Memcached
– Berkeley DB
– HamsterDB (especially suited for embedded use)
– Amazon DynamoDB (not open-source)
– Project Voldemort
– Couchbase.
31
Document databases
• A collection of documents
• Data in this model is stored inside
documents.
• A document is a key value collection
where the key allows access to its
value.
• Documents are not typically forced to
have a schema and therefore are
flexible and easy to change.
• Documents are stored into
collections in order to group different
kinds of data.
• Documents can contain many
different key-value pairs, or key-array
pairs, or even nested documents.
32
• Examples for Document Oriented Databases:
– MongoDB
– CouchDB
– Terrastore
– OrientDB
– RavenDB
33
Column family stores
• Column-oriented databases primarily
work on columns and every column is
treated individually.
• Stores data in column specific files
and query processors work on
columns too.
• All data within each column data file
have the same type which makes it
ideal for compression.
• Column stores can improve the
performance of queries as it can
access specific column data.
34
• Examples for Column Oriented Databases:
– Cassandra
– Hbase
– Hypertable
– Amazon DynamoDB
35
Graph databases
• A graph database stores data in a graph.
• It is capable of elegantly representing
any kind of data in a highly accessible
way.
• Each node represents an entity (such as
a student or business) and each edge
represents a connection or relationship
between two nodes.
• Every node and edge is defined by a
unique identifier.
• Each node knows its adjacent nodes.
• As the number of nodes increases, the
cost of a local step (or hop) remains the
same.
• Index for lookups.
36
• Examples for Graph Databases:
– Neo4J
– Infinite Graph
– OrientDB
– FlockDB
37
Performance
Data Model Performance Scalability Flexibility Complexity Functionality
Key-Value
High High High None
Variable
(none)
Column
Oriented
High High Moderate Low Minimal
Document
Oriented
High
Variable
(High)
High Low
Variable
(low)
Graph
Variable Variable High High
Graph
Theory
Relational
Variable Variable Low Moderate
Relational
Algebra
38
How to select your NoSQL database?
39
Key-value databases
• For storing session
information, user profiles,
preferences, shopping cart
data.
• Avoid when you need to
query data or to operate
on multiple keys at the
same time.
Document databases
• For content management
systems, blogging
platforms, web analytics,
real-time analytics, and e-
commerce-applications.
• Avoid systems that need
complex transactions
spanning multiple
operations or queries
against varying aggregate
structures.
Column family
databases
• For content management
systems, blogging
platforms, maintaining
counters, expiring usage,
heavy write volume such
as log aggregation.
• Avoid systems that are in
early development,
changing query patterns.
Graph databases
• For connected data
networks like social
networks, spatial data,
routing information for
goods and money,
recommendation engines
Trends in NoSQL
40
There are now more than 50 vendors in
NoSQL DB software and services space!!!
41
Even the most popular RDBMS vendors are
pragmatic about the future of databases!!!
42
• Berkeley DB (open-source)Oracle
• Hadoop
• MongoDBIBM
• NoSQL solutions on its
Windows Azure cloud-based
storage solution
Microsoft
Job Market
• There is a huge
opportunity for those
with an expertise in
NoSQL databases
43
The percentage of job market for MySQL has been
more or less flat, while for Mongo
the job market has been increasing
exponentially...
44
45
This is sure to amplify, as the NoSQL
databases become more and more mature.
46
Summary
• Selecting the correct database for your goal is very
important.
• NoSQL offers better solutions in handling BIG DATA
• Most of them are also open-source.
• Often, organizations will begin with a small-scale trial
of a NoSQL database in their organization, which
makes it possible to develop an understanding of the
technology.
• When comparing with other NoSQL databases,
databases like Cassandra, Hbase & MongoDB are more
popular among enterprise developers because they
require little overhead and can be up and running
quickly for prototyping new kinds of apps or data
analysis.
47
References
• [Online]. Available: www.intertech.com/resource/usergroup/NoSQL.ppt. [Accessed: 19-Mar-
2015].
• P. Sripati, ‘What is NoSQL and When to Use It | WizIQ Learn Blog’, Jun. 2014. [Online]. Available:
http://www.wiziq.com/blog/nosql-use/. [Accessed: 22-Mar-2015].
• ‘NoSQL introduction’, 28-Jan-2015. [Online]. Available:
http://www.w3resource.com/mongodb/nosql.php. [Accessed: 19-Mar-2015].
• ‘NoSQL’, Wikipedia. [Online]. Available: http://en.wikipedia.org/wiki/NoSQL/. [Accessed: 14-
Mar-2015].
• ‘Neo4j, the World’s Leading Graph Database’. [Online]. Available: http://neo4j.com/. [Accessed:
22-Mar-2015].
• ‘NoSQL Databases Explained’. [Online]. Available: http://www.mongodb.com/nosql-explained.
[Accessed: 22-Mar-2015].
• ‘NoSQL Databases: An Overview’, Oct. 2014. [Online]. Available:
www.thoughtworks.com/insights/blog/nosql-databases-overview. [Accessed: 22-Mar-2015].
• [Online]. Available: www.intertech.com/resource/usergroup/NoSQL.ppt. [Accessed: 19-Mar-
2015].
• ‘NoSQL Databases Explained’. [Online]. Available: http://planetcassandra.org/what-is-nosql/.
[Accessed: 22-Mar-2015].
• ‘NoSQL Guide’. [Online]. Available: http://martinfowler.com/nosql.html. [Accessed: 22-Mar-
2015].
• [Online]. Available: http://nosql.mypopescu.com/kb/nosql. [Accessed: 22-Mar-2015].
48
Questions?
49
Thank You!!!
50

More Related Content

What's hot

NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
Maynooth University
 
NoSql
NoSqlNoSql
Mongo db
Mongo dbMongo db
Mongo db
Akshay Mathur
 
Intro to HBase
Intro to HBaseIntro to HBase
Intro to HBase
alexbaranau
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
Filip Ilievski
 
Apache HBase™
Apache HBase™Apache HBase™
Apache HBase™
Prashant Gupta
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
ateeq ateeq
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with Hadoop
Philippe Julio
 
Nosql data models
Nosql data modelsNosql data models
Nosql data models
Viet-Trung TRAN
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
BADR
 
Introduction to mongodb
Introduction to mongodbIntroduction to mongodb
Introduction to mongodb
neela madheswari
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
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
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
Lee Theobald
 
Basics of MongoDB
Basics of MongoDB Basics of MongoDB
Basics of MongoDB
Habilelabs
 
Cassandra Database
Cassandra DatabaseCassandra Database
Cassandra Database
YounesCharfaoui
 

What's hot (20)

Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
 
NoSql
NoSqlNoSql
NoSql
 
Mongo db
Mongo dbMongo db
Mongo db
 
Intro to HBase
Intro to HBaseIntro to HBase
Intro to HBase
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Apache HBase™
Apache HBase™Apache HBase™
Apache HBase™
 
HBase
HBaseHBase
HBase
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
 
Big Data Analytics with Hadoop
Big Data Analytics with HadoopBig Data Analytics with Hadoop
Big Data Analytics with Hadoop
 
Nosql data models
Nosql data modelsNosql data models
Nosql data models
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
 
MongoDB
MongoDBMongoDB
MongoDB
 
Introduction to mongodb
Introduction to mongodbIntroduction to mongodb
Introduction to mongodb
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
 
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...
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
 
Basics of MongoDB
Basics of MongoDB Basics of MongoDB
Basics of MongoDB
 
Cassandra Database
Cassandra DatabaseCassandra Database
Cassandra Database
 

Similar to No SQL- The Future Of Data Storage

UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
Rahul Borate
 
Big Data technology Landscape
Big Data technology LandscapeBig Data technology Landscape
Big Data technology Landscape
ShivanandaVSeeri
 
introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Database
nehabsairam
 
NOsql Presentation.pdf
NOsql Presentation.pdfNOsql Presentation.pdf
NOsql Presentation.pdf
AkshayDwivedi31
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
Rahul Borate
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...Qian Lin
 
Introduction to no sql database
Introduction to no sql databaseIntroduction to no sql database
Introduction to no sql database
Heman Hosainpana
 
NoSQL.pptx
NoSQL.pptxNoSQL.pptx
NoSQL.pptx
RithikRaj25
 
Solr cloud the 'search first' nosql database extended deep dive
Solr cloud the 'search first' nosql database   extended deep diveSolr cloud the 'search first' nosql database   extended deep dive
Solr cloud the 'search first' nosql database extended deep dive
lucenerevolution
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
SIVAKUMARM603675
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabasesAdi Challa
 
the rising no sql technology
the rising no sql technologythe rising no sql technology
the rising no sql technology
INFOGAIN PUBLICATION
 
NoSQL and MongoDB
NoSQL and MongoDBNoSQL and MongoDB
NoSQL and MongoDB
Rajesh Menon
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7
abdulrahmanhelan
 
Evolution of Distributed Database Technologies in the Digital era
Evolution of Distributed Database Technologies in the Digital eraEvolution of Distributed Database Technologies in the Digital era
Evolution of Distributed Database Technologies in the Digital era
Vishal Puri
 
Modern database
Modern databaseModern database
Modern database
Rashid Ansari
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
Abiral Gautam
 
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 How to use Big Data and Data Lake concept in business using Hadoop and Spark... How to use Big Data and Data Lake concept in business using Hadoop and Spark...
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
Institute of Contemporary Sciences
 

Similar to No SQL- The Future Of Data Storage (20)

NoSQL-Overview
NoSQL-OverviewNoSQL-Overview
NoSQL-Overview
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
Big Data technology Landscape
Big Data technology LandscapeBig Data technology Landscape
Big Data technology Landscape
 
introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Database
 
NOsql Presentation.pdf
NOsql Presentation.pdfNOsql Presentation.pdf
NOsql Presentation.pdf
 
NoSql Brownbag
NoSql BrownbagNoSql Brownbag
NoSql Brownbag
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
 
Introduction to no sql database
Introduction to no sql databaseIntroduction to no sql database
Introduction to no sql database
 
NoSQL.pptx
NoSQL.pptxNoSQL.pptx
NoSQL.pptx
 
Solr cloud the 'search first' nosql database extended deep dive
Solr cloud the 'search first' nosql database   extended deep diveSolr cloud the 'search first' nosql database   extended deep dive
Solr cloud the 'search first' nosql database extended deep dive
 
UNIT-2.pptx
UNIT-2.pptxUNIT-2.pptx
UNIT-2.pptx
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
 
the rising no sql technology
the rising no sql technologythe rising no sql technology
the rising no sql technology
 
NoSQL and MongoDB
NoSQL and MongoDBNoSQL and MongoDB
NoSQL and MongoDB
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7
 
Evolution of Distributed Database Technologies in the Digital era
Evolution of Distributed Database Technologies in the Digital eraEvolution of Distributed Database Technologies in the Digital era
Evolution of Distributed Database Technologies in the Digital era
 
Modern database
Modern databaseModern database
Modern database
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
 
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 How to use Big Data and Data Lake concept in business using Hadoop and Spark... How to use Big Data and Data Lake concept in business using Hadoop and Spark...
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 

More from Bethmi Gunasekara

Electron JS | Build cross-platform desktop applications with web technologies
Electron JS | Build cross-platform desktop applications with web technologiesElectron JS | Build cross-platform desktop applications with web technologies
Electron JS | Build cross-platform desktop applications with web technologies
Bethmi Gunasekara
 
General Framework for Sentiment Analysis of Twitter Data, with Special Attent...
General Framework for Sentiment Analysis of Twitter Data, with Special Attent...General Framework for Sentiment Analysis of Twitter Data, with Special Attent...
General Framework for Sentiment Analysis of Twitter Data, with Special Attent...
Bethmi Gunasekara
 
Introduction to React JS
Introduction to React JSIntroduction to React JS
Introduction to React JS
Bethmi Gunasekara
 
TestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit TestingTestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit Testing
Bethmi Gunasekara
 
Html 5 - What's new?
Html 5 - What's new?Html 5 - What's new?
Html 5 - What's new?
Bethmi Gunasekara
 
Web Portal for Construction Industry
Web Portal for Construction IndustryWeb Portal for Construction Industry
Web Portal for Construction Industry
Bethmi Gunasekara
 

More from Bethmi Gunasekara (6)

Electron JS | Build cross-platform desktop applications with web technologies
Electron JS | Build cross-platform desktop applications with web technologiesElectron JS | Build cross-platform desktop applications with web technologies
Electron JS | Build cross-platform desktop applications with web technologies
 
General Framework for Sentiment Analysis of Twitter Data, with Special Attent...
General Framework for Sentiment Analysis of Twitter Data, with Special Attent...General Framework for Sentiment Analysis of Twitter Data, with Special Attent...
General Framework for Sentiment Analysis of Twitter Data, with Special Attent...
 
Introduction to React JS
Introduction to React JSIntroduction to React JS
Introduction to React JS
 
TestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit TestingTestNG - The Next Generation of Unit Testing
TestNG - The Next Generation of Unit Testing
 
Html 5 - What's new?
Html 5 - What's new?Html 5 - What's new?
Html 5 - What's new?
 
Web Portal for Construction Industry
Web Portal for Construction IndustryWeb Portal for Construction Industry
Web Portal for Construction Industry
 

Recently uploaded

FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
v3tuleee
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
pchutichetpong
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
u86oixdj
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 

Recently uploaded (20)

FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理一比一原版(UofS毕业证书)萨省大学毕业证如何办理
一比一原版(UofS毕业证书)萨省大学毕业证如何办理
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
原版制作(Deakin毕业证书)迪肯大学毕业证学位证一模一样
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 

No SQL- The Future Of Data Storage

  • 1. NoSQL The Future Of Data Storage B. J. Gunasekara
  • 2. Evolution of Data storage Techniques 2
  • 3. • Flat Files • Hierarchical Databases • Object Oriented Databases • Relational Databases have been in use to store & retrieve data for ages 3
  • 4. Problems associated with RDBMS • Unable to address large volumes of data. • Unable to handle agile sprints, quick iteration, and frequent code push • Expensive, monolithic architecture 4
  • 6. • The machines in these large clusters are individually unreliable • But the overall cluster keeps working even as machines die - so the overall cluster is reliable. • The “cloud” is exactly this kind of cluster, which means relational databases don’t play well with the cloud. 6
  • 7. The beginning of a new era 7
  • 8. • Web services provide an alternative to shared databases for application integration • They make it easier for different applications to choose their own data storage, avoiding relational databases. • Google → Bigtable • Amazon → Dynamo 8
  • 9. 9
  • 10. ‘NOT only SQL’ It doesn’t mean ‘NO to SQL’! 10
  • 11. What is NoSQL? • NoSQL database is the first alternative to relational databases, with scalability, availability, and fault tolerance being key deciding factors. • It goes well beyond the more widely understood relational databases in satisfying the needs of today’s business applications. – Oracle – SQL Server 11
  • 12. Why NoSQL? • Big Users • Big Data • The Internet of Things • Cloud computing 12
  • 13. How to overcome these issues with NoSQL? 13
  • 14. Big Users • NoSQL offers the dynamic scalability and level of scale they need while maintaining the performance users demand. 14
  • 15. Big Data • NoSQL provides a much more flexible, schema- less data model that better maps to an application’s data organization • It simplifies the interaction between the application and the database, resulting in less code to write, debug, and maintain. 15
  • 16. The Internet of Things • NoSQL can – scale concurrent data access to millions of connected devices and systems – store billions of data points – meet the performance requirements of mission- critical infrastructure and operations 16
  • 17. Cloud Computing • NoSQL databases are built from the ground up to be distributed, scale-out technologies • It gives a better fit with the highly distributed nature of the three-tier internet architecture. 17
  • 18. Reasons to choose NoSQL databases for future development work • To improve programmer productivity by using a database which matches an application's needs better. • To improve data access performance via some combination of – handling larger data volumes, – reducing latency, – improving throughput. 18
  • 19. Prominent NoSQL database users • Google • Facebook • Mozilla • Adobe • Foursquare • LinkedIn • Digg • McGraw-Hill Education • Vermont Public Radio 19
  • 22. Common Characteristics • Not a relational data model – No SQL queries • Tends to be designed to run on clusters of multiple nodes • Tends to be Open Source • No fixed schema, allowing you to store any data in any record • Designed for data sets of web scale • Follows CAP theorem 22
  • 23. Scale-up Database Tier with RDBMS • To support more concurrent users and store more data, relational databases require a bigger and more expensive server with more CPUs, memory, and disk storage. • At some point, the capacity of even the biggest server can be outstripped and the relational database cannot scale further! 23
  • 24. Scale-out Database Tier with NoSQL • NoSQL databases provide an easier, linear, and cost effective approach to database scaling. • As the number of concurrent users grows, simply add additional low- cost, commodity servers to your cluster. • There’s no need to modify the application, since the application always sees a single (distributed) database. 24
  • 25. Performing Queries??? • RESTful interfaces (HTTP as an access API) • Query languages other than SQL – GQL - SQL-like QL for Google BigTable – SPARQL - Query language for the Semantic Web – Gremlin - the graph traversal language – Sones Graph Query Language • Query APIs – The Google BigTable DataStore API – The Neo4j Traversal API 25
  • 26. 26
  • 27. NoSQL Databases - Categories 27
  • 28. • Because of the variety of approaches and overlaps it is difficult to maintain an overview of non-relational databases. • A basic classification is based on data model. 28
  • 29. • Key Value • Document • Columnar • Graph DB 29
  • 30. Key-Value databases • Simplest NoSQL data store • Handles large amounts of data. • Based on Amazon’s Dynamo paper. • Key value stores allow developer to store schema-less data, as hash table where each key is unique and the value can be string, JSON, BLOB (basic large object) etc. • A key may be strings, hashes, lists, sets, sorted sets and values are stored against these keys. • Key-Value stores can be used as collections, dictionaries, associative arrays etc. 30
  • 31. • Examples for Key-value store Databases: – Riak – Redis – Memcached – Berkeley DB – HamsterDB (especially suited for embedded use) – Amazon DynamoDB (not open-source) – Project Voldemort – Couchbase. 31
  • 32. Document databases • A collection of documents • Data in this model is stored inside documents. • A document is a key value collection where the key allows access to its value. • Documents are not typically forced to have a schema and therefore are flexible and easy to change. • Documents are stored into collections in order to group different kinds of data. • Documents can contain many different key-value pairs, or key-array pairs, or even nested documents. 32
  • 33. • Examples for Document Oriented Databases: – MongoDB – CouchDB – Terrastore – OrientDB – RavenDB 33
  • 34. Column family stores • Column-oriented databases primarily work on columns and every column is treated individually. • Stores data in column specific files and query processors work on columns too. • All data within each column data file have the same type which makes it ideal for compression. • Column stores can improve the performance of queries as it can access specific column data. 34
  • 35. • Examples for Column Oriented Databases: – Cassandra – Hbase – Hypertable – Amazon DynamoDB 35
  • 36. Graph databases • A graph database stores data in a graph. • It is capable of elegantly representing any kind of data in a highly accessible way. • Each node represents an entity (such as a student or business) and each edge represents a connection or relationship between two nodes. • Every node and edge is defined by a unique identifier. • Each node knows its adjacent nodes. • As the number of nodes increases, the cost of a local step (or hop) remains the same. • Index for lookups. 36
  • 37. • Examples for Graph Databases: – Neo4J – Infinite Graph – OrientDB – FlockDB 37
  • 38. Performance Data Model Performance Scalability Flexibility Complexity Functionality Key-Value High High High None Variable (none) Column Oriented High High Moderate Low Minimal Document Oriented High Variable (High) High Low Variable (low) Graph Variable Variable High High Graph Theory Relational Variable Variable Low Moderate Relational Algebra 38
  • 39. How to select your NoSQL database? 39 Key-value databases • For storing session information, user profiles, preferences, shopping cart data. • Avoid when you need to query data or to operate on multiple keys at the same time. Document databases • For content management systems, blogging platforms, web analytics, real-time analytics, and e- commerce-applications. • Avoid systems that need complex transactions spanning multiple operations or queries against varying aggregate structures. Column family databases • For content management systems, blogging platforms, maintaining counters, expiring usage, heavy write volume such as log aggregation. • Avoid systems that are in early development, changing query patterns. Graph databases • For connected data networks like social networks, spatial data, routing information for goods and money, recommendation engines
  • 41. There are now more than 50 vendors in NoSQL DB software and services space!!! 41
  • 42. Even the most popular RDBMS vendors are pragmatic about the future of databases!!! 42 • Berkeley DB (open-source)Oracle • Hadoop • MongoDBIBM • NoSQL solutions on its Windows Azure cloud-based storage solution Microsoft
  • 43. Job Market • There is a huge opportunity for those with an expertise in NoSQL databases 43
  • 44. The percentage of job market for MySQL has been more or less flat, while for Mongo the job market has been increasing exponentially... 44
  • 45. 45 This is sure to amplify, as the NoSQL databases become more and more mature.
  • 46. 46
  • 47. Summary • Selecting the correct database for your goal is very important. • NoSQL offers better solutions in handling BIG DATA • Most of them are also open-source. • Often, organizations will begin with a small-scale trial of a NoSQL database in their organization, which makes it possible to develop an understanding of the technology. • When comparing with other NoSQL databases, databases like Cassandra, Hbase & MongoDB are more popular among enterprise developers because they require little overhead and can be up and running quickly for prototyping new kinds of apps or data analysis. 47
  • 48. References • [Online]. Available: www.intertech.com/resource/usergroup/NoSQL.ppt. [Accessed: 19-Mar- 2015]. • P. Sripati, ‘What is NoSQL and When to Use It | WizIQ Learn Blog’, Jun. 2014. [Online]. Available: http://www.wiziq.com/blog/nosql-use/. [Accessed: 22-Mar-2015]. • ‘NoSQL introduction’, 28-Jan-2015. [Online]. Available: http://www.w3resource.com/mongodb/nosql.php. [Accessed: 19-Mar-2015]. • ‘NoSQL’, Wikipedia. [Online]. Available: http://en.wikipedia.org/wiki/NoSQL/. [Accessed: 14- Mar-2015]. • ‘Neo4j, the World’s Leading Graph Database’. [Online]. Available: http://neo4j.com/. [Accessed: 22-Mar-2015]. • ‘NoSQL Databases Explained’. [Online]. Available: http://www.mongodb.com/nosql-explained. [Accessed: 22-Mar-2015]. • ‘NoSQL Databases: An Overview’, Oct. 2014. [Online]. Available: www.thoughtworks.com/insights/blog/nosql-databases-overview. [Accessed: 22-Mar-2015]. • [Online]. Available: www.intertech.com/resource/usergroup/NoSQL.ppt. [Accessed: 19-Mar- 2015]. • ‘NoSQL Databases Explained’. [Online]. Available: http://planetcassandra.org/what-is-nosql/. [Accessed: 22-Mar-2015]. • ‘NoSQL Guide’. [Online]. Available: http://martinfowler.com/nosql.html. [Accessed: 22-Mar- 2015]. • [Online]. Available: http://nosql.mypopescu.com/kb/nosql. [Accessed: 22-Mar-2015]. 48