SlideShare ist ein Scribd-Unternehmen logo
1 von 36
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Powered by Algoworks
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Choosing the Right NoSQL Database
NoSQL is picking up pace and
just in case you are planning a
new application, choosing the
right NoSQL database can
largely govern your budget
distribution since a wrong
move at this point can end up
costing you lots of bucks in the
coming days.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Choosing the Right NoSQL Database
Which is the right NoSQL Database?
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Choosing the Right NoSQL Database
NoSQL technology is relatively new
undergoing innovations every now and
then, it is safe to say there are no defined
standards related to NoSQL database.
DataBase Launch Date
MongoDB 2009
Cassandra 2008
CouchDB 2008
Redis 2009
Neo4J 2007
Riak 2009
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Choosing the Right NoSQL Database
But we will
categorize them
anyway.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Choosing the Right NoSQL Database
NoSQL databases most popularly get
categorized into four types
Key-Value Store Document-Based Store
Column-Based Store Graph-Based
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Key Value Store
NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Key-Value Store NoSQL Database
Key Value Store NoSQL databases
uses a hashtable to store unique key
and pointers to each data value...
... which in turn are stored in a
schema less way...
...in other words data is stored in the
form of keys and values...
...hence the name Key-Value-Store
databases.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Key-Value Store NoSQL Database
From the perspective of database, ‘value’ is just meaningless data
that database just stores, without caring or knowing what’s inside.
There are no complex relations thus implementation is very easy,
and since these databases only use a single primary key as access,
they give great performance and can be very easily scaled.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Key-Value Store NoSQL Database
Key-value databases are best utilized in the situations involving:
➔ Storing user session data
➔ Maintaining schema-less user profiles
➔ Storing user preferences
➔ Storing shopping cart data
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Key-Value Store NoSQL Database
We generally avoid Key-Value Databases if
➔ we have to query the database by specific data value,
➔ we need relationships between data values
➔ we need to operate on multiple unique keys
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Key-Value Store NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Document Store
NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Document Store NoSQL Database
Imagine a Key-value Store database in
which instead of storing ‘value’ we are
storing entire documents.
If you can imagine it then you
have grasped the crux of
Document Store database.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Document Store NoSQL Database
These documents are mainly stored in common notation formats like XML,
JSON, BSON etc, therefore they give greater flexibility in querying .
Document Store database embeds attribute metadata related to
the stored content with each document because of which you
can search data by primary key and the value in documents
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Document Store NoSQL Database
Document Store databases are useful when you have to implement
➔ Content management systems
➔ Blogging platforms
➔ Analytics platforms
➔ E-commerce platforms
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Document Store NoSQL Database
App developers avoid Document Store if
➔ They have to run complex search queries
➔ Their application requires complex multiple-
operation transactions.
➔ The information stored inside the document need to
queries and matched very frequently.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Document Store NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Column Store
NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Column Store NoSQL Database
Column-family databases are row-
based databases. In this type of
database data is stored in rows that
have a unique row id, and the data is
stored in form of flexible columns.
Because of its similarity to SQL
databases, column store are easier to
query. But they are not as flexible in
storing random information.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Column Store NoSQL Database
The key difference between
Column Store and SQL
database is that in Column-
store you don’t have to
maintain consistent column
numbers. You can add a new
column to any row without
having to add them in all the
rows of the database.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Column Store NoSQL Database
Developers mainly use Column Store Databases in
➔ Content management systems
➔ Blogging platforms
➔ Systems that maintain counters
➔ Services that have expiring usage
➔ Systems that require heavy write requests
(like log aggregators)
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Column Store NoSQL Database
We generally avoid Column Store databases if
➔ We have to use complex querying
➔ Our querying patterns have to be changed regularly
➔ You don’t have established database requirements
➔ Need to store arbitrary data very fast.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Column Store NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Graph Base
NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Graph Base NoSQL Database
Graph Base databases are all about edge-nodes and graph relations. You store
data entities and allow users to add relations to these database entities.
However the database neither
knows nor care what is stored
in data entities or how it is
stored.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Document Store NoSQL Database
The database uses complex graph structures complete with the ability to define
edges, nodes and node properties.
This not only gives greater abilities
in querying relational data but also
provide index-free searches, a
problem that plagues previously
mentioned NoSQL types.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Graph Base NoSQL Database
Graph based databases are enormously useful in
applications that have connected data, such as
➔ social networks,
➔ routing infocenters,
➔ recommendation engine applications, spatial data
and mapping applications
➔ and other applications requiring unique key
relations.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Graph Base NoSQL Database
App developers avoid document store if
➔ They have to run complex search queries on values
➔ Some data have to be stored that have no defines
relations
➔ Require careful handling so that database does not
become inconsistent on scaling
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Graph Base NoSQL Database
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
The Combination
Solutions
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
The Combination Solutions
Though there are various types of databases, it is not advisable nor is it the
norm to opt for a single database. More popularly, and as much sensibly, it’s
the idea of using more than one database which does the trick.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
The Combination Solutions
For example in a social network app
it is best to use a Graph Database to
manage connections and Document
Database for managing profile and
post data.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
The Combination Solution EXPERTS
To know more which combination is the best for your
application, let the database experts study your case and
come up with the best suggestions for your model.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
Snehesh Mitra
Author
Director
Mobile Technologies
Snehesh is leading the mobility business
development function, mobility strategy and
consulting practice at Algoworks. He is an expert
of all mobile technologies and has experience in
managing teams involved in the development of
custom iPhone/iPad/Android apps. He has
special interest in mobile industry and cross
platform technologies. In the past, Snehesh
founded reality technology company to connect
buyers and real estate builders and brokers. He
holds a graduate degree in Electronics and
Electrical Engineering from the Indian Institute of
Technology, Kharagpur.
sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028
THANK YOU
Learn about how Algoworks can help your business!
Call us at : +1-877-284-1028
Mail us at: sales@algoworks.com
support@algoworks.com
Official : Blog Link

