SlideShare ist ein Scribd-Unternehmen logo
1 von 32
NoSQL
It’s about making intelligent choices
The Relation Model
•

•
•
•
•
•
•
•
•

Simplicity and Elegance
Well Understood
Very Powerful Abstraction
Solve Many Storage Problem (Persistent Data)
Concurrency
Integration
A Mostly Standard Model
…
But It also has its Limitation…
Business Database
Issues With Implementing A Relational Database
•

Agility and Programmability (Impedance Mismatch)
• Flexibility
• Performance and Scalability
• Availability
NoSQL Business Drivers
NoSQL
No SQL
Not Only SQL
Non-relational Database
Key/Value Store
Typical Usage
•

Image Stores
• Key-Based File Systems
• Object Cache
• Systems Designed to Scale
Key/Value Store
•

•
•
•

•
•

BerkeleyDB
LevelDB
Memcached
Project Voldemort
Redis
Riak
Document Database
Typical Usage
•

Web Crawler Results
• Big Data Problems That Can Relax Consistency Rules
Document Database
•

•
•
•

•

CouchDB
MongoDB
OrientDB
RavenDB
Terrastore
Column Family
Typical Usage
•

•
•
•

•

High-Variability Data
Document Search
Integration Hubs
Web Content Management
Publishing
Column Family
•

Amazon SimpleDB
• Cassandra
• Hbase
• HyperTable
Graph Database
Typical Usage
•

Social Networks
• Fraud Detection
• Relationship-Heavy Data
Graph Database
•

•
•
•

•

FlockDB
HyperGraphDB
InfiniteGraph
Neo4J
OrientDB
Common Features of NoSQL Databases
•

Designing Aggregations
•

•

Materializing Summary Data
•

•

Sharding

Improving Consistency
•

•

Clusters

Improving Scalability and Reducing Network Latency
•

•

Map/Reduce

Implementing High Availability
•

•

An aggregate in a NoSQL database is similar to a row in a table in a
relational database

Data Versioning

Schemas and Non-Uniformity
NoSQL
Case Studies
LiveJournal’s Memcache
LiveJournal’s Memcache
•

Driver
•

•

Need to increase performance of database queries.

Finding
•

By using hashing and caching, data in RAM can be shared.
This cuts down the number of read requests sent to the
database, increasing performance.
Google’s MapReduce
MapReduce Example – Word Count
Google’s MapReduce
•

Driver
•

Need to index billions of web pages for search using low-cost
hardware.

• Finding
• By using parallel processing, indexing billions of web pages
can be done quickly with a large number of commodity
processors.
Google BigTable
•

Driver
•

Need to flexibly store tabular data in a distributed system.

• Finding
• By using a sparse matrix approach, users can think of all
data as being stored in a single table with billions of rows
and millions of columns without the need for up-front data
modeling.
Amazon’s Dynamo
Amazon’s Dynamo
•

Driver
•

Need to accept a web order 24 hours a day, 7 days a week.

• Finding
•

A key-value store with a simple interface can be replicated
even when there are large volumes of data to be processed.
Polyglot Persistence
Key Points
•

•

•

•

Relational databases have been a successful technology for twenty
years, providing persistence, concurrency control, and an integration
mechanism.
Application developers have been frustrated with the impedance
mismatch between the relational model and the in-memory data
structures.
There is a movement away from using databases as integration points
towards encapsulating databases within applications and integrating
through services.
The most important result of the rise of NoSQL is Polyglot Persistence.
Key Points
•

•

•

The vital factor for a change in data storage was the need to support
large volumes of data by running on clusters. Relational databases are
not designed to run efficiently on clusters.
NoSQL is an accidental neologism. There is no prescriptive
definition—all you can make is an observation of common
characteristics.
The common characteristics of NoSQL databases are
•
•
•
•
•

Not using the relational model
Running well on clusters
Open Source
Built for the 21st century web estates
Schemaless

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Maxis Alchemize imug 2017
Maxis Alchemize imug 2017Maxis Alchemize imug 2017
Maxis Alchemize imug 2017
 
Choosing data warehouse considerations
Choosing data warehouse considerationsChoosing data warehouse considerations
Choosing data warehouse considerations
 
A 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with SnowflakeA 30 day plan to start ending your data struggle with Snowflake
A 30 day plan to start ending your data struggle with Snowflake
 
Delivering rapid-fire Analytics with Snowflake and Tableau
Delivering rapid-fire Analytics with Snowflake and TableauDelivering rapid-fire Analytics with Snowflake and Tableau
Delivering rapid-fire Analytics with Snowflake and Tableau
 
Overview di MongoDB
Overview di MongoDBOverview di MongoDB
Overview di MongoDB
 
Postgres Integrates Effectively in the "Enterprise Sandbox"
Postgres Integrates Effectively in the "Enterprise Sandbox"Postgres Integrates Effectively in the "Enterprise Sandbox"
Postgres Integrates Effectively in the "Enterprise Sandbox"
 
Java enterprise development framework
Java enterprise development frameworkJava enterprise development framework
Java enterprise development framework
 
Snowflake + Syncsort: Get Value from Your Mainframe Data
Snowflake + Syncsort: Get Value from Your Mainframe DataSnowflake + Syncsort: Get Value from Your Mainframe Data
Snowflake + Syncsort: Get Value from Your Mainframe Data
 
NoSQL Architecture Overview
NoSQL Architecture OverviewNoSQL Architecture Overview
NoSQL Architecture Overview
 
NoSQL Engines Meetup Opening Slides
NoSQL Engines Meetup Opening SlidesNoSQL Engines Meetup Opening Slides
NoSQL Engines Meetup Opening Slides
 
Offload, Transform, and Present - the New World of Data Integration
Offload, Transform, and Present - the New World of Data IntegrationOffload, Transform, and Present - the New World of Data Integration
Offload, Transform, and Present - the New World of Data Integration
 
Database management system (dbms)
Database management system (dbms)Database management system (dbms)
Database management system (dbms)
 
Topic1
Topic1Topic1
Topic1
 
Obia Online Training
Obia Online TrainingObia Online Training
Obia Online Training
 
Platform for Data Scientists
Platform for Data ScientistsPlatform for Data Scientists
Platform for Data Scientists
 
Difficult to processed by
Difficult to processed byDifficult to processed by
Difficult to processed by
 
NoSQL
NoSQLNoSQL
NoSQL
 
Accelerate Data Science Initiatives: Databricks & Privacera
Accelerate Data Science Initiatives: Databricks & PrivaceraAccelerate Data Science Initiatives: Databricks & Privacera
Accelerate Data Science Initiatives: Databricks & Privacera
 
Rdbms vs. no sql
Rdbms vs. no sqlRdbms vs. no sql
Rdbms vs. no sql
 
PSSUG Nov 2012: Big Data with SQL Server
PSSUG Nov 2012: Big Data with SQL ServerPSSUG Nov 2012: Big Data with SQL Server
PSSUG Nov 2012: Big Data with SQL Server
 

Ähnlich wie Introduction to no sql database

NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
Adi Challa
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
Qian Lin
 
Presentation Presentation Presentation Presentation Presentation
Presentation Presentation Presentation Presentation PresentationPresentation Presentation Presentation Presentation Presentation
Presentation Presentation Presentation Presentation Presentation
bangel105
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
Rahul Borate
 

Ähnlich wie Introduction to no sql database (20)

NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
 
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
 
introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Database
 
Chapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choicesChapter1: NoSQL: It’s about making intelligent choices
Chapter1: NoSQL: It’s about making intelligent choices
 
Nosql data models
Nosql data modelsNosql data models
Nosql data models
 
NoSQL-Overview
NoSQL-OverviewNoSQL-Overview
NoSQL-Overview
 
Intro to Big Data
Intro to Big DataIntro to Big Data
Intro to Big Data
 
NoSql Brownbag
NoSql BrownbagNoSql Brownbag
NoSql Brownbag
 
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
A Survey of Advanced Non-relational Database Systems: Approaches and Applicat...
 
No SQL
No SQLNo SQL
No SQL
 
Presentation Presentation Presentation Presentation Presentation
Presentation Presentation Presentation Presentation PresentationPresentation Presentation Presentation Presentation Presentation
Presentation Presentation Presentation Presentation Presentation
 
Evolution of Distributed Database Technologies in the Digital era
Evolution of Distributed Database Technologies in the Digital eraEvolution of Distributed Database Technologies in the Digital era
Evolution of Distributed Database Technologies in the Digital era
 
NoSQL Simplified: Schema vs. Schema-less
NoSQL Simplified: Schema vs. Schema-lessNoSQL Simplified: Schema vs. Schema-less
NoSQL Simplified: Schema vs. Schema-less
 
Revision
RevisionRevision
Revision
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
An overview of modern scalable web development
An overview of modern scalable web developmentAn overview of modern scalable web development
An overview of modern scalable web development
 
noSQL choices
noSQL choicesnoSQL choices
noSQL choices
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 How to use Big Data and Data Lake concept in business using Hadoop and Spark... How to use Big Data and Data Lake concept in business using Hadoop and Spark...
How to use Big Data and Data Lake concept in business using Hadoop and Spark...
 
When to Use MongoDB...and When You Should Not...
When to Use MongoDB...and When You Should Not...When to Use MongoDB...and When You Should Not...
When to Use MongoDB...and When You Should Not...
 

Kürzlich hochgeladen

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Kürzlich hochgeladen (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

Introduction to no sql database