SlideShare a Scribd company logo
NoSQL Databases
By Carlos Alberto Benitez - @betustwit
What is NoSQL?
Relational databases, were not designed to work with the scale and
agility challenges that face modern applications, nor were they built to
take advantage of the storage and processing power available today.
NoSQL involves a wide variety of different database technologies that
were developed in response to a rise in the volume of data stored and
performance and processing needs.
What is NoSQL?
NoSQL technology was pioneered by leading internet companies how
Google, Amazon, Facebook and LinkedIn.
NoSQL is frequently called Not Only SQL, since it is not always
necessary to use structured queries for data access.
The NoSQL was designed to store and manage large volume of data
with a response time of less than relational databases where the
read/write operations are very optimized.
Motivations for this approach include simplicity of design, horizontal
scaling and data availability.
Why NoSQL?
• Is more efficient that Relational DB.
• Sharing and replication are simply.
• The NoSQL are more tolerant to fails.
• Focused to horizontal scalability.
• The relational model takes data and separates it into many
interrelated tables that contain rows and columns with one
structure defined, in NoSQL this is not necessary.
• Schema free (Dynamic schema).
• High data velocity (read/write optimizations).
• Allow storage of data that is structured, semi-structured and
unstructured.
Why NoSQL?
• More capacity for manage big data volume.
• Data can be stored and managed in different locations (Sharding).
• Exists many alternatives Open source.
When use NoSQL?
• NoSQL solves the performance of relational databases for handling
large volumes of data.
• NoSQL is especially useful when an enterprise needs to access and
analyze massive amounts of unstructured data.
Types (Classified by data store)
Category DB Open Source
Column families
Cassandra Yes
Hypertable Yes
Hadoop Yes
Document
MongoDB Yes
CouchDB Yes
RavenDB Yes
Key-Value
Redis Yes
Riak Yes
DynamoDB No
Graph
Neo4j Yes
HyperGraphDB No
InfoGrid Yes
Object
Db4o Yes
EyeDB Yes
Perst Yes
NoSQL Databases List
http://nosql-database.org
MongoDB
MongoDB is a document database that provides high performance,
high availability and easy scalability.
Each element are stored how documents in collections.
MongoDB supports dynamic schema design, allowing the documents in
a collection to have different fields and structures.
Site: http://www.mongodb.org
Manual: http://docs.mongodb.org/manual
MongoDB - analogy
Relational DB MongoDB
Database Database
Tables Collections
Records Documents
Columns/fields Key-value pair
MongoDB - Document
MongoDB - Document
{
title: "MongoDB: The Definitive Guide",
author: [ "Kristina Chodorow", "Mike Dirolf" ],
published_date: ISODate("2010-09-24"),
pages: 216,
language: "English",
publisher: {
name: "O'Reilly Media",
founded: 1980,
location: "CA"
}
}
MongoDB - Sharding
Sharding is a method for storing data across multiple machines.
Redis DB
Redis is an open source, advanced key-value cache and store. It is
often referred to as a data structure server since keys can contain
strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.
Redis is an in-memory database.
Site: http://redis.io
Documentation: http://redis.io/documentation
Try Redis: http://try.redis.io
Redis DB - Persistence
RDB (Redis Data Base)
•The RDB persistence performs point-in-time snapshots of your
dataset at specified intervals.
•RDB is a very compact single-file (perfect for backups).
•RDB allows faster restarts with big datasets compared to AOF.
•RDB is NOT good for minimize the chance of data loss.
•The intervals can be configured on redis.conf file in the
SNAPSHOTTING section.
Redis DB – Persistence
AOF (Append Only File)
•The AOF logs every write operation received by the server.
•Commands are logged using the same format as the Redis protocol.
•It is possible to combine both AOF and RDB.
•The AOF log is an append only log (has not corruption problems if there
is a power outage).
•AOF contains a log of all the operations one after the other.
•AOF files are usually bigger than the equivalent RDB files for the same
dataset.
•Options: YES/NO (appendfsync: Always, Everysec, No).
Redis DB - Data Types
Strings: Are the most basic kind of Redis value, can contain any kind
of data, for instance a JPEG image. A String value can be at max 512
Megabytes in length.
Lists: Redis Lists are simply lists of strings, sorted by insertion order.
The max length of a list is 232 - 1 elements (more than 4 billion of
elements per list). Use: Model a timeline in a social network
Sets: Redis Sets are an unordered collection of Strings, Redis Sets
not allow repeated members. Is possible make unions, intersections,
differences of sets in very short time.
Redis DB - Data Types
Sorted Sets: Are similarly to Sets, the difference is that every
member of a Sorted Set is associated with score, that is used in order
to take the sorted set ordered. Use: Search engine how Google based
on score for results.
Hashes: Are the most similar to relational database structure. Are
maps between string fields and string values, so they are the perfect
data type to represent objects (eg: A User with a number of fields like
name, surname, age, and so forth)
Redis DB - Replication
Redis replication is a very simple to use and configure master-slave
replication that allows slave Redis servers to be exact copies of master
servers.
•Redis uses asynchronous replication.
•A master can have multiple slaves.
•Slaves are able to accept connections from other slaves.
•Replication is also non-blocking on the master and slave side.
Configuration (redis.conf -> REPLICATION)
slaveof <masterip> <masterport>
By Carlos Alberto Benitez - @betustwit
Ad

