SlideShare una empresa de Scribd logo
1 de 10
NOSQL DATABASES TYPES AND USES
VIEW POINT
Suvradeep Rudra
April’2014
Agenda
• The four categories of NoSQL databases
• When to Use NoSQL
• When NOT to use NoSQL
• Use cases NoSQL (Each Category)
Executive Summary
• A NoSQL database provides a mechanism for
storage and retrieval of data that is modeled in
means other than the tabular relations used in
relational databases. Motivations for this
approach include simplicity of design, horizontal
scaling and finer control over availability. The
data structure (e.g., tree, graph, key-value)
differs from the RDBMS, and therefore some
operations are faster in NoSQL and some in
RDBMS.
4 categories of NoSQL DB
• Key-values Stores
• Column Family Stores
• Document Databases
• Graph Databases
Key-values Stores
 Key valued stores are those types of NoSQL database that are scheme free, and also your
values stored as key i.e in one column you will be having a key “Name” and the value
would be “Zack” and in the second column it’s not necessary mean that you must have
the value of Name again you could store different kind of data in the same column in
different row, and also you could have more column in one row than previous or vice
versa, this is the most common kinds of NoSQL database that are currently in the market
and other kinds of NoSQL database are built upon the principle of this kinds of NoSQL
database and added some features on that.
 The Key-Value database is a very simple structure based on Amazon’s Dynamo DB. Data
is indexed and queried based on it’s key. Key-value stores provide consistent hashing so
they can scale incrementally as your data scales. They communicate node structure
through a gossip-based membership protocol to keep all the nodes synchronized. If you
are looking to scale very large sets of low complexity data, key-value stores are the best
option.
 Examples: Tokyo Cabinet/Tyrant, Redis, Voldemort, Oracle BDB, Amazon
SimpleDB, Riak
 Strengths: Fast lookups
 Weaknesses: Stored data has no schema
Column Family Stores
 These were created to store and process very large amounts of data distributed over many
machines. There are still keys but they point to multiple columns. The columns are
arranged by column family.
 These data stores are based on Google’s BigTable implementation. They may look
similar to relational databases on the surface but under the hood a lot has changed. A
column family database can have different columns on each row so is not relational and
doesn’t have what qualifies in an RDBMS as a table. The only key concepts in a column
family database are columns, column families and super columns. All you really need to
start with is a column family. Column families define how the data is structured on disk.
 A column by itself is just a key-value pair that exists in a column family. A super column
is like a catalogue or a collection of other columns except for other super columns.
 Column family databases are still extremely scalable but less-so than key-value stores.
However, they work better with more complex data sets.
 Examples: Cassandra, HBase
Document Databases
 These were inspired by Lotus Notes and are similar to key-value stores. The model is
basically versioned documents that are collections of other key-value collections. The
semi-structured documents are stored in formats like JSON.
 A document database is not a new idea. It was used to power one of the more
prominent communication platforms of the 90’s and still in service today, Lotus Notes
now called Lotus Domino. APIs for document DBs use Restful web services and JSON
for message structure making them easy to move data in and out.
 A document database has a fairly simple data model based on collections of key-value
pairs. A typical record in a document database would look like this:
• { “Subject”: “I like Plankton”
• “Author”: “Rusty”
• “PostedDate”: “5/23/2006″
• “Tags”: ["plankton", "baseball", "decisions"]
• “Body”: “I decided today that I don’t like baseball. I like plankton.” }
 Examples: CouchDB, MongoDb
 Strengths: Tolerant of incomplete data
 Weaknesses: Query performance, no standard query syntax
Graph Databases
 Instead of tables of rows and columns and the rigid structure of SQL, a flexible graph
model is used which, again, can scale across multiple machines. NoSQL databases do not
provide a high-level declarative query language like SQL to avoid overtime in
processing. Rather, querying these databases is data-model specific. Many of the NoSQL
platforms allow for RESTful interfaces to the data, while other offer query APIs.
 Graph databases take document databases to the extreme by introducing the concept of
