Nosql

196 views

Published on

This is about NoSql which is used to store and access large scale data

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
196
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Nosql

  1. 1. NoSQL By Swapnil Tiwhane
  2. 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. 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. 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. 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.
  6. 6. ACID
  7. 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. 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. 9. SQL vs NoSQL – structural difference Sql Mongodb table collection row document Column field
  10. 10. SQL vs NoSQL
  11. 11. Nested document in NoSQL  { _id: "joe", name: "Joe Bookreader“ }  { patron_id: "joe", street: "123 Fake Street", city: "Faketon", state: "MA", zip: 12345 }
  12. 12. Nested document in NoSQL  { _id: "joe", name: "Joe Bookreader", address: { street: "123 Fake Street", city: "Faketon", state: "MA", zip: 12345 } }
  13. 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. 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.
  15. 15. Companies using mngodb
  16. 16. Advantages of MongoDB over RDBMS  Schema less  No complex joins  Ease of scale-out: MongoDB is easy to scale
  17. 17. Why should use MongoDB  Document Oriented Storage  Replication & High Availability  Auto-Sharding  Rich Queries  Integrated Caching
  18. 18. Where should use MongoDB?  Big Data  Content Management and Delivery  Mobile and Social Infrastructure  Data Hub  e-commerce  Archiving, and Logging
  19. 19. Thanks.. Any ?

×