More Related Content

What's hot (20)

Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
Ram kumar
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
BADR
 
NoSQL
NoSQLNoSQL
NoSQL
Radu Potop
 
Appache Cassandra
Appache Cassandra  Appache Cassandra
Appache Cassandra
nehabsairam
 
10 mongo db
10 mongo db10 mongo db
10 mongo db
Ahmed Elbassel
 
NoSQL
NoSQLNoSQL
NoSQL
Radu Vunvulea
 
NoSql Data Management
NoSql Data ManagementNoSql Data Management
NoSql Data Management
sameerfaizan
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
Ashwani Kumar
 
NoSQL and MapReduce
NoSQL and MapReduceNoSQL and MapReduce
NoSQL and MapReduce
J Singh
 
Key-Value NoSQL Database
Key-Value NoSQL DatabaseKey-Value NoSQL Database
Key-Value NoSQL Database
Heman Hosainpana
 
Graph database
Graph database Graph database
Graph database
Shruti Arya
 
An Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDBAn Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDB
William LaForest
 
No sql databases
No sql databasesNo sql databases
No sql databases
Walaa Hamdy Assy
 
Graph Database
Graph DatabaseGraph Database
Graph Database
Richard Kuo
 
NoSQL Slideshare Presentation
NoSQL Slideshare Presentation NoSQL Slideshare Presentation
NoSQL Slideshare Presentation
Ericsson Labs
 
NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
Mohammed Fazuluddin
 
London HUG
London HUGLondon HUG
London HUG
Boudicca
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
Eduard Tudenhoefner
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
Ashish Karki
 
«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»
Olga Lavrentieva
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
Ram kumar
 
NoSQL Databases
NoSQL DatabasesNoSQL Databases
NoSQL Databases
BADR
 
Appache Cassandra
Appache Cassandra  Appache Cassandra
Appache Cassandra
nehabsairam
 
NoSql Data Management
NoSql Data ManagementNoSql Data Management
NoSql Data Management
sameerfaizan
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
Ashwani Kumar
 
NoSQL and MapReduce
NoSQL and MapReduceNoSQL and MapReduce
NoSQL and MapReduce
J Singh
 
An Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDBAn Introduction to Big Data, NoSQL and MongoDB
An Introduction to Big Data, NoSQL and MongoDB
William LaForest
 
NoSQL Slideshare Presentation
NoSQL Slideshare Presentation NoSQL Slideshare Presentation
NoSQL Slideshare Presentation
Ericsson Labs
 