type relationships between documents or nodes. The most common example is the
relationship between people on a social network such as Facebook.
 A graph database is a big dense network structure. While it could take an RDBMS hours
to sift through a huge linked list of people, a graph database uses sophisticated shortest
path algorithms to make data queries more efficient. Although slower than its other
NoSQL counterparts, a graph database can have the most complex structure of them all
and still traverse billions of nodes and relationships with light speed.
 Examples: Neo4J, InfoGrid, Infinite Graph
 Strengths: Graph algorithms e.g. shortest path,n degree relationships, etc.
 Weaknesses: Traverse the entire graph to achieve a definitive answer. Not easy to cluster
When is NoSQL a poor choice?
After spending so long extolling the benefits of the various NoSQL solutions, I would like to
point out at least one scenario where I haven’t seen a good NosQL solution for the RDBMS:
Reporting. One of the great things about RDBMS is that given the information that it already
have, it is very easy to massage the data into a lot of interesting forms. That is especially
important when you are trying to do things like give the user the ability to analyze the data
on their own, such as by providing the user with a report tool that allows them to query,
aggregate and manipulate the data to their heart’s content. While it is certainly possible to
produce reports on top of a NoSQL store, you wouldn’t be able to come close to the level of
flexibility that a RDMBS will offer. That is one of the major benefits of the RDBMS, its
flexibility. The NoSQL solutions will tend to outperform the RDBMS solution (as long as you
stay in the appropriate niche for each NoSQL solution) and they certainly have better
scalability story than the RDBMS, but for user driven reports, the RDBMS is still my tool of
choice
Suvradeep Rudra is a Sr. Data Architect and has more than 10
years of experience in Data Management. He held a number
of roles at Caritor Inc. (now NTT DATA), Oracle, Deloitte
Consulting. Experienced in building overall data strategy,
tapping value from data assets and capabilities and driving
value to the business. He has worked in various projects,
establishing and building data management solutions for
customers in the industries such as High Tech, Health
Insurance, Oil and Gas, Payments services and Banking. His
experience ranges from Data strategy, Product Strategy,
MDM, Business Intelligence and Analytics, Data Architecture
(Data Warehouse), Data Governance.
Suvradeep writes and speaks about Monetizing Company’s
Data and Technology trends.
He holds Masters in Computer Applications from University
of Madras, Chennai, India.
He can be reached via LinkedIn profile

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

9. Document Oriented Databases
9. Document Oriented Databases9. Document Oriented Databases
9. Document Oriented Databases
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Selecting best NoSQL
Selecting best NoSQL Selecting best NoSQL
Selecting best NoSQL
 
Distributed database
Distributed databaseDistributed database
Distributed database
 
A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.A Seminar on NoSQL Databases.
A Seminar on NoSQL Databases.
 
No SQL- The Future Of Data Storage
No SQL- The Future Of Data StorageNo SQL- The Future Of Data Storage
No SQL- The Future Of Data Storage
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
 
Key-Value NoSQL Database
Key-Value NoSQL DatabaseKey-Value NoSQL Database
Key-Value NoSQL Database
 
Introduction to Cassandra
Introduction to CassandraIntroduction to Cassandra
Introduction to Cassandra
 
Apache HBase™
Apache HBase™Apache HBase™
Apache HBase™
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 
NoSql
NoSqlNoSql
NoSql
 
Hadoop Architecture
Hadoop ArchitectureHadoop Architecture
Hadoop Architecture
 
SQL(DDL & DML)
SQL(DDL & DML)SQL(DDL & DML)
SQL(DDL & DML)
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
Introduction to Hadoop
Introduction to HadoopIntroduction to Hadoop
Introduction to Hadoop
 
NoSQL Data Architecture Patterns
NoSQL Data ArchitecturePatternsNoSQL Data ArchitecturePatterns
NoSQL Data Architecture Patterns
 
Mongodb basics and architecture
Mongodb basics and architectureMongodb basics and architecture
Mongodb basics and architecture
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL Databases
 

