SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and UsesSuvradeep Rudra
 
Introduction to Cassandra
Introduction to CassandraIntroduction to Cassandra
Introduction to CassandraGokhan Atil
 
Big Data Architecture
Big Data ArchitectureBig Data Architecture
Big Data ArchitectureGuido Schmutz
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph DatabasesMax De Marzi
 
Achieving Lakehouse Models with Spark 3.0
Achieving Lakehouse Models with Spark 3.0Achieving Lakehouse Models with Spark 3.0
Achieving Lakehouse Models with Spark 3.0Databricks
 
Data Lakehouse, Data Mesh, and Data Fabric (r1)
Data Lakehouse, Data Mesh, and Data Fabric (r1)Data Lakehouse, Data Mesh, and Data Fabric (r1)
Data Lakehouse, Data Mesh, and Data Fabric (r1)James Serra
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sqlRam kumar
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-PresentationShubham Tomar
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
 
Introducing Databricks Delta
Introducing Databricks DeltaIntroducing Databricks Delta
Introducing Databricks DeltaDatabricks
 
Informatica MDM Presentation
Informatica MDM PresentationInformatica MDM Presentation
Informatica MDM PresentationMaxHung
 

Tendances (20)

NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and Uses
 
Introduction to Cassandra
Introduction to CassandraIntroduction to Cassandra
Introduction to Cassandra
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
 
Big Data Architecture
Big Data ArchitectureBig Data Architecture
Big Data Architecture
 
Data modelling 101
Data modelling 101Data modelling 101
Data modelling 101
 
Introduction to Graph Databases
Introduction to Graph DatabasesIntroduction to Graph Databases
Introduction to Graph Databases
 
Big Data Ecosystem
Big Data EcosystemBig Data Ecosystem
Big Data Ecosystem
 
Cassandra Database
Cassandra DatabaseCassandra Database
Cassandra Database
 
Achieving Lakehouse Models with Spark 3.0
Achieving Lakehouse Models with Spark 3.0Achieving Lakehouse Models with Spark 3.0
Achieving Lakehouse Models with Spark 3.0
 
Database design
Database designDatabase design
Database design
 
Data Lakehouse, Data Mesh, and Data Fabric (r1)
Data Lakehouse, Data Mesh, and Data Fabric (r1)Data Lakehouse, Data Mesh, and Data Fabric (r1)
Data Lakehouse, Data Mesh, and Data Fabric (r1)
 
How to build a successful Data Lake
How to build a successful Data LakeHow to build a successful Data Lake
How to build a successful Data Lake
 
RDBMS vs NoSQL
RDBMS vs NoSQLRDBMS vs NoSQL
RDBMS vs NoSQL
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
Amazon Redshift
Amazon Redshift Amazon Redshift
Amazon Redshift
 
Introducing Databricks Delta
Introducing Databricks DeltaIntroducing Databricks Delta
Introducing Databricks Delta
 
Informatica MDM Presentation
Informatica MDM PresentationInformatica MDM Presentation
Informatica MDM Presentation
 

Similaire à 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.pptxRahul Borate
 
Big Data technology Landscape
Big Data technology LandscapeBig Data technology Landscape
Big Data technology LandscapeShivanandaVSeeri
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxRahul 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 databaseHeman Hosainpana
 
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 divelucenerevolution
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabasesAdi Challa
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7abdulrahmanhelan
 
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 eraVishal Puri
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL DatabasesAbiral 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
 

Similaire à 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
 
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...
 

Plus de 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 technologiesBethmi 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
 
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 TestingBethmi Gunasekara
 
Web Portal for Construction Industry
Web Portal for Construction IndustryWeb Portal for Construction Industry
Web Portal for Construction IndustryBethmi Gunasekara
 

Plus 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
 

Dernier

VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
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
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 

Dernier (20)

VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
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
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
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
 
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...
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 

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