London HUG
London HUGLondon HUG
London HUG
Boudicca
 
«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»«NoSQL Databases and Polyglot Persistence»
«NoSQL Databases and Polyglot Persistence»
Olga Lavrentieva
 

Viewers also liked (15)

KCB101 Assignment 2
KCB101 Assignment 2KCB101 Assignment 2
KCB101 Assignment 2
AELawrence
 
100th day of school
100th day of school100th day of school
100th day of school
Hannah McElroy
 
Actitud (1)2
Actitud (1)2Actitud (1)2
Actitud (1)2
Maria Jimenez
 
ICT Indicators in Brief December 2013
ICT Indicators in Brief December 2013ICT Indicators in Brief December 2013
ICT Indicators in Brief December 2013
Mahmoud A. Rabo
 
Desarrollo de sistemas con PHP y Redis
Desarrollo de sistemas con PHP y RedisDesarrollo de sistemas con PHP y Redis
Desarrollo de sistemas con PHP y Redis
Carlos Alberto Benitez
 
Media and comm storyboard slides
Media and comm storyboard slidesMedia and comm storyboard slides
Media and comm storyboard slides
AELawrence
 
Mdg africa report_2014_eng
Mdg africa report_2014_engMdg africa report_2014_eng
Mdg africa report_2014_eng
Elke HP Hannel
 
Freelancing 101 Workshop 2016
Freelancing 101 Workshop 2016Freelancing 101 Workshop 2016
Freelancing 101 Workshop 2016
Mahmoud A. Rabo
 
The Future of the Internet Economy Egypt 2014
The Future of the Internet Economy Egypt 2014The Future of the Internet Economy Egypt 2014
The Future of the Internet Economy Egypt 2014
Mahmoud A. Rabo
 
Social media workshop #s3geeks Day 1
Social media workshop #s3geeks Day 1Social media workshop #s3geeks Day 1
Social media workshop #s3geeks Day 1
Mahmoud A. Rabo
 
Linkedin workshop
Linkedin workshopLinkedin workshop
Linkedin workshop
Mahmoud A. Rabo
 
Subiecte rezolvate la examenul de Neurologie [REMASTERED]
Subiecte rezolvate la examenul de Neurologie [REMASTERED]Subiecte rezolvate la examenul de Neurologie [REMASTERED]
Subiecte rezolvate la examenul de Neurologie [REMASTERED]
Vyacheslav Moshin Jr
 
Freelance Workshop - ورشة عن العمل الحرّ
Freelance Workshop - ورشة عن العمل الحرّFreelance Workshop - ورشة عن العمل الحرّ
Freelance Workshop - ورشة عن العمل الحرّ
Mahmoud A. Rabo
 
Mind-mapping for Developers
Mind-mapping for DevelopersMind-mapping for Developers
Mind-mapping for Developers
Rey Mayson
 
How to -Become- a Great Designer
How to -Become- a Great DesignerHow to -Become- a Great Designer
How to -Become- a Great Designer
Rey Mayson
 
KCB101 Assignment 2
KCB101 Assignment 2KCB101 Assignment 2
KCB101 Assignment 2
AELawrence
 
ICT Indicators in Brief December 2013
ICT Indicators in Brief December 2013ICT Indicators in Brief December 2013
ICT Indicators in Brief December 2013
Mahmoud A. Rabo
 
Desarrollo de sistemas con PHP y Redis
Desarrollo de sistemas con PHP y RedisDesarrollo de sistemas con PHP y Redis
Desarrollo de sistemas con PHP y Redis
Carlos Alberto Benitez
 
Media and comm storyboard slides
Media and comm storyboard slidesMedia and comm storyboard slides
Media and comm storyboard slides
AELawrence
 
Mdg africa report_2014_eng
Mdg africa report_2014_engMdg africa report_2014_eng
Mdg africa report_2014_eng
Elke HP Hannel
 