Destacado

NoSQL Databases: Why, what and when
NoSQL Databases: Why, what and whenNoSQL Databases: Why, what and when
NoSQL Databases: Why, what and whenLorenzo Alberton
 
NoSQL databases pros and cons
NoSQL databases pros and consNoSQL databases pros and cons
NoSQL databases pros and consFabio Fumarola
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBLee Theobald
 
A Beginners Guide to noSQL
A Beginners Guide to noSQLA Beginners Guide to noSQL
A Beginners Guide to noSQLMike Crabb
 
NoSQL, no SQL injections?
NoSQL, no SQL injections?NoSQL, no SQL injections?
NoSQL, no SQL injections?Wayne Huang
 
Common Entrepreneur Mistakes
Common Entrepreneur MistakesCommon Entrepreneur Mistakes
Common Entrepreneur MistakesBart Greenberg
 
Kaplowitch equity dos and donts
Kaplowitch equity dos and dontsKaplowitch equity dos and donts
Kaplowitch equity dos and dontsBFBootcamp
 
Building A Stable, Fundable Startup
Building A Stable, Fundable StartupBuilding A Stable, Fundable Startup
Building A Stable, Fundable Startupportlandten
 
Employee equity incentives
Employee equity incentivesEmployee equity incentives
Employee equity incentivesBart Greenberg
 
Startups: Attracting and Retaining Talent (updated 3/6/13)
Startups: Attracting and Retaining Talent (updated 3/6/13)Startups: Attracting and Retaining Talent (updated 3/6/13)
Startups: Attracting and Retaining Talent (updated 3/6/13)Patrick Seaman
 
Guaranteed vs Incentive Pay - What's the Right Balance?
Guaranteed vs Incentive Pay - What's the Right Balance?Guaranteed vs Incentive Pay - What's the Right Balance?
Guaranteed vs Incentive Pay - What's the Right Balance?The VisionLink Advisory Group
 
10 Movies Every Entrepreneur Should Watch
10 Movies Every Entrepreneur Should Watch10 Movies Every Entrepreneur Should Watch
10 Movies Every Entrepreneur Should WatchLawTrades
 
Succession Planning using Equity Incentive Plan and ESOPs
Succession Planning using Equity Incentive Plan and ESOPsSuccession Planning using Equity Incentive Plan and ESOPs
Succession Planning using Equity Incentive Plan and ESOPswifilawgroup
 
Negotiating as Consultant
Negotiating as ConsultantNegotiating as Consultant
Negotiating as ConsultantJamie Lee
 
Converting Employees to Owners: Employee Share Purchase Plans
Converting Employees to Owners: Employee Share Purchase PlansConverting Employees to Owners: Employee Share Purchase Plans
Converting Employees to Owners: Employee Share Purchase PlansNow Dentons
 
Startup Equity - Startup summer camp, 2014
Startup Equity - Startup summer camp, 2014Startup Equity - Startup summer camp, 2014
Startup Equity - Startup summer camp, 2014Pankaj Saharan
 
How to Divide the Pie? Dynamic Equity Share by Mike Moyer
How to Divide the Pie? Dynamic Equity Share by Mike Moyer How to Divide the Pie? Dynamic Equity Share by Mike Moyer
How to Divide the Pie? Dynamic Equity Share by Mike Moyer Ed Kuiters
 
Raising Your Seed Round Financing: Should You Use Convertible Notes or Prefe...
Raising Your Seed Round Financing:  Should You Use Convertible Notes or Prefe...Raising Your Seed Round Financing:  Should You Use Convertible Notes or Prefe...
Raising Your Seed Round Financing: Should You Use Convertible Notes or Prefe...Bart Greenberg
 

Destacado (20)

NoSQL Databases: Why, what and when
NoSQL Databases: Why, what and whenNoSQL Databases: Why, what and when
NoSQL Databases: Why, what and when
 
