SlideShare una empresa de Scribd logo
1 de 50
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

Más contenido relacionado

La actualidad más candente

Introducing Riak
Introducing RiakIntroducing Riak
Introducing Riak
Kevin Smith
 

La actualidad más candente (20)

NOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQLNOSQL- Presentation on NoSQL
NOSQL- Presentation on NoSQL
 
What is NoSQL and CAP Theorem
What is NoSQL and CAP TheoremWhat is NoSQL and CAP Theorem
What is NoSQL and CAP Theorem
 
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
 
Google BigQuery
Google BigQueryGoogle BigQuery
Google BigQuery
 
Nosql seminar
Nosql seminarNosql seminar
Nosql seminar
 
A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.
 
Managed Feature Store for Machine Learning
Managed Feature Store for Machine LearningManaged Feature Store for Machine Learning
Managed Feature Store for Machine Learning
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7
 
RDBMS vs NoSQL
RDBMS vs NoSQLRDBMS vs NoSQL
RDBMS vs NoSQL
 
NoSQL
NoSQLNoSQL
NoSQL
 
Big Data Platforms: An Overview
Big Data Platforms: An OverviewBig Data Platforms: An Overview
Big Data Platforms: An Overview
 
Some Iceberg Basics for Beginners (CDP).pdf
Some Iceberg Basics for Beginners (CDP).pdfSome Iceberg Basics for Beginners (CDP).pdf
Some Iceberg Basics for Beginners (CDP).pdf
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
SQL vs NoSQL, an experiment with MongoDB
SQL vs NoSQL, an experiment with MongoDBSQL vs NoSQL, an experiment with MongoDB
SQL vs NoSQL, an experiment with MongoDB
 
Introducing Riak
Introducing RiakIntroducing Riak
Introducing Riak
 
Data Platform Architecture Principles and Evaluation Criteria
Data Platform Architecture Principles and Evaluation CriteriaData Platform Architecture Principles and Evaluation Criteria
Data Platform Architecture Principles and Evaluation Criteria
 
8. column oriented databases
8. column oriented databases8. column oriented databases
8. column oriented databases
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
 

Similar a 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
 
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
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
Adi Challa
 

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

NoSQL-Overview
NoSQL-OverviewNoSQL-Overview
NoSQL-Overview
 
Nosql data models
Nosql data modelsNosql data models
Nosql data models
 
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
 
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
 
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...
 
Oracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data ArchitectureOracle Week 2016 - Modern Data Architecture
Oracle Week 2016 - Modern Data Architecture
 

Más de Bethmi Gunasekara

Más de 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
 

Último

Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
amitlee9823
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
karishmasinghjnh
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Bommasandra Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Nandini Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Abortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get CytotecAbortion pills in Jeddah | +966572737505 | Get Cytotec
Abortion pills in Jeddah | +966572737505 | Get Cytotec
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

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