Freelancing 101 Workshop 2016
Freelancing 101 Workshop 2016Freelancing 101 Workshop 2016
Freelancing 101 Workshop 2016
Mahmoud A. Rabo
 
The Future of the Internet Economy Egypt 2014
The Future of the Internet Economy Egypt 2014The Future of the Internet Economy Egypt 2014
The Future of the Internet Economy Egypt 2014
Mahmoud A. Rabo
 
Social media workshop #s3geeks Day 1
Social media workshop #s3geeks Day 1Social media workshop #s3geeks Day 1
Social media workshop #s3geeks Day 1
Mahmoud A. Rabo
 
Subiecte rezolvate la examenul de Neurologie [REMASTERED]
Subiecte rezolvate la examenul de Neurologie [REMASTERED]Subiecte rezolvate la examenul de Neurologie [REMASTERED]
Subiecte rezolvate la examenul de Neurologie [REMASTERED]
Vyacheslav Moshin Jr
 
Freelance Workshop - ورشة عن العمل الحرّ
Freelance Workshop - ورشة عن العمل الحرّFreelance Workshop - ورشة عن العمل الحرّ
Freelance Workshop - ورشة عن العمل الحرّ
Mahmoud A. Rabo
 
Mind-mapping for Developers
Mind-mapping for DevelopersMind-mapping for Developers
Mind-mapping for Developers
Rey Mayson
 
How to -Become- a Great Designer
How to -Become- a Great DesignerHow to -Become- a Great Designer
How to -Become- a Great Designer
Rey Mayson
 
Ad

Similar to NoSQL Databases (20)

the rising no sql technology
the rising no sql technologythe rising no sql technology
the rising no sql technology
INFOGAIN PUBLICATION
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docx
vvpadhu
 
unit2-ppt1.pptx
unit2-ppt1.pptxunit2-ppt1.pptx
unit2-ppt1.pptx
revathigollu23
 
Mongodb - NoSql Database
Mongodb - NoSql DatabaseMongodb - NoSql Database
Mongodb - NoSql Database
Prashant Gupta
 
NoSQL and MongoDB
NoSQL and MongoDBNoSQL and MongoDB
NoSQL and MongoDB
Rajesh Menon
 
Unit 3 MongDB
Unit 3 MongDBUnit 3 MongDB
Unit 3 MongDB
Praveen M Jigajinni
 
Mongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorialMongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorial
Mohan Rathour
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and Uses
Suvradeep Rudra
 
Nosql
NosqlNosql
Nosql
Muluken Sholaye Tesfaye
 
Unit-10.pptx
Unit-10.pptxUnit-10.pptx
Unit-10.pptx
GhanashyamBK1
 
Streaming Analytics Unit 5 notes for engineers
Streaming Analytics Unit 5 notes for engineersStreaming Analytics Unit 5 notes for engineers
Streaming Analytics Unit 5 notes for engineers
ManjuAppukuttan2
 
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
RushikeshChikane2
 
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjcljkfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
pitogojaymark50
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
Abiral Gautam
 
Selecting best NoSQL
Selecting best NoSQL Selecting best NoSQL
Selecting best NoSQL
Mohammed Fazuluddin
 
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdfNoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
SharmilaChidaravalli
 
Elasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparisonElasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparison
jeetendra mandal
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbms
AtulKabbur
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample material
Vskills
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
balwinders
 
Unit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docxUnit II -BIG DATA ANALYTICS.docx
Unit II -BIG DATA ANALYTICS.docx
vvpadhu
 
Mongodb - NoSql Database
Mongodb - NoSql DatabaseMongodb - NoSql Database
Mongodb - NoSql Database
Prashant Gupta
 
Mongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorialMongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorial
Mohan Rathour
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and Uses
Suvradeep Rudra
 