NoSQL databases pros and cons
NoSQL databases pros and consNoSQL databases pros and cons
NoSQL databases pros and cons
 
An Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDBAn Introduction To NoSQL & MongoDB
An Introduction To NoSQL & MongoDB
 
A Beginners Guide to noSQL
A Beginners Guide to noSQLA Beginners Guide to noSQL
A Beginners Guide to noSQL
 
No sql
No sqlNo sql
No sql
 
NoSQL, no SQL injections?
NoSQL, no SQL injections?NoSQL, no SQL injections?
NoSQL, no SQL injections?
 
Common Entrepreneur Mistakes
Common Entrepreneur MistakesCommon Entrepreneur Mistakes
Common Entrepreneur Mistakes
 
Kaplowitch equity dos and donts
Kaplowitch equity dos and dontsKaplowitch equity dos and donts
Kaplowitch equity dos and donts
 
Building A Stable, Fundable Startup
Building A Stable, Fundable StartupBuilding A Stable, Fundable Startup
Building A Stable, Fundable Startup
 
Employee equity incentives
Employee equity incentivesEmployee equity incentives
Employee equity incentives
 
Startups: Attracting and Retaining Talent (updated 3/6/13)
Startups: Attracting and Retaining Talent (updated 3/6/13)Startups: Attracting and Retaining Talent (updated 3/6/13)
Startups: Attracting and Retaining Talent (updated 3/6/13)
 
Guaranteed vs Incentive Pay - What's the Right Balance?
Guaranteed vs Incentive Pay - What's the Right Balance?Guaranteed vs Incentive Pay - What's the Right Balance?
Guaranteed vs Incentive Pay - What's the Right Balance?
 
10 Movies Every Entrepreneur Should Watch
10 Movies Every Entrepreneur Should Watch10 Movies Every Entrepreneur Should Watch
10 Movies Every Entrepreneur Should Watch
 
Succession Planning using Equity Incentive Plan and ESOPs
Succession Planning using Equity Incentive Plan and ESOPsSuccession Planning using Equity Incentive Plan and ESOPs
Succession Planning using Equity Incentive Plan and ESOPs
 
Negotiating as Consultant
Negotiating as ConsultantNegotiating as Consultant
Negotiating as Consultant
 
Converting Employees to Owners: Employee Share Purchase Plans
Converting Employees to Owners: Employee Share Purchase PlansConverting Employees to Owners: Employee Share Purchase Plans
Converting Employees to Owners: Employee Share Purchase Plans
 
Startup Equity - Startup summer camp, 2014
Startup Equity - Startup summer camp, 2014Startup Equity - Startup summer camp, 2014
Startup Equity - Startup summer camp, 2014
 
ESOPs LEGAL & PROCEDURAL ASPECTS
ESOPs LEGAL & PROCEDURAL ASPECTSESOPs LEGAL & PROCEDURAL ASPECTS
ESOPs LEGAL & PROCEDURAL ASPECTS
 
How to Divide the Pie? Dynamic Equity Share by Mike Moyer
How to Divide the Pie? Dynamic Equity Share by Mike Moyer How to Divide the Pie? Dynamic Equity Share by Mike Moyer
How to Divide the Pie? Dynamic Equity Share by Mike Moyer
 
Raising Your Seed Round Financing: Should You Use Convertible Notes or Prefe...
Raising Your Seed Round Financing:  Should You Use Convertible Notes or Prefe...Raising Your Seed Round Financing:  Should You Use Convertible Notes or Prefe...
Raising Your Seed Round Financing: Should You Use Convertible Notes or Prefe...
 

Similar a NOSQL Databases types and Uses

Choosing your NoSQL storage
Choosing your NoSQL storageChoosing your NoSQL storage
Choosing your NoSQL storageImteyaz Khan
 
2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptx2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptxRushikeshChikane2
 
Selecting the right database type for your knowledge management needs.
Selecting the right database type for your knowledge management needs.Selecting the right database type for your knowledge management needs.
Selecting the right database type for your knowledge management needs.Synaptica, LLC
 
NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfajajkhan16
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills
 
NoSQL_Databases
NoSQL_DatabasesNoSQL_Databases
NoSQL_DatabasesRick Perry
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxvvpadhu
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsAtulKabbur
 
Assignment_4
Assignment_4Assignment_4
Assignment_4Kirti J
 

Similar a NOSQL Databases types and Uses (20)

Choosing your NoSQL storage
Choosing your NoSQL storageChoosing your NoSQL storage
Choosing your NoSQL storage
 
2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptx2.Introduction to NOSQL (Core concepts).pptx
2.Introduction to NOSQL (Core concepts).pptx
 
Selecting the right database type for your knowledge management needs.
Selecting the right database type for your knowledge management needs.Selecting the right database type for your knowledge management needs.
Selecting the right database type for your knowledge management needs.
 
unit2-ppt1.pptx
unit2-ppt1.pptxunit2-ppt1.pptx
unit2-ppt1.pptx
 
NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdf
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample material
 
NoSQL_Databases
NoSQL_DatabasesNoSQL_Databases
NoSQL_Databases
 
Know what is NOSQL
Know what is NOSQL Know what is NOSQL
Know what is NOSQL
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docx
 
Unit 3 MongDB
Unit 3 MongDBUnit 3 MongDB
Unit 3 MongDB
 
the rising no sql technology
the rising no sql technologythe rising no sql technology
the rising no sql technology
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbms
 
Unit-10.pptx
Unit-10.pptxUnit-10.pptx
Unit-10.pptx
 
Report 1.0.docx
Report 1.0.docxReport 1.0.docx
Report 1.0.docx
 
No sql
No sqlNo sql
No sql
 
NoSQL
NoSQLNoSQL
NoSQL
 
Report 2.0.docx
Report 2.0.docxReport 2.0.docx
Report 2.0.docx
 
Assignment_4
Assignment_4Assignment_4
Assignment_4
 
NoSQL and MongoDB
NoSQL and MongoDBNoSQL and MongoDB
NoSQL and MongoDB
 
nosql.pptx
nosql.pptxnosql.pptx
nosql.pptx
 

Más de Suvradeep Rudra

Cloud Strategies for Financial Firms : Migrating one step at a time
Cloud  Strategies for Financial Firms : Migrating one step at a timeCloud  Strategies for Financial Firms : Migrating one step at a time
Cloud Strategies for Financial Firms : Migrating one step at a timeSuvradeep Rudra
 
Data architecture around risk management
Data architecture around risk managementData architecture around risk management
Data architecture around risk managementSuvradeep Rudra
 
Business intelligence vs business analytics
Business intelligence  vs business analyticsBusiness intelligence  vs business analytics
Business intelligence vs business analyticsSuvradeep Rudra
 
Big data analytics in politics voted yes
Big data analytics in politics  voted yesBig data analytics in politics  voted yes
Big data analytics in politics voted yesSuvradeep Rudra
 
Overview ppdm data_architecture_in_oil and gas_ industry
Overview ppdm data_architecture_in_oil and gas_ industryOverview ppdm data_architecture_in_oil and gas_ industry
Overview ppdm data_architecture_in_oil and gas_ industrySuvradeep Rudra
 
Data Warehousing and BI - Recruitment POV
Data Warehousing and BI - Recruitment POVData Warehousing and BI - Recruitment POV
Data Warehousing and BI - Recruitment POVSuvradeep Rudra
 
Rise of Column Oriented Database
Rise of Column Oriented DatabaseRise of Column Oriented Database
Rise of Column Oriented DatabaseSuvradeep Rudra
 
Where HADOOP fits in and challenges
Where HADOOP fits in and challengesWhere HADOOP fits in and challenges
Where HADOOP fits in and challengesSuvradeep Rudra
 
Dodd frank yahoo_10_14_2011_show
Dodd frank yahoo_10_14_2011_showDodd frank yahoo_10_14_2011_show
Dodd frank yahoo_10_14_2011_showSuvradeep Rudra
 