Weitere ähnliche Inhalte

Mehr von Ajeet Singh

Fintech Meetup 2024: The Best Fintech Show of the Year
Fintech Meetup 2024: The Best Fintech Show of the YearFintech Meetup 2024: The Best Fintech Show of the Year
Fintech Meetup 2024: The Best Fintech Show of the YearAjeet Singh
 
Dreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AIDreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AIAjeet Singh
 
Dreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptxDreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptxAjeet Singh
 
Why and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App DevelopmentWhy and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App DevelopmentAjeet Singh
 
The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!Ajeet Singh
 
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!Ajeet Singh
 
5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!Ajeet Singh
 
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce![Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!Ajeet Singh
 
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...Ajeet Singh
 
DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}Ajeet Singh
 
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It![Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!Ajeet Singh
 
DevOps & Its Impact | An Infographic
DevOps & Its Impact | An InfographicDevOps & Its Impact | An Infographic
DevOps & Its Impact | An InfographicAjeet Singh
 
Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!Ajeet Singh
 
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...Ajeet Singh
 
Xamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing EffectivelyXamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing EffectivelyAjeet Singh
 
Latest Mobile App Development Trends
Latest  Mobile App Development TrendsLatest  Mobile App Development Trends
Latest Mobile App Development TrendsAjeet Singh
 
Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!Ajeet Singh
 
User Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchangeUser Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchangeAjeet Singh
 
Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!Ajeet Singh
 
The Mobile Grenade | An Infographic
The Mobile Grenade | An InfographicThe Mobile Grenade | An Infographic
The Mobile Grenade | An InfographicAjeet Singh
 

Mehr von Ajeet Singh (20)

Fintech Meetup 2024: The Best Fintech Show of the Year
Fintech Meetup 2024: The Best Fintech Show of the YearFintech Meetup 2024: The Best Fintech Show of the Year
Fintech Meetup 2024: The Best Fintech Show of the Year
 
Dreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AIDreamforce 23: Where Salesforce Meets AI
Dreamforce 23: Where Salesforce Meets AI
 
Dreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptxDreamforce 2022 - Algoworks.pptx
Dreamforce 2022 - Algoworks.pptx
 
Why and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App DevelopmentWhy and When Enterprise Should Adopt NativeScript for App Development
Why and When Enterprise Should Adopt NativeScript for App Development
 
The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!The Next Big Thing In Mobile App Development – Trends 2019!
The Next Big Thing In Mobile App Development – Trends 2019!
 
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
The Best Design Trend Is To Not Follow One. We have 6! : UI Design Trends 2019!
 
5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!5 Hottest Trends The DevOps World Wants You To Know!
5 Hottest Trends The DevOps World Wants You To Know!
 
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce![Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
[Business Strategy] Pump Up Your Revenue: Retain Customers With Salesforce!
 
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
Happening Dreamforce Parties 2018 | Dreamforce 2018 Countdown Is On. Are You ...
 
DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}DevSecOps: Integrating Security Into DevOps! {Business Security}
DevSecOps: Integrating Security Into DevOps! {Business Security}
 
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It![Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
[Business Strategy] DevOps Implementation Failure. Save It Before You Fail It!
 
DevOps & Its Impact | An Infographic
DevOps & Its Impact | An InfographicDevOps & Its Impact | An Infographic
DevOps & Its Impact | An Infographic
 
Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!Top 6 Upcoming Big Data Trends of 2018!
Top 6 Upcoming Big Data Trends of 2018!
 
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
HIPAA Compliant Salesforce Health Cloud – Why Healthcare Organizations Must C...
 
Xamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing EffectivelyXamarin Test Cloud – Automating Testing Effectively
Xamarin Test Cloud – Automating Testing Effectively
 
Latest Mobile App Development Trends
Latest  Mobile App Development TrendsLatest  Mobile App Development Trends
Latest Mobile App Development Trends
 
Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!Haven’t Switched To ECM Yet? Think About Alfresco!
Haven’t Switched To ECM Yet? Think About Alfresco!
 
User Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchangeUser Manual Guide: Case Management App on Salesforce AppExchange
User Manual Guide: Case Management App on Salesforce AppExchange
 
Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!Salesforce® Summer’17 To Raise The Temperature This Season!
Salesforce® Summer’17 To Raise The Temperature This Season!
 
The Mobile Grenade | An Infographic
The Mobile Grenade | An InfographicThe Mobile Grenade | An Infographic
The Mobile Grenade | An Infographic
 

Kürzlich hochgeladen

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
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
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Kürzlich hochgeladen (20)

Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
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
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
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
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Choosing the Right NoSQL Database Type: Tips and Solutions

  • 1. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Powered by Algoworks
  • 2. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Choosing the Right NoSQL Database NoSQL is picking up pace and just in case you are planning a new application, choosing the right NoSQL database can largely govern your budget distribution since a wrong move at this point can end up costing you lots of bucks in the coming days.
  • 3. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Choosing the Right NoSQL Database Which is the right NoSQL Database?
  • 4. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Choosing the Right NoSQL Database NoSQL technology is relatively new undergoing innovations every now and then, it is safe to say there are no defined standards related to NoSQL database. DataBase Launch Date MongoDB 2009 Cassandra 2008 CouchDB 2008 Redis 2009 Neo4J 2007 Riak 2009
  • 5. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Choosing the Right NoSQL Database But we will categorize them anyway.
  • 6. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Choosing the Right NoSQL Database NoSQL databases most popularly get categorized into four types Key-Value Store Document-Based Store Column-Based Store Graph-Based
  • 7. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Key Value Store NoSQL Database
  • 8. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Key-Value Store NoSQL Database Key Value Store NoSQL databases uses a hashtable to store unique key and pointers to each data value... ... which in turn are stored in a schema less way... ...in other words data is stored in the form of keys and values... ...hence the name Key-Value-Store databases.
  • 9. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Key-Value Store NoSQL Database From the perspective of database, ‘value’ is just meaningless data that database just stores, without caring or knowing what’s inside. There are no complex relations thus implementation is very easy, and since these databases only use a single primary key as access, they give great performance and can be very easily scaled.
  • 10. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Key-Value Store NoSQL Database Key-value databases are best utilized in the situations involving: ➔ Storing user session data ➔ Maintaining schema-less user profiles ➔ Storing user preferences ➔ Storing shopping cart data
  • 11. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Key-Value Store NoSQL Database We generally avoid Key-Value Databases if ➔ we have to query the database by specific data value, ➔ we need relationships between data values ➔ we need to operate on multiple unique keys
  • 12. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Key-Value Store NoSQL Database
  • 13. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Document Store NoSQL Database
  • 14. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Document Store NoSQL Database Imagine a Key-value Store database in which instead of storing ‘value’ we are storing entire documents. If you can imagine it then you have grasped the crux of Document Store database.
  • 15. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Document Store NoSQL Database These documents are mainly stored in common notation formats like XML, JSON, BSON etc, therefore they give greater flexibility in querying . Document Store database embeds attribute metadata related to the stored content with each document because of which you can search data by primary key and the value in documents
  • 16. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Document Store NoSQL Database Document Store databases are useful when you have to implement ➔ Content management systems ➔ Blogging platforms ➔ Analytics platforms ➔ E-commerce platforms
  • 17. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Document Store NoSQL Database App developers avoid Document Store if ➔ They have to run complex search queries ➔ Their application requires complex multiple- operation transactions. ➔ The information stored inside the document need to queries and matched very frequently.
  • 18. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Document Store NoSQL Database
  • 19. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Column Store NoSQL Database
  • 20. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Column Store NoSQL Database Column-family databases are row- based databases. In this type of database data is stored in rows that have a unique row id, and the data is stored in form of flexible columns. Because of its similarity to SQL databases, column store are easier to query. But they are not as flexible in storing random information.
  • 21. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Column Store NoSQL Database The key difference between Column Store and SQL database is that in Column- store you don’t have to maintain consistent column numbers. You can add a new column to any row without having to add them in all the rows of the database.
  • 22. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Column Store NoSQL Database Developers mainly use Column Store Databases in ➔ Content management systems ➔ Blogging platforms ➔ Systems that maintain counters ➔ Services that have expiring usage ➔ Systems that require heavy write requests (like log aggregators)
  • 23. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Column Store NoSQL Database We generally avoid Column Store databases if ➔ We have to use complex querying ➔ Our querying patterns have to be changed regularly ➔ You don’t have established database requirements ➔ Need to store arbitrary data very fast.
  • 24. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Column Store NoSQL Database
  • 25. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Graph Base NoSQL Database
  • 26. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Graph Base NoSQL Database Graph Base databases are all about edge-nodes and graph relations. You store data entities and allow users to add relations to these database entities. However the database neither knows nor care what is stored in data entities or how it is stored.
  • 27. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Document Store NoSQL Database The database uses complex graph structures complete with the ability to define edges, nodes and node properties. This not only gives greater abilities in querying relational data but also provide index-free searches, a problem that plagues previously mentioned NoSQL types.
  • 28. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Graph Base NoSQL Database Graph based databases are enormously useful in applications that have connected data, such as ➔ social networks, ➔ routing infocenters, ➔ recommendation engine applications, spatial data and mapping applications ➔ and other applications requiring unique key relations.
  • 29. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Graph Base NoSQL Database App developers avoid document store if ➔ They have to run complex search queries on values ➔ Some data have to be stored that have no defines relations ➔ Require careful handling so that database does not become inconsistent on scaling
  • 30. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Graph Base NoSQL Database
  • 31. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 The Combination Solutions
  • 32. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 The Combination Solutions Though there are various types of databases, it is not advisable nor is it the norm to opt for a single database. More popularly, and as much sensibly, it’s the idea of using more than one database which does the trick.
  • 33. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 The Combination Solutions For example in a social network app it is best to use a Graph Database to manage connections and Document Database for managing profile and post data.
  • 34. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 The Combination Solution EXPERTS To know more which combination is the best for your application, let the database experts study your case and come up with the best suggestions for your model.
  • 35. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 Snehesh Mitra Author Director Mobile Technologies Snehesh is leading the mobility business development function, mobility strategy and consulting practice at Algoworks. He is an expert of all mobile technologies and has experience in managing teams involved in the development of custom iPhone/iPad/Android apps. He has special interest in mobile industry and cross platform technologies. In the past, Snehesh founded reality technology company to connect buyers and real estate builders and brokers. He holds a graduate degree in Electronics and Electrical Engineering from the Indian Institute of Technology, Kharagpur.
  • 36. sales@algoworks.com Toll Free : +1-877-284-1028sales@algoworks.com Toll Free : +1-877-284-1028 THANK YOU Learn about how Algoworks can help your business! Call us at : +1-877-284-1028 Mail us at: sales@algoworks.com support@algoworks.com Official : Blog Link