Streaming Analytics Unit 5 notes for engineers
Streaming Analytics Unit 5 notes for engineersStreaming Analytics Unit 5 notes for engineers
Streaming Analytics Unit 5 notes for engineers
ManjuAppukuttan2
 
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
RushikeshChikane2
 
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjcljkfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
kfddnloiujhfsgklllmnbfhigldktktktkykydlhjjclj
pitogojaymark50
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
Abiral Gautam
 
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdfNoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
SharmilaChidaravalli
 
Elasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparisonElasticsearch vs MongoDB comparison
Elasticsearch vs MongoDB comparison
jeetendra mandal
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbms
AtulKabbur
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample material
Vskills
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
balwinders
 
Ad

Recently uploaded (20)

Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 
Exploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the FutureExploring Wayland: A Modern Display Server for the Future
Exploring Wayland: A Modern Display Server for the Future
ICS
 
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and CollaborateMeet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Meet the Agents: How AI Is Learning to Think, Plan, and Collaborate
Maxim Salnikov
 
PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025PDF Reader Pro Crack Latest Version FREE Download 2025
PDF Reader Pro Crack Latest Version FREE Download 2025
mu394968
 
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage DashboardsAdobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
Adobe Marketo Engage Champion Deep Dive - SFDC CRM Synch V2 & Usage Dashboards
BradBedford3
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
Download YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full ActivatedDownload YouTube By Click 2025 Free Full Activated
Download YouTube By Click 2025 Free Full Activated
saniamalik72555
 
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AIScaling GraphRAG:  Efficient Knowledge Retrieval for Enterprise AI
Scaling GraphRAG: Efficient Knowledge Retrieval for Enterprise AI
danshalev
 
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...Exploring Code Comprehension  in Scientific Programming:  Preliminary Insight...
Exploring Code Comprehension in Scientific Programming: Preliminary Insight...
University of Hawai‘i at Mānoa
 
Expand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchangeExpand your AI adoption with AgentExchange
Expand your AI adoption with AgentExchange
Fexle Services Pvt. Ltd.
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Not So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java WebinarNot So Common Memory Leaks in Java Webinar
Not So Common Memory Leaks in Java Webinar
Tier1 app
 
Top 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docxTop 10 Client Portal Software Solutions for 2025.docx
Top 10 Client Portal Software Solutions for 2025.docx
Portli
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRYLEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
LEARN SEO AND INCREASE YOUR KNOWLDGE IN SOFTWARE INDUSTRY
NidaFarooq10
 
Societal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainabilitySocietal challenges of AI: biases, multilinguism and sustainability
Societal challenges of AI: biases, multilinguism and sustainability
Jordi Cabot
 
Solidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license codeSolidworks Crack 2025 latest new + license code
Solidworks Crack 2025 latest new + license code
aneelaramzan63
 
FL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full VersionFL Studio Producer Edition Crack 2025 Full Version
FL Studio Producer Edition Crack 2025 Full Version
tahirabibi60507
 

