SlideShare ist ein Scribd-Unternehmen logo
1 von 19
NoSQL
By
Swapnil Tiwhane
Contents
 Introduction to SQL
 Relation in RDBMS
 ACID
 Strength and weakness of SQL
 NoSQL
 SQL vs NoSQL – structural difference
 SQL vs NoSQL – functional difference
 Nosql in Healthcare
Introduction to SQL
 Structured query language designed for
managing data held in a RDBMS
 SQL was one of the first commercial
languages for Edgar F. Codd's
relational model .
Relation in RDBMS
 The term relational does not just refer to
relationships between tables: firstly, it refers
to the table itself or rather, the relationship
between columns within a table; and
secondly, it refers to links between tables.
Primary key and Foreign key
 In the relational model, each table schema
must identify a column or group of columns,
called the primary key, to uniquely identify
each row
 A foreign key is a field in a relational table
that matches the primary key column of
another table. The foreign key can be used to
cross-reference tables.
ACID
Strength & weaknesses
 Strength
1. Widely accepted
2. Database operation with insert, update, delete
3. Transaction support (OLTP)
 Weaknesses
1. Complexity of relation between different tables
2. In advance need to create schema
3. Large storage -- slow down process
NoSQL
 NoSQL is a whole new way of thinking about a
database. NoSQL is not a relational database. The
reality is that a relational database model may not be
the best solution for all situations. The easiest way to
think of NoSQL, is that of a database which does not
adhering to the traditional relational database
management system (RDMS) structure. Sometimes
you will also see it revered to as 'not only SQL'.
SQL vs NoSQL – structural difference
Sql Mongodb
table collection
row document
Column field
SQL vs NoSQL
Nested document in NoSQL
 { _id: "joe",
name: "Joe Bookreader“
}
 { patron_id: "joe",
street: "123 Fake Street",
city: "Faketon",
state: "MA", zip: 12345
}
Nested document in NoSQL
 { _id: "joe",
name: "Joe Bookreader",
address: {
street: "123 Fake Street",
city: "Faketon",
state: "MA", zip: 12345
}
}
ClinicalDocument in MongoDB
 {"ClinicalDocument": {
 "recordTarget": {
 "patientRole": {
 "patient": {
 "name": {
 "given": "Henry",
 "family": "Levin",
 "suffix": "the 7th” },
 "birthTime": {"value": 19320924} },
 "providerOrganization": {"name": "Good Health Clinic"} }
 },
 "author": {
 "time": 20000407130000+0500,
 "assignedAuthor": {
 "assignedPerson": {"name": {
 "given": "Robert",
 "family": "Dolin",
 "prefix": "Dr.” } },
 "representedOrganization": { "name": "Good Health Clinic” } }
 }
 }
Mongodb in Healthcare
 360-Degree Patient View
1. Basic patient information and medical histories to lab results
and MRI images
 Lab Data Management and Analytics
1. With MongoDB’s flexible data model, providers of lab testing,
genomics and clinical pathology can ingest, store and analyze
a variety of data types from numerous sources all in a single
data store.
Companies using mngodb
Advantages of MongoDB over RDBMS
 Schema less
 No complex joins
 Ease of scale-out: MongoDB is easy to scale
Why should use MongoDB
 Document Oriented Storage
 Replication & High Availability
 Auto-Sharding
 Rich Queries
 Integrated Caching
Where should use MongoDB?
 Big Data
 Content Management and Delivery
 Mobile and Social Infrastructure
 Data Hub
 e-commerce
 Archiving, and Logging
Thanks..
Any ?

Weitere ähnliche Inhalte

Was ist angesagt?

Catalog-based Conversion from Relational Database into XML Schema (XSD)
Catalog-based Conversion from Relational Database into XML Schema (XSD)Catalog-based Conversion from Relational Database into XML Schema (XSD)
Catalog-based Conversion from Relational Database into XML Schema (XSD)
CSCJournals
 
WSDL-Design-and-Generation-in-EASparx
WSDL-Design-and-Generation-in-EASparxWSDL-Design-and-Generation-in-EASparx
WSDL-Design-and-Generation-in-EASparx
Frank Ning
 

Was ist angesagt? (16)

NOSQL and MongoDB Database
NOSQL and MongoDB DatabaseNOSQL and MongoDB Database
NOSQL and MongoDB Database
 
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
 
Sql queries
Sql queriesSql queries
Sql queries
 
MS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database ConceptsMS Sql Server: Introduction To Database Concepts
MS Sql Server: Introduction To Database Concepts
 
SQL Training Institute in Ambala ! Batra Computer Centre
SQL Training Institute in Ambala ! Batra Computer CentreSQL Training Institute in Ambala ! Batra Computer Centre
SQL Training Institute in Ambala ! Batra Computer Centre
 
JSON and JSON Schema in Oxygen
JSON and JSON Schema in OxygenJSON and JSON Schema in Oxygen
JSON and JSON Schema in Oxygen
 
Chapter 4 Structured Query Language
Chapter 4 Structured Query LanguageChapter 4 Structured Query Language
Chapter 4 Structured Query Language
 
SQL Training in Ambala ! BATRA COMPUTER CENTRE
SQL Training in Ambala ! BATRA COMPUTER CENTRESQL Training in Ambala ! BATRA COMPUTER CENTRE
SQL Training in Ambala ! BATRA COMPUTER CENTRE
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
Introduction to (sql)
Introduction to (sql)Introduction to (sql)
Introduction to (sql)
 
Catalog-based Conversion from Relational Database into XML Schema (XSD)
Catalog-based Conversion from Relational Database into XML Schema (XSD)Catalog-based Conversion from Relational Database into XML Schema (XSD)
Catalog-based Conversion from Relational Database into XML Schema (XSD)
 
Relational vs Non Relational Databases
Relational vs Non Relational DatabasesRelational vs Non Relational Databases
Relational vs Non Relational Databases
 
Nosql
NosqlNosql
Nosql
 
WSDL-Design-and-Generation-in-EASparx
WSDL-Design-and-Generation-in-EASparxWSDL-Design-and-Generation-in-EASparx
WSDL-Design-and-Generation-in-EASparx
 
Nosql
NosqlNosql
Nosql
 
03 namespace
03 namespace03 namespace
03 namespace
 

Ähnlich wie Nosql

Ähnlich wie Nosql (20)

MongoDB Knowledge share
MongoDB Knowledge shareMongoDB Knowledge share
MongoDB Knowledge share
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
 
RDBMS_Concept.ppt
RDBMS_Concept.pptRDBMS_Concept.ppt
RDBMS_Concept.ppt
 
Introduction-to-MongoDB.pptx
Introduction-to-MongoDB.pptxIntroduction-to-MongoDB.pptx
Introduction-to-MongoDB.pptx
 
SQL Commands
SQL Commands SQL Commands
SQL Commands
 
Mongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorialMongo Bb - NoSQL tutorial
Mongo Bb - NoSQL tutorial
 
T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
 
introdution concept on _ _ sql_basic.ppt
introdution concept on _ _ sql_basic.pptintrodution concept on _ _ sql_basic.ppt
introdution concept on _ _ sql_basic.ppt
 
Sql
SqlSql
Sql
 
Understanding about relational database m-square systems inc
Understanding about relational database m-square systems incUnderstanding about relational database m-square systems inc
Understanding about relational database m-square systems inc
 
Oracle SQL Part1
Oracle SQL Part1Oracle SQL Part1
Oracle SQL Part1
 
MYSQL.ppt
MYSQL.pptMYSQL.ppt
MYSQL.ppt
 
RDBMS
RDBMSRDBMS
RDBMS
 
Database Decision Framework
Database Decision FrameworkDatabase Decision Framework
Database Decision Framework
 
NoSQL, SQL, NewSQL - methods of structuring data.
NoSQL, SQL, NewSQL - methods of structuring data.NoSQL, SQL, NewSQL - methods of structuring data.
NoSQL, SQL, NewSQL - methods of structuring data.
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
Sql vs NoSQL-Presentation
 Sql vs NoSQL-Presentation Sql vs NoSQL-Presentation
Sql vs NoSQL-Presentation
 
No sql – rise of the clusters
No sql – rise of the clustersNo sql – rise of the clusters
No sql – rise of the clusters
 
Sql project ..
Sql project ..Sql project ..
Sql project ..
 
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part II
 

Kürzlich hochgeladen

Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Kürzlich hochgeladen (20)

Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
A Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System StrategyA Business-Centric Approach to Design System Strategy
A Business-Centric Approach to Design System Strategy
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 

Nosql

  • 2. Contents  Introduction to SQL  Relation in RDBMS  ACID  Strength and weakness of SQL  NoSQL  SQL vs NoSQL – structural difference  SQL vs NoSQL – functional difference  Nosql in Healthcare
  • 3. Introduction to SQL  Structured query language designed for managing data held in a RDBMS  SQL was one of the first commercial languages for Edgar F. Codd's relational model .
  • 4. Relation in RDBMS  The term relational does not just refer to relationships between tables: firstly, it refers to the table itself or rather, the relationship between columns within a table; and secondly, it refers to links between tables.
  • 5. Primary key and Foreign key  In the relational model, each table schema must identify a column or group of columns, called the primary key, to uniquely identify each row  A foreign key is a field in a relational table that matches the primary key column of another table. The foreign key can be used to cross-reference tables.
  • 7. Strength & weaknesses  Strength 1. Widely accepted 2. Database operation with insert, update, delete 3. Transaction support (OLTP)  Weaknesses 1. Complexity of relation between different tables 2. In advance need to create schema 3. Large storage -- slow down process
  • 8. NoSQL  NoSQL is a whole new way of thinking about a database. NoSQL is not a relational database. The reality is that a relational database model may not be the best solution for all situations. The easiest way to think of NoSQL, is that of a database which does not adhering to the traditional relational database management system (RDMS) structure. Sometimes you will also see it revered to as 'not only SQL'.
  • 9. SQL vs NoSQL – structural difference Sql Mongodb table collection row document Column field
  • 11. Nested document in NoSQL  { _id: "joe", name: "Joe Bookreader“ }  { patron_id: "joe", street: "123 Fake Street", city: "Faketon", state: "MA", zip: 12345 }
  • 12. Nested document in NoSQL  { _id: "joe", name: "Joe Bookreader", address: { street: "123 Fake Street", city: "Faketon", state: "MA", zip: 12345 } }
  • 13. ClinicalDocument in MongoDB  {"ClinicalDocument": {  "recordTarget": {  "patientRole": {  "patient": {  "name": {  "given": "Henry",  "family": "Levin",  "suffix": "the 7th” },  "birthTime": {"value": 19320924} },  "providerOrganization": {"name": "Good Health Clinic"} }  },  "author": {  "time": 20000407130000+0500,  "assignedAuthor": {  "assignedPerson": {"name": {  "given": "Robert",  "family": "Dolin",  "prefix": "Dr.” } },  "representedOrganization": { "name": "Good Health Clinic” } }  }  }
  • 14. Mongodb in Healthcare  360-Degree Patient View 1. Basic patient information and medical histories to lab results and MRI images  Lab Data Management and Analytics 1. With MongoDB’s flexible data model, providers of lab testing, genomics and clinical pathology can ingest, store and analyze a variety of data types from numerous sources all in a single data store.
  • 16. Advantages of MongoDB over RDBMS  Schema less  No complex joins  Ease of scale-out: MongoDB is easy to scale
  • 17. Why should use MongoDB  Document Oriented Storage  Replication & High Availability  Auto-Sharding  Rich Queries  Integrated Caching
  • 18. Where should use MongoDB?  Big Data  Content Management and Delivery  Mobile and Social Infrastructure  Data Hub  e-commerce  Archiving, and Logging