SlideShare una empresa de Scribd logo
1 de 22
NOSQL DATABASES
Navdeep Charan
MCA VI Semester
Contents
 Introduction
 What is NoSQL
 Need of NoSQL
 NoSQL Database Types
 ACIDs & BASEs
 CAP Theorem
 Advantages of NoSQL
 What is not provided by NoSQL
 Where to use NoSQL
 Conclusion
 References
2/22
Introduction
30, 40 years history of well-established database technology… all in vain? Not at all!
But both setups and demands have drastically changed:
 main memory and CPU speed have exploded, compared to the time when System R
(the mother of all RDBMS) was developed.
 at the same time, huge amounts of data are now handled in real-time.
 both data and use cases are getting more and more dynamic.
 social networks (relying on graph data) have gained impressive momentum.
 full-texts have always been treated shabbily by relational DBMS.
3/22
What is NoSQL?
 Stands for Not Only SQL. Term was redefined by Eric Evans after Carlo Strozzi.
 Class of non-relational data storage systems.
 Do not require a fixed table schema nor do they use the concept of joins.
 Relaxation for one or more of the ACID properties (Atomicity, Consistency, Isolation,
Durability) using CAP theorem.
Wikipedia’s Definition:
 “A NoSQL database provides a mechanism for storage and retrieval of data that is
modeled in means other than the tabular relations used in relational databases."
4/22
Need of NoSQL
 Explosion of social media sites (Facebook, Twitter, Google etc.) with large data
needs. (Sharding is a problem)
 Rise of cloud-based solutions such as Amazon S3. (simple storage solution)
 Just as moving to dynamically-typed languages (Ruby/Groovy), a shift to
dynamically-typed data with frequent schema changes.
 Expansion of Open-source community.
 NoSQL solution is more acceptable to a client now than a year ago.
5/22
NoSQL Database Types
NoSQL database are classified into four types:
 Key Value pair based.
 Column based.
 Document based.
 Graph based.
6/22
NoSQL Database Types (Key Value pair based)
 Designed for processing dictionary. Dictionaries
contain a collection of records having fields
containing data.
 Records are stored and retrieved using a key
that uniquely identifies the record, and is used
to quickly find the data within the database.
Example: CouchDB, Oracle NoSQL Database, Riak etc.
We use it for storing session information, user profiles,
preferences, shopping cart data.
We would avoid it when we need to query data having
relationships between entities.
7/22
Contd.
8/22
NoSQL Database Types (Column based)
We use it for content management systems, blogging platforms, log aggregation.
We would avoid it for systems that are in early development, changing query patterns.
 It store data as Column families
containing rows that have many
columns associated with a row key.
Each row can have different
columns.
 Column families are groups of
related data that is accessed
together.
Example: Cassandra, HBase,
Hypertable, and Amazon DynamoDB.
9/22
Contd.
10/22
NoSQL Database Types (Document based)
 The database stores and retrieves
documents. It stores documents in the
value part of the key-value store.
 Self- describing, hierarchical tree data
structures consisting of maps, collections,
and scalar values.
Example: Lotus Notes, MongoDB, Couch DB,
Orient DB, Raven DB.
We use it for content management systems, blogging platforms, web analytics, real-
time analytics, e- commerce applications.
We would avoid it for systems that need complex transactions spanning multiple
operations or queries against varying aggregate structures.
11/22
Contd.
12/22
NoSQL Database Types (Graph based)
 Store entities and relationships between
these entities as nodes and edges of a
graph respectively. Entities have
properties.
 Traversing the relationships is very fast
as relationship between nodes is not
calculated at query time but is actually
persisted as a relationship.
Example: Neo4J, Infinite Graph, OrientDB,
FlockDB.
It is well suited for connected data, such
as social networks, spatial data, routing
information for goods and supply.
13/22
Contd.
14/22
ACIDs & BASEs
 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.
 Atomic
 a transaction is all or nothing.
 Consistent
 only valid data is written to the database.
 Isolated
 pretend all transactions are happening serially
and the data is correct.
 Durable
 what you write is what you get.
15/22
CAP Theorem
 According to Eric Brewer a distributed
system has 3 properties:
 Consistency
 Availability
 Partitions
 We can have at most two of these three
properties for any shared-data system.
 To scale out, we have to partition. It
leaves a choice between consistency
and availability. (In almost all cases, we
would choose availability over
consistency)
 Everyone who builds big applications
builds them on CAP : Google, Yahoo,
Facebook, Amazon, eBay, etc.
16/22
Advantages of NoSQL
 Cheap and easy to implement. (open source)
 Data are replicated to multiple nodes (therefore identical and fault tolerant) and can