NoSQL Databases

  • 1. NoSQL Databases By Carlos Alberto Benitez - @betustwit
  • 2. What is NoSQL? Relational databases, were not designed to work with the scale and agility challenges that face modern applications, nor were they built to take advantage of the storage and processing power available today. NoSQL involves a wide variety of different database technologies that were developed in response to a rise in the volume of data stored and performance and processing needs.
  • 3. What is NoSQL? NoSQL technology was pioneered by leading internet companies how Google, Amazon, Facebook and LinkedIn. NoSQL is frequently called Not Only SQL, since it is not always necessary to use structured queries for data access. The NoSQL was designed to store and manage large volume of data with a response time of less than relational databases where the read/write operations are very optimized. Motivations for this approach include simplicity of design, horizontal scaling and data availability.
  • 4. Why NoSQL? • Is more efficient that Relational DB. • Sharing and replication are simply. • The NoSQL are more tolerant to fails. • Focused to horizontal scalability. • The relational model takes data and separates it into many interrelated tables that contain rows and columns with one structure defined, in NoSQL this is not necessary. • Schema free (Dynamic schema). • High data velocity (read/write optimizations). • Allow storage of data that is structured, semi-structured and unstructured.
  • 5. Why NoSQL? • More capacity for manage big data volume. • Data can be stored and managed in different locations (Sharding). • Exists many alternatives Open source.
  • 6. When use NoSQL? • NoSQL solves the performance of relational databases for handling large volumes of data. • NoSQL is especially useful when an enterprise needs to access and analyze massive amounts of unstructured data.
  • 7. Types (Classified by data store) Category DB Open Source Column families Cassandra Yes Hypertable Yes Hadoop Yes Document MongoDB Yes CouchDB Yes RavenDB Yes Key-Value Redis Yes Riak Yes DynamoDB No Graph Neo4j Yes HyperGraphDB No InfoGrid Yes Object Db4o Yes EyeDB Yes Perst Yes
  • 9. MongoDB MongoDB is a document database that provides high performance, high availability and easy scalability. Each element are stored how documents in collections. MongoDB supports dynamic schema design, allowing the documents in a collection to have different fields and structures. Site: http://www.mongodb.org Manual: http://docs.mongodb.org/manual
  • 10. MongoDB - analogy Relational DB MongoDB Database Database Tables Collections Records Documents Columns/fields Key-value pair
  • 12. MongoDB - Document { title: "MongoDB: The Definitive Guide", author: [ "Kristina Chodorow", "Mike Dirolf" ], published_date: ISODate("2010-09-24"), pages: 216, language: "English", publisher: { name: "O'Reilly Media", founded: 1980, location: "CA" } }
  • 13. MongoDB - Sharding Sharding is a method for storing data across multiple machines.
  • 14. Redis DB Redis is an open source, advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs. Redis is an in-memory database. Site: http://redis.io Documentation: http://redis.io/documentation Try Redis: http://try.redis.io
  • 15. Redis DB - Persistence RDB (Redis Data Base) •The RDB persistence performs point-in-time snapshots of your dataset at specified intervals. •RDB is a very compact single-file (perfect for backups). •RDB allows faster restarts with big datasets compared to AOF. •RDB is NOT good for minimize the chance of data loss. •The intervals can be configured on redis.conf file in the SNAPSHOTTING section.
  • 16. Redis DB – Persistence AOF (Append Only File) •The AOF logs every write operation received by the server. •Commands are logged using the same format as the Redis protocol. •It is possible to combine both AOF and RDB. •The AOF log is an append only log (has not corruption problems if there is a power outage). •AOF contains a log of all the operations one after the other. •AOF files are usually bigger than the equivalent RDB files for the same dataset. •Options: YES/NO (appendfsync: Always, Everysec, No).
  • 17. Redis DB - Data Types Strings: Are the most basic kind of Redis value, can contain any kind of data, for instance a JPEG image. A String value can be at max 512 Megabytes in length. Lists: Redis Lists are simply lists of strings, sorted by insertion order. The max length of a list is 232 - 1 elements (more than 4 billion of elements per list). Use: Model a timeline in a social network Sets: Redis Sets are an unordered collection of Strings, Redis Sets not allow repeated members. Is possible make unions, intersections, differences of sets in very short time.
  • 18. Redis DB - Data Types Sorted Sets: Are similarly to Sets, the difference is that every member of a Sorted Set is associated with score, that is used in order to take the sorted set ordered. Use: Search engine how Google based on score for results. Hashes: Are the most similar to relational database structure. Are maps between string fields and string values, so they are the perfect data type to represent objects (eg: A User with a number of fields like name, surname, age, and so forth)
  • 19. Redis DB - Replication Redis replication is a very simple to use and configure master-slave replication that allows slave Redis servers to be exact copies of master servers. •Redis uses asynchronous replication. •A master can have multiple slaves. •Slaves are able to accept connections from other slaves. •Replication is also non-blocking on the master and slave side. Configuration (redis.conf -> REPLICATION) slaveof <masterip> <masterport>
  • 20. By Carlos Alberto Benitez - @betustwit