SlideShare a Scribd company logo
Presented by:
Chandan Malik (801431006)
NO SQL- Non Relational Database
• No SQL provides a mechanism for storage and
retrieval of data that is modelled in means
other than tabular relations.
Why Cloud Data Stores
 Explosion of social media sites (Facebook,
Twitter) with large data needs
 Explosion of storage needs in large web sites
such as Google, Yahoo
 Much of the data is not files
 Rise of cloud-based solutions such as Amazon
S3 (simple storage solution)
 Shift to dynamically-typed data with frequent
schema changes
Scaling
 Best way to provide ACID and a rich query model is
to have the dataset on a single machine
 RDBMS were not designed to be distributed
 As database grows, rate of number of transactions
per second falls.
 One solution is partitioning of large tables that is to
scale out the database across a cluster of separate
database servers.
What is No SQL ?
 Stands for Not Only SQL
 Class of non-relational data storage systems
 Usually do not require a fixed table schema
 Do not use the concept of joins which are expensive
operations.
 Lack ACID ( Atomicity, Consistency, Isolation,
Durability) properties.
 Leading users of NoSQL datastores are social
networking sites such as Twitter, Facebook, LinkedIn
 It's not a replacement for a RDBMS but compliments
it
CAP Theorem
 CAP theorem states that it is impossible for any
shared data system to simultaneously hold these
three properties:
1. Consistency ( all nodes see same data at the same
time)
2. Availability ( guarantee that every request receives
a response )
3. Partition ( Partitioning or distributing the
database)
 You can have at most two of these three properties
CAP Theorem
 To scale out, you have to partition. That leaves
either consistency or availability to choose from,
Choose a specific approach based on the needs of
the service.
 CAP Theorem states: Strict Consistency can't be
achieved at the same time as availability and
partition-tolerance.
 When no updates occur for a long period of time,
eventually all updates will propagate through the
system and all the nodes will be eventually
consistent
BASE
 Scalability and better performance of No SQL is
achieved by sacrificing ACID properties.
 No SQL is having BASE compatibility
BA – Basically available
S – Soft State
E- Eventually consistent
Basically Available - system seems to work all the time
Soft State - it doesn't have to be consistent all the time
Eventually Consistent - becomes consistent at some
later time
Types of No Sql databases
1. Key-value data model
2. Document-data model
3. Column family data model
4. Graph data model
Key-Value Data model
 It has a Big Hash Table of keys & values
Key-Value Data model
 The key can be auto-generated while the value can be
String, JSON, BLOB (basic large object) etc
 This key/value type database allow clients to read and
write values using the key as follows:
1. get(key) -- Extract the value given a key
2. put(key, value) -- Create or update the value given
its key
3. delete(key) -- Remove the key and its associated
value
4. execute(key, operation, parameters) -- Invoke an
operation to the value (given its key) which is a
special data structure (e.g. List, Set, Map .... etc).
Key-Value Data model
 Performance is enhanced to a great degree because of
the cache mechanisms that accompany the mappings
 Eg: Amazon DynamoDB is a fully managed
proprietary No SQL database service that is offered
by Amazon.com as part of the Amazon Web
Services portfolio
No SQL distinguishing Characteristics
 Suitable for applications that supports large amount of
unstructured data.
 Schema-less
 Do not support Joins
 Do not follow ACID properties
 Scalable
 Data is replicated to multiple nodes (therefore
identical and fault-tolerant) and can be partitioned
THANK YOU

More Related Content

ODP
Nosql availability & integrity
DOCX
Android project (1)
PPTX
PPTX
Introduction to database with ms access.hetvii
PPTX
SQL interview questions jeetendra mandal - part 5
PPTX
SQL interview questions by Jeetendra Mandal - part 2
PPTX
SQL interview questions by jeetendra mandal - part 4
PPTX
Cassandra basics
Nosql availability & integrity
Android project (1)
Introduction to database with ms access.hetvii
SQL interview questions jeetendra mandal - part 5
SQL interview questions by Jeetendra Mandal - part 2
SQL interview questions by jeetendra mandal - part 4
Cassandra basics

What's hot (20)