Más de Suvradeep Rudra (10)

Cloud Strategies for Financial Firms : Migrating one step at a time
Cloud  Strategies for Financial Firms : Migrating one step at a timeCloud  Strategies for Financial Firms : Migrating one step at a time
Cloud Strategies for Financial Firms : Migrating one step at a time
 
Design patterns 101
Design patterns 101Design patterns 101
Design patterns 101
 
Data architecture around risk management
Data architecture around risk managementData architecture around risk management
Data architecture around risk management
 
Business intelligence vs business analytics
Business intelligence  vs business analyticsBusiness intelligence  vs business analytics
Business intelligence vs business analytics
 
Big data analytics in politics voted yes
Big data analytics in politics  voted yesBig data analytics in politics  voted yes
Big data analytics in politics voted yes
 
Overview ppdm data_architecture_in_oil and gas_ industry
Overview ppdm data_architecture_in_oil and gas_ industryOverview ppdm data_architecture_in_oil and gas_ industry
Overview ppdm data_architecture_in_oil and gas_ industry
 
Data Warehousing and BI - Recruitment POV
Data Warehousing and BI - Recruitment POVData Warehousing and BI - Recruitment POV
Data Warehousing and BI - Recruitment POV
 
Rise of Column Oriented Database
Rise of Column Oriented DatabaseRise of Column Oriented Database
Rise of Column Oriented Database
 
Where HADOOP fits in and challenges
Where HADOOP fits in and challengesWhere HADOOP fits in and challenges
Where HADOOP fits in and challenges
 
Dodd frank yahoo_10_14_2011_show
Dodd frank yahoo_10_14_2011_showDodd frank yahoo_10_14_2011_show
Dodd frank yahoo_10_14_2011_show
 

Último

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Último (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

NOSQL Databases types and Uses

  • 1. NOSQL DATABASES TYPES AND USES VIEW POINT Suvradeep Rudra April’2014
  • 2. Agenda • The four categories of NoSQL databases • When to Use NoSQL • When NOT to use NoSQL • Use cases NoSQL (Each Category)
  • 3. Executive Summary • A NoSQL database provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases. Motivations for this approach include simplicity of design, horizontal scaling and finer control over availability. The data structure (e.g., tree, graph, key-value) differs from the RDBMS, and therefore some operations are faster in NoSQL and some in RDBMS.
  • 4. 4 categories of NoSQL DB • Key-values Stores • Column Family Stores • Document Databases • Graph Databases
  • 5. Key-values Stores  Key valued stores are those types of NoSQL database that are scheme free, and also your values stored as key i.e in one column you will be having a key “Name” and the value would be “Zack” and in the second column it’s not necessary mean that you must have the value of Name again you could store different kind of data in the same column in different row, and also you could have more column in one row than previous or vice versa, this is the most common kinds of NoSQL database that are currently in the market and other kinds of NoSQL database are built upon the principle of this kinds of NoSQL database and added some features on that.  The Key-Value database is a very simple structure based on Amazon’s Dynamo DB. Data is indexed and queried based on it’s key. Key-value stores provide consistent hashing so they can scale incrementally as your data scales. They communicate node structure through a gossip-based membership protocol to keep all the nodes synchronized. If you are looking to scale very large sets of low complexity data, key-value stores are the best option.  Examples: Tokyo Cabinet/Tyrant, Redis, Voldemort, Oracle BDB, Amazon SimpleDB, Riak  Strengths: Fast lookups  Weaknesses: Stored data has no schema
  • 6. Column Family Stores  These were created to store and process very large amounts of data distributed over many machines. There are still keys but they point to multiple columns. The columns are arranged by column family.  These data stores are based on Google’s BigTable implementation. They may look similar to relational databases on the surface but under the hood a lot has changed. A column family database can have different columns on each row so is not relational and doesn’t have what qualifies in an RDBMS as a table. The only key concepts in a column family database are columns, column families and super columns. All you really need to start with is a column family. Column families define how the data is structured on disk.  A column by itself is just a key-value pair that exists in a column family. A super column is like a catalogue or a collection of other columns except for other super columns.  Column family databases are still extremely scalable but less-so than key-value stores. However, they work better with more complex data sets.  Examples: Cassandra, HBase
  • 7. Document Databases  These were inspired by Lotus Notes and are similar to key-value stores. The model is basically versioned documents that are collections of other key-value collections. The semi-structured documents are stored in formats like JSON.  A document database is not a new idea. It was used to power one of the more prominent communication platforms of the 90’s and still in service today, Lotus Notes now called Lotus Domino. APIs for document DBs use Restful web services and JSON for message structure making them easy to move data in and out.  A document database has a fairly simple data model based on collections of key-value pairs. A typical record in a document database would look like this: • { “Subject”: “I like Plankton” • “Author”: “Rusty” • “PostedDate”: “5/23/2006″ • “Tags”: ["plankton", "baseball", "decisions"] • “Body”: “I decided today that I don’t like baseball. I like plankton.” }  Examples: CouchDB, MongoDb  Strengths: Tolerant of incomplete data  Weaknesses: Query performance, no standard query syntax
  • 8. Graph Databases  Instead of tables of rows and columns and the rigid structure of SQL, a flexible graph model is used which, again, can scale across multiple machines. NoSQL databases do not provide a high-level declarative query language like SQL to avoid overtime in processing. Rather, querying these databases is data-model specific. Many of the NoSQL platforms allow for RESTful interfaces to the data, while other offer query APIs.  Graph databases take document databases to the extreme by introducing the concept of type relationships between documents or nodes. The most common example is the relationship between people on a social network such as Facebook.  A graph database is a big dense network structure. While it could take an RDBMS hours to sift through a huge linked list of people, a graph database uses sophisticated shortest path algorithms to make data queries more efficient. Although slower than its other NoSQL counterparts, a graph database can have the most complex structure of them all and still traverse billions of nodes and relationships with light speed.  Examples: Neo4J, InfoGrid, Infinite Graph  Strengths: Graph algorithms e.g. shortest path,n degree relationships, etc.  Weaknesses: Traverse the entire graph to achieve a definitive answer. Not easy to cluster
  • 9. When is NoSQL a poor choice? After spending so long extolling the benefits of the various NoSQL solutions, I would like to point out at least one scenario where I haven’t seen a good NosQL solution for the RDBMS: Reporting. One of the great things about RDBMS is that given the information that it already have, it is very easy to massage the data into a lot of interesting forms. That is especially important when you are trying to do things like give the user the ability to analyze the data on their own, such as by providing the user with a report tool that allows them to query, aggregate and manipulate the data to their heart’s content. While it is certainly possible to produce reports on top of a NoSQL store, you wouldn’t be able to come close to the level of flexibility that a RDMBS will offer. That is one of the major benefits of the RDBMS, its flexibility. The NoSQL solutions will tend to outperform the RDBMS solution (as long as you stay in the appropriate niche for each NoSQL solution) and they certainly have better scalability story than the RDBMS, but for user driven reports, the RDBMS is still my tool of choice
  • 10. Suvradeep Rudra is a Sr. Data Architect and has more than 10 years of experience in Data Management. He held a number of roles at Caritor Inc. (now NTT DATA), Oracle, Deloitte Consulting. Experienced in building overall data strategy, tapping value from data assets and capabilities and driving value to the business. He has worked in various projects, establishing and building data management solutions for customers in the industries such as High Tech, Health Insurance, Oil and Gas, Payments services and Banking. His experience ranges from Data strategy, Product Strategy, MDM, Business Intelligence and Analytics, Data Architecture (Data Warehouse), Data Governance. Suvradeep writes and speaks about Monetizing Company’s Data and Technology trends. He holds Masters in Computer Applications from University of Madras, Chennai, India. He can be reached via LinkedIn profile