be partitioned.
 When data is written, the latest version is on at least one node and then replicated to other nodes.
 No single point of failure.
 Easy to distribute.
 Don't require a schema.
17/22
What is not provided by NoSQL?
 Joins
 Group by
 ACID transactions
 SQL
 Integration with applications that are based on SQL
18/22
Where to use NoSQL?
 NoSQL Data storage systems makes sense for applications that process very large
semi-structured data –like Log Analysis, Social Networking Feeds, Time-based data.
 To improve programmer productivity by using a database that better matches an
application's needs.
 To improve data access performance via some combination of handling larger data
volumes, reducing latency, and improving throughput.
19/22
Conclusion
 All the choices provided by the rise of NoSQL databases does not mean the demise
of RDBMS databases as Relational databases are a powerful tool.
 We are entering an era of Polyglot persistence, a technique that uses different data
storage technologies to handle varying data storage needs. It can apply across an
enterprise or within an individual application.
 It’s about choosing right tool for right job.
20/22
References
 “NoSQL Databases: An Overview”. Pramod Sadalage, thoughtworks.com.
 “Data management in cloud environments: NoSQL and NewSQL data stores”.
Katarina Grolinger, Wilson A Higashino, Abhinav Tiwari, Miriam AM Capretz.
 “Making the Shift from Relational to NoSQL”. Couchbase.com.
 “NoSQL - Death to Relational Databases”. Scofield, Ben.
 https://blogs.msdn.microsoft.com/usisvde/2012/04/05/getting-acquainted-with-
nosql-on-windows-azure/
21/22
THANK YOU
M.B.M. Government Engineering College, Jodhpur
22/22

Más contenido relacionado

La actualidad más candente

5 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/25 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/2Fabio Fumarola
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
 
An Overview of Apache Cassandra
An Overview of Apache CassandraAn Overview of Apache Cassandra
An Overview of Apache CassandraDataStax
 
Apache Spark Introduction
Apache Spark IntroductionApache Spark Introduction
Apache Spark Introductionsudhakara st
 
Hadoop MapReduce Fundamentals
Hadoop MapReduce FundamentalsHadoop MapReduce Fundamentals
Hadoop MapReduce FundamentalsLynn Langit
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to RedisArnab Mitra
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introductionPooyan Mehrparvar
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databasesJames Serra
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentationHyphen Call
 
Basics of MongoDB
Basics of MongoDB Basics of MongoDB
Basics of MongoDB Habilelabs
 
Introduction to Cassandra
Introduction to CassandraIntroduction to Cassandra
Introduction to CassandraGokhan Atil
 
Intro to Big Data and NoSQL
Intro to Big Data and NoSQLIntro to Big Data and NoSQL
Intro to Big Data and NoSQLDon Demcsak
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sqlRam kumar
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBRavi Teja
 

La actualidad más candente (20)

5 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/25 Data Modeling for NoSQL 1/2
5 Data Modeling for NoSQL 1/2
 
Cassandra Database
Cassandra DatabaseCassandra Database
Cassandra Database
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
An Overview of Apache Cassandra
An Overview of Apache CassandraAn Overview of Apache Cassandra
An Overview of Apache Cassandra
 
Apache Spark Introduction
Apache Spark IntroductionApache Spark Introduction
Apache Spark Introduction
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
Hadoop MapReduce Fundamentals
Hadoop MapReduce FundamentalsHadoop MapReduce Fundamentals
Hadoop MapReduce Fundamentals
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
 
NoSQL databases - An introduction
NoSQL databases - An introductionNoSQL databases - An introduction
NoSQL databases - An introduction
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentation
 
Basics of MongoDB
Basics of MongoDB Basics of MongoDB
Basics of MongoDB
 
Introduction to Cassandra
Introduction to CassandraIntroduction to Cassandra
Introduction to Cassandra
 
Intro to Big Data and NoSQL
Intro to Big Data and NoSQLIntro to Big Data and NoSQL
Intro to Big Data and NoSQL
 
Non relational databases-no sql
Non relational databases-no sqlNon relational databases-no sql
Non relational databases-no sql
 
Spark SQL
Spark SQLSpark SQL
Spark SQL
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
 

Similar a A Seminar on NoSQL Databases.

NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfajajkhan16
 
No sqlpresentation
No sqlpresentationNo sqlpresentation
No sqlpresentationSalma Gouia
 
مقدمة عن NoSQL بالعربي
مقدمة عن NoSQL بالعربيمقدمة عن NoSQL بالعربي
مقدمة عن NoSQL بالعربيMohamed Galal
 
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)Mohamed Galal
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQLbalwinders
 
Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...ijdms
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sqlAnuja Gunale
 
CS828 P5 Individual Project v101
CS828 P5 Individual Project v101CS828 P5 Individual Project v101
CS828 P5 Individual Project v101ThienSi Le
 
EVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMING
EVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMINGEVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMING
EVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMINGijiert bestjournal
 
EVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENT
EVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENTEVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENT
EVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENTijdms
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsAtulKabbur
 

Similar a A Seminar on NoSQL Databases. (20)

NOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdfNOSQL in big data is the not only structure langua.pdf
NOSQL in big data is the not only structure langua.pdf
 
No sqlpresentation
No sqlpresentationNo sqlpresentation
No sqlpresentation
 
NoSql Databases
NoSql DatabasesNoSql Databases
NoSql Databases
 
مقدمة عن NoSQL بالعربي
مقدمة عن NoSQL بالعربيمقدمة عن NoSQL بالعربي
مقدمة عن NoSQL بالعربي
 
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)Modern databases and its challenges (SQL ,NoSQL, NewSQL)
Modern databases and its challenges (SQL ,NoSQL, NewSQL)
 
the rising no sql technology
the rising no sql technologythe rising no sql technology
the rising no sql technology
 
NoSQL Basics and MongDB
NoSQL Basics and  MongDBNoSQL Basics and  MongDB
NoSQL Basics and MongDB
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...Comparative study of no sql document, column store databases and evaluation o...
Comparative study of no sql document, column store databases and evaluation o...
 
1. introduction to no sql
1. introduction to no sql1. introduction to no sql
1. introduction to no sql
 
CS828 P5 Individual Project v101
CS828 P5 Individual Project v101CS828 P5 Individual Project v101
CS828 P5 Individual Project v101
 
EVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMING
EVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMINGEVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMING
EVALUATING CASSANDRA, MONGO DB LIKE NOSQL DATASETS USING HADOOP STREAMING
 
Report 2.0.docx
Report 2.0.docxReport 2.0.docx
Report 2.0.docx
 
NOSQL
NOSQLNOSQL
NOSQL
 
EVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENT
EVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENTEVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENT
EVALUATION CRITERIA FOR SELECTING NOSQL DATABASES IN A SINGLE-BOX ENVIRONMENT
 
Vskills Apache Cassandra sample material
Vskills Apache Cassandra sample materialVskills Apache Cassandra sample material
Vskills Apache Cassandra sample material
 
Report 1.0.docx
Report 1.0.docxReport 1.0.docx
Report 1.0.docx
 
NoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbmsNoSQL powerpoint presentation difference with rdbms
NoSQL powerpoint presentation difference with rdbms
 
No sql database
No sql databaseNo sql database
No sql database
 
Know what is NOSQL
Know what is NOSQL Know what is NOSQL
Know what is NOSQL
 

Último

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
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.pptxheathfieldcps1
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
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-701bronxfugly43
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
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.docxRamakrishna Reddy Bijjam
 
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).pptxVishalSingh1417
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
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 PractiseAnaAcapella
 

Último (20)

Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
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
 
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
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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
 

A Seminar on NoSQL Databases.

  • 2. Contents  Introduction  What is NoSQL  Need of NoSQL  NoSQL Database Types  ACIDs & BASEs  CAP Theorem  Advantages of NoSQL  What is not provided by NoSQL  Where to use NoSQL  Conclusion  References 2/22
  • 3. Introduction 30, 40 years history of well-established database technology… all in vain? Not at all! But both setups and demands have drastically changed:  main memory and CPU speed have exploded, compared to the time when System R (the mother of all RDBMS) was developed.  at the same time, huge amounts of data are now handled in real-time.  both data and use cases are getting more and more dynamic.  social networks (relying on graph data) have gained impressive momentum.  full-texts have always been treated shabbily by relational DBMS. 3/22
  • 4. What is NoSQL?  Stands for Not Only SQL. Term was redefined by Eric Evans after Carlo Strozzi.  Class of non-relational data storage systems.  Do not require a fixed table schema nor do they use the concept of joins.  Relaxation for one or more of the ACID properties (Atomicity, Consistency, Isolation, Durability) using CAP theorem. Wikipedia’s Definition:  “A NoSQL database provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases." 4/22
  • 5. Need of NoSQL  Explosion of social media sites (Facebook, Twitter, Google etc.) with large data needs. (Sharding is a problem)  Rise of cloud-based solutions such as Amazon S3. (simple storage solution)  Just as moving to dynamically-typed languages (Ruby/Groovy), a shift to dynamically-typed data with frequent schema changes.  Expansion of Open-source community.  NoSQL solution is more acceptable to a client now than a year ago. 5/22
  • 6. NoSQL Database Types NoSQL database are classified into four types:  Key Value pair based.  Column based.  Document based.  Graph based. 6/22
  • 7. NoSQL Database Types (Key Value pair based)  Designed for processing dictionary. Dictionaries contain a collection of records having fields containing data.  Records are stored and retrieved using a key that uniquely identifies the record, and is used to quickly find the data within the database. Example: CouchDB, Oracle NoSQL Database, Riak etc. We use it for storing session information, user profiles, preferences, shopping cart data. We would avoid it when we need to query data having relationships between entities. 7/22
  • 9. NoSQL Database Types (Column based) We use it for content management systems, blogging platforms, log aggregation. We would avoid it for systems that are in early development, changing query patterns.  It store data as Column families containing rows that have many columns associated with a row key. Each row can have different columns.  Column families are groups of related data that is accessed together. Example: Cassandra, HBase, Hypertable, and Amazon DynamoDB. 9/22
  • 11. NoSQL Database Types (Document based)  The database stores and retrieves documents. It stores documents in the value part of the key-value store.  Self- describing, hierarchical tree data structures consisting of maps, collections, and scalar values. Example: Lotus Notes, MongoDB, Couch DB, Orient DB, Raven DB. We use it for content management systems, blogging platforms, web analytics, real- time analytics, e- commerce applications. We would avoid it for systems that need complex transactions spanning multiple operations or queries against varying aggregate structures. 11/22
  • 13. NoSQL Database Types (Graph based)  Store entities and relationships between these entities as nodes and edges of a graph respectively. Entities have properties.  Traversing the relationships is very fast as relationship between nodes is not calculated at query time but is actually persisted as a relationship. Example: Neo4J, Infinite Graph, OrientDB, FlockDB. It is well suited for connected data, such as social networks, spatial data, routing information for goods and supply. 13/22
  • 15. ACIDs & BASEs  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.  Atomic  a transaction is all or nothing.  Consistent  only valid data is written to the database.  Isolated  pretend all transactions are happening serially and the data is correct.  Durable  what you write is what you get. 15/22
  • 16. CAP Theorem  According to Eric Brewer a distributed system has 3 properties:  Consistency  Availability  Partitions  We can have at most two of these three properties for any shared-data system.  To scale out, we have to partition. It leaves a choice between consistency and availability. (In almost all cases, we would choose availability over consistency)  Everyone who builds big applications builds them on CAP : Google, Yahoo, Facebook, Amazon, eBay, etc. 16/22
  • 17. Advantages of NoSQL  Cheap and easy to implement. (open source)  Data are replicated to multiple nodes (therefore identical and fault tolerant) and can be partitioned.  When data is written, the latest version is on at least one node and then replicated to other nodes.  No single point of failure.  Easy to distribute.  Don't require a schema. 17/22
  • 18. What is not provided by NoSQL?  Joins  Group by  ACID transactions  SQL  Integration with applications that are based on SQL 18/22
  • 19. Where to use NoSQL?  NoSQL Data storage systems makes sense for applications that process very large semi-structured data –like Log Analysis, Social Networking Feeds, Time-based data.  To improve programmer productivity by using a database that better matches an application's needs.  To improve data access performance via some combination of handling larger data volumes, reducing latency, and improving throughput. 19/22
  • 20. Conclusion  All the choices provided by the rise of NoSQL databases does not mean the demise of RDBMS databases as Relational databases are a powerful tool.  We are entering an era of Polyglot persistence, a technique that uses different data storage technologies to handle varying data storage needs. It can apply across an enterprise or within an individual application.  It’s about choosing right tool for right job. 20/22
  • 21. References  “NoSQL Databases: An Overview”. Pramod Sadalage, thoughtworks.com.  “Data management in cloud environments: NoSQL and NewSQL data stores”. Katarina Grolinger, Wilson A Higashino, Abhinav Tiwari, Miriam AM Capretz.  “Making the Shift from Relational to NoSQL”. Couchbase.com.  “NoSQL - Death to Relational Databases”. Scofield, Ben.  https://blogs.msdn.microsoft.com/usisvde/2012/04/05/getting-acquainted-with- nosql-on-windows-azure/ 21/22
  • 22. THANK YOU M.B.M. Government Engineering College, Jodhpur 22/22

Notas del editor

  1. NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image.