PDF
Mysql
PPTX
Is2215 lecture7 lecturer_ado_intro
PDF
NoSql Introduction
PPT
Databases
PDF
Deductive Databases
PPTX
ETL Assistant Screenshots
PPT
Three tier Architecture of ASP_Net
PPT
ado.net
PPTX
Stateful data serialization
PPT
MySQL and its basic commands
PPT
Databases
PPT
Databases
PPTX
Active database system
PPTX
U-SQL Federated Distributed Queries (SQLBits 2016)
DOCX
Mca3020 advanced database management system
DOC
Sql server-dba
PPTX
SWL 8
DOCX
Mca3020 advanced database management system
PPTX
Cassandra20141009
Mysql
Is2215 lecture7 lecturer_ado_intro
NoSql Introduction
Databases
Deductive Databases
ETL Assistant Screenshots
Three tier Architecture of ASP_Net
ado.net
Stateful data serialization
MySQL and its basic commands
Databases
Databases
Active database system
U-SQL Federated Distributed Queries (SQLBits 2016)
Mca3020 advanced database management system
Sql server-dba
SWL 8
Mca3020 advanced database management system
Cassandra20141009
Ad

Viewers also liked (16)

PDF
333 تقنية للتدريب والإلقاء المؤثر
PPTX
Presentación 5ta - 6ta RLT
DOCX
PPTX
07-1 КГ Устройства ввода
PDF
Algebr310klgdzukr7777
PPT
Sarah Ahearn | Powerpoint
PPTX
160212 milkcocoa azure 2
PPT
Seminario de ca de pulmon
PPT
Quadratic equations that factorise
PDF
Guía_física_química_2do_b1
DOCX
Parque biotematico megua
PPTX
Vase - Danimarca, Italia
PPT
View stormers vs rebels live here
DOC
Deus... em busca de um feedback...
PPT
How can i stream live stormers vs rebels
PPT
How to watch stormers vs rebels on mac
333 تقنية للتدريب والإلقاء المؤثر
Presentación 5ta - 6ta RLT
07-1 КГ Устройства ввода
Algebr310klgdzukr7777
Sarah Ahearn | Powerpoint
160212 milkcocoa azure 2
Seminario de ca de pulmon
Quadratic equations that factorise
Guía_física_química_2do_b1
Parque biotematico megua
Vase - Danimarca, Italia
View stormers vs rebels live here
Deus... em busca de um feedback...
How can i stream live stormers vs rebels
How to watch stormers vs rebels on mac
Ad

Similar to no sql presentation (20)

PPTX
Erciyes university
PPTX
nosql.pptx
PPTX
UNIT I Introduction to NoSQL.pptx
PPTX
UNIT I Introduction to NoSQL.pptx
PPTX
introduction to NOSQL Database
PPTX
Master.pptx
PPT
05 No SQL Sudarshan.ppt
PPT
No SQL Databases.ppt
PPT
No SQL Databases sdfghjkl;sdfghjkl;sdfghjkl;'
PPT
6269441.ppt
PPTX
NoSQL(NOT ONLY SQL)
PPTX
Introduction to Data Science NoSQL.pptx
PPTX
Relational and non relational database 7
PPTX
Presentation on NoSQL Database related RDBMS
PPTX
gayathrinosql.pptx
PPT
No SQL Databases as modern database concepts
PPTX
NOSQL PRESENTATION ON INTRRODUCTION Intro.pptx
PPTX
Introduction to asdfghjkln b vfgh n v
PPTX
Presentation on NOSQL and mongodb .pptx
PDF
NoSql and it's introduction features-Unit-1.pdf
Erciyes university
nosql.pptx
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
introduction to NOSQL Database
Master.pptx
05 No SQL Sudarshan.ppt
No SQL Databases.ppt
No SQL Databases sdfghjkl;sdfghjkl;sdfghjkl;'
6269441.ppt
NoSQL(NOT ONLY SQL)
Introduction to Data Science NoSQL.pptx
Relational and non relational database 7
Presentation on NoSQL Database related RDBMS
gayathrinosql.pptx
No SQL Databases as modern database concepts
NOSQL PRESENTATION ON INTRRODUCTION Intro.pptx
Introduction to asdfghjkln b vfgh n v
Presentation on NOSQL and mongodb .pptx
NoSql and it's introduction features-Unit-1.pdf

Recently uploaded (20)

PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
1_English_Language_Set_2.pdf probationary
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Introduction to Building Materials
PDF
Empowerment Technology for Senior High School Guide
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Computing-Curriculum for Schools in Ghana
PDF
Complications of Minimal Access Surgery at WLH
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
History, Philosophy and sociology of education (1).pptx
Digestion and Absorption of Carbohydrates, Proteina and Fats
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Final Presentation General Medicine 03-08-2024.pptx
A systematic review of self-coping strategies used by university students to ...
1_English_Language_Set_2.pdf probationary
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Final Presentation General Medicine 03-08-2024.pptx
Introduction to Building Materials
Empowerment Technology for Senior High School Guide
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
What if we spent less time fighting change, and more time building what’s rig...
Computing-Curriculum for Schools in Ghana
Complications of Minimal Access Surgery at WLH
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
UNIT III MENTAL HEALTH NURSING ASSESSMENT
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Orientation - ARALprogram of Deped to the Parents.pptx
History, Philosophy and sociology of education (1).pptx

no sql presentation

  • 2. NO SQL- Non Relational Database • No SQL provides a mechanism for storage and retrieval of data that is modelled in means other than tabular relations.
  • 3. Why Cloud Data Stores  Explosion of social media sites (Facebook, Twitter) with large data needs  Explosion of storage needs in large web sites such as Google, Yahoo  Much of the data is not files  Rise of cloud-based solutions such as Amazon S3 (simple storage solution)  Shift to dynamically-typed data with frequent schema changes
  • 4. Scaling  Best way to provide ACID and a rich query model is to have the dataset on a single machine  RDBMS were not designed to be distributed  As database grows, rate of number of transactions per second falls.  One solution is partitioning of large tables that is to scale out the database across a cluster of separate database servers.
  • 5. What is No SQL ?  Stands for Not Only SQL  Class of non-relational data storage systems  Usually do not require a fixed table schema  Do not use the concept of joins which are expensive operations.  Lack ACID ( Atomicity, Consistency, Isolation, Durability) properties.  Leading users of NoSQL datastores are social networking sites such as Twitter, Facebook, LinkedIn  It's not a replacement for a RDBMS but compliments it
  • 6. CAP Theorem  CAP theorem states that it is impossible for any shared data system to simultaneously hold these three properties: 1. Consistency ( all nodes see same data at the same time) 2. Availability ( guarantee that every request receives a response ) 3. Partition ( Partitioning or distributing the database)  You can have at most two of these three properties
  • 7. CAP Theorem  To scale out, you have to partition. That leaves either consistency or availability to choose from, Choose a specific approach based on the needs of the service.  CAP Theorem states: Strict Consistency can't be achieved at the same time as availability and partition-tolerance.  When no updates occur for a long period of time, eventually all updates will propagate through the system and all the nodes will be eventually consistent
  • 8. BASE  Scalability and better performance of No SQL is achieved by sacrificing ACID properties.  No SQL is having BASE compatibility BA – Basically available S – Soft State E- Eventually consistent Basically Available - system seems to work all the time Soft State - it doesn't have to be consistent all the time Eventually Consistent - becomes consistent at some later time
  • 9. Types of No Sql databases 1. Key-value data model 2. Document-data model 3. Column family data model 4. Graph data model
  • 10. Key-Value Data model  It has a Big Hash Table of keys & values
  • 11. Key-Value Data model  The key can be auto-generated while the value can be String, JSON, BLOB (basic large object) etc  This key/value type database allow clients to read and write values using the key as follows: 1. get(key) -- Extract the value given a key 2. put(key, value) -- Create or update the value given its key 3. delete(key) -- Remove the key and its associated value 4. execute(key, operation, parameters) -- Invoke an operation to the value (given its key) which is a special data structure (e.g. List, Set, Map .... etc).
  • 12. Key-Value Data model  Performance is enhanced to a great degree because of the cache mechanisms that accompany the mappings  Eg: Amazon DynamoDB is a fully managed proprietary No SQL database service that is offered by Amazon.com as part of the Amazon Web Services portfolio
  • 13. No SQL distinguishing Characteristics  Suitable for applications that supports large amount of unstructured data.  Schema-less  Do not support Joins  Do not follow ACID properties  Scalable  Data is replicated to multiple nodes (therefore identical and fault-tolerant) and can be partitioned