SlideShare una empresa de Scribd logo
1 de 41
No SQL
Problems With RDBMS
• Should know the entire schema upfront
Problems With RDBMS
• Should know the entire schema upfront
• Every record have same properties [rigid structure]
Problems With RDBMS
• Should know the entire schema upfront
• Every record have same properties [rigid structure]
• Scalability is costly
Problems With RDBMS
• Should know the entire schema upfront
• Every record have same properties [rigid structure]
• Scalability is costly
• Scaling relational database is hard
Problems With RDBMS
• Should know the entire schema upfront
• Every record have same properties [rigid structure]
• Scalability is costly
• Scaling relational database is hard
• Normalization
Problems With RDBMS
• Should know the entire schema upfront
• Every record have same properties [rigid structure]
• Scalability is costly
• Scaling relational database is hard
• Normalization
• Altering schema on a running database is expensive
Problems With RDBMS
• Should know the entire schema upfront
• Every record have same properties [rigid structure]
• Scalability is costly
• Scaling relational database is hard
• Normalization
• Altering schema on a running database is expensive
• Horizontal scaling is a problem
Single server Architecture
Problems with single server
architecture
• Load
Problems with single server
architecture
• Failure – Single point of failure
Problems with single server
architecture
• Maintenance – Downtime during manual maintenance
Distributed Database
Advantage of distributed database
• Speed – Files are retrieved from the nearest location
• If one site fails the system can still run.
What is NoSQL ?
Also known as
• non-relational database
• non SQL
• not only SQL
NoSQL are non-tabular databases and store data differently than relational tables.
Student ID Name Course
123 john ML
234 Doe DL
456 Eric Python
Student table
No SQL
Benefits of NoSQL
• When compared to relational databases, NoSQL databases are more scalable
and provide superior performance, and their data model addresses several
issues that the relational model is not designed to address.
• Schema-less
• Data are replicated to multiple nodes(so, identical & fault tolerant)
and can be partitioned:
 no single point of failure
 down nodes can easily be replaced
• Cheap, easy to implement(open source)
• Its all object oriented programming that is easy to use and flexible.
• Running well on clusters – geographically distributed scale-out structure.
Types of NoSQL Databases
• Key- value stores
• Document databases
• Graph databases
• Column databases
Key Value Databases
Key value databases, also known as key value stores, are database types where data is
stored in a “key-value” format and optimized for reading and writing that data.
The data is fetched by a unique key or a number of unique keys to retrieve the associated
value with each key. The values can be simple data types like strings and numbers or
complex objects.
eg: Riak, redis server.
Document Databases
• Documents are composed of field-and-value pairs and have the following structure:
• Documents can contain many key value pairs, key array pairs or even nested
documents
• It follow the JSON format.
• eg: MongoDB, Cosmos DB
Graph Databases
• Graph database are NoSQL database which use the graph data model comprised of
vertices and edges
• Vertices which is an entity such as person, place, object or relevant piece of data.
• Edges represent the relationship between two nodes
• eg: neo4j, infinite graph
Column Databases
• A columnar database is a database management system (DBMS) that stores data in
columns instead of rows.
• Very similar to relational databases, but still different.
• Most known because of Google Big Table representation.
• Mostly used in Data analytics.
• eg: BigTable, Cassandra, Hbase.
Row Databases
Column Databases
CAP Theorem
Suppose three properties of a distributed database system.
• Consistency:
 All the replicas have same values.
• Availability:
 Reads and writes always succeed.
• Partition- tolerance
 System will continue to work unless there is total network failure
 If few of the nodes fails then the system will work & answer the query.
CAP Theorem
• Eric Brewer’s CAP theorem says that if you want consistency, availability and partition
tolerance, you have to settle for two out of the three.
Distributed system
X=10
X=10
X=10
Then user can’t access the data until all the servers are in sync
Guaranteeing Consistency
X=10
X=10
X=10
Then user can’t access the data until all the servers are in sync
Guaranteeing Consistency
X=10
X=10
X=10
Guaranteeing Availability User will not get updated all the time.
Then user can’t access the data until all the servers are in sync
Guaranteeing Consistency
X=10
X=10
X=10
Guaranteeing Availability User will not get updated all the time.
Guaranteeing Partition Tolerance Consistency and availability both can’t be possible
Base Property of Transation
• Basically Available – failure will not halt the system
• Soft state – state of the system will change over the time
• Eventually consistency – system will become consistent over time
Real world Use case of NoSQL DB
• User profile store
 All Web applications require user profiles and the ability to log in. A global user profile store is an
example of where the key value characteristics of NoSQL come into play.
• E-Commerce
 E-commerce companies use NoSQL for store huge volume of data and large amount of request from user.
• Mobile Applications
 Since NoSQL database store the data in schema-less for the application developer can update the apps
without having to do major modification in database.
• Session storage
 NOSQL is suitable for storing such web application session information very is large in size.
NewSQL Databases
• NewSQL is a new approach to relational databases that want to combine
transactional ACID guarantees the goods RDBMS and the horizontal
scalability of NoSQL.
• They maintain ACID guarantees.
Advantages of NewSQL
• It introduces new implementation to traditional relational databases.
• It brings together the advantages of SQL and NoSQL.
• Fragmentation is supported
• Replication- copies of databases stored in remote site.
• Secondary indexes – accessing database records using a value other than a
primary key.
• Crash recovery- recovers to a consistent state.
No SQL

Más contenido relacionado

La actualidad más candente

NoSql Data Management
NoSql Data ManagementNoSql Data Management
NoSql Data Managementsameerfaizan
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and UsesSuvradeep Rudra
 
Student projects with open source CSQL
Student projects with open source CSQLStudent projects with open source CSQL
Student projects with open source CSQLPrabakaran Thirumalai
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSatya Pal
 
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 choicesMaynooth University
 
NoSQL Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture PatternsNoSQL Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture PatternsDATAVERSITY
 
Column db dol
Column db dolColumn db dol
Column db dolpoojabi
 
No SQL - A Simple Intro
No SQL - A Simple IntroNo SQL - A Simple Intro
No SQL - A Simple IntroKarthi Keyan
 
Impala use case @ edge
Impala use case @ edgeImpala use case @ edge
Impala use case @ edgeRam Kedem
 
introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Databasenehabsairam
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQLRTigger
 

La actualidad más candente (20)

Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
NoSql Data Management
NoSql Data ManagementNoSql Data Management
NoSql Data Management
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
Key-Value NoSQL Database
Key-Value NoSQL DatabaseKey-Value NoSQL Database
Key-Value NoSQL Database
 
NoSQL Consepts
NoSQL ConseptsNoSQL Consepts
NoSQL Consepts
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and Uses
 
Student projects with open source CSQL
Student projects with open source CSQLStudent projects with open source CSQL
Student projects with open source CSQL
 
Sql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explainedSql vs NO-SQL database differences explained
Sql vs NO-SQL database differences explained
 
NoSql
NoSqlNoSql
NoSql
 
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 Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture PatternsNoSQL Now! NoSQL Architecture Patterns
NoSQL Now! NoSQL Architecture Patterns
 
Column db dol
Column db dolColumn db dol
Column db dol
 
NoSQL databases
NoSQL databasesNoSQL databases
NoSQL databases
 
No SQL - A Simple Intro
No SQL - A Simple IntroNo SQL - A Simple Intro
No SQL - A Simple Intro
 
Impala use case @ edge
Impala use case @ edgeImpala use case @ edge
Impala use case @ edge
 
SortaSQL
SortaSQLSortaSQL
SortaSQL
 
introduction to NOSQL Database
introduction to NOSQL Databaseintroduction to NOSQL Database
introduction to NOSQL Database
 
SQL & NoSQL
SQL & NoSQLSQL & NoSQL
SQL & NoSQL
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQL
 

Similar a No SQL

UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxRahul Borate
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxRahul Borate
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7abdulrahmanhelan
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL DatabasesAbiral Gautam
 
The No SQL Principles and Basic Application Of Casandra Model
The No SQL Principles and Basic Application Of Casandra ModelThe No SQL Principles and Basic Application Of Casandra Model
The No SQL Principles and Basic Application Of Casandra ModelRishikese MR
 
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 StorageBethmi Gunasekara
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabasesAdi Challa
 
Solr cloud the 'search first' nosql database extended deep dive
Solr cloud the 'search first' nosql database   extended deep diveSolr cloud the 'search first' nosql database   extended deep dive
Solr cloud the 'search first' nosql database extended deep divelucenerevolution
 
Ccs334 Big data analytics UNIT II ppt notes
Ccs334   Big data analytics UNIT II ppt notesCcs334   Big data analytics UNIT II ppt notes
Ccs334 Big data analytics UNIT II ppt notesVasanthB27
 
Big Data Platforms: An Overview
Big Data Platforms: An OverviewBig Data Platforms: An Overview
Big Data Platforms: An OverviewC. Scyphers
 

Similar a No SQL (20)

NoSQL.pptx
NoSQL.pptxNoSQL.pptx
NoSQL.pptx
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
UNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptxUNIT I Introduction to NoSQL.pptx
UNIT I Introduction to NoSQL.pptx
 
Relational and non relational database 7
Relational and non relational database 7Relational and non relational database 7
Relational and non relational database 7
 
NOsql Presentation.pdf
NOsql Presentation.pdfNOsql Presentation.pdf
NOsql Presentation.pdf
 
Presentation On NoSQL Databases
Presentation On NoSQL DatabasesPresentation On NoSQL Databases
Presentation On NoSQL Databases
 
Database Technologies
Database TechnologiesDatabase Technologies
Database Technologies
 
The No SQL Principles and Basic Application Of Casandra Model
The No SQL Principles and Basic Application Of Casandra ModelThe No SQL Principles and Basic Application Of Casandra Model
The No SQL Principles and Basic Application Of Casandra Model
 
NoSQL and MongoDB
NoSQL and MongoDBNoSQL and MongoDB
NoSQL and MongoDB
 
Big data stores
Big data  storesBig data  stores
Big data stores
 
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
 
NoSQLDatabases
NoSQLDatabasesNoSQLDatabases
NoSQLDatabases
 
NoSql Brownbag
NoSql BrownbagNoSql Brownbag
NoSql Brownbag
 
Modern database
Modern databaseModern database
Modern database
 
NOSQL vs SQL
NOSQL vs SQLNOSQL vs SQL
NOSQL vs SQL
 
Solr cloud the 'search first' nosql database extended deep dive
Solr cloud the 'search first' nosql database   extended deep diveSolr cloud the 'search first' nosql database   extended deep dive
Solr cloud the 'search first' nosql database extended deep dive
 
Nosql data models
Nosql data modelsNosql data models
Nosql data models
 
Ccs334 Big data analytics UNIT II ppt notes
Ccs334   Big data analytics UNIT II ppt notesCcs334   Big data analytics UNIT II ppt notes
Ccs334 Big data analytics UNIT II ppt notes
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
Big Data Platforms: An Overview
Big Data Platforms: An OverviewBig Data Platforms: An Overview
Big Data Platforms: An Overview
 

Último

College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Último (20)

College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 

No SQL

  • 2. Problems With RDBMS • Should know the entire schema upfront
  • 3. Problems With RDBMS • Should know the entire schema upfront • Every record have same properties [rigid structure]
  • 4. Problems With RDBMS • Should know the entire schema upfront • Every record have same properties [rigid structure] • Scalability is costly
  • 5.
  • 6.
  • 7.
  • 8. Problems With RDBMS • Should know the entire schema upfront • Every record have same properties [rigid structure] • Scalability is costly • Scaling relational database is hard
  • 9.
  • 10. Problems With RDBMS • Should know the entire schema upfront • Every record have same properties [rigid structure] • Scalability is costly • Scaling relational database is hard • Normalization
  • 11. Problems With RDBMS • Should know the entire schema upfront • Every record have same properties [rigid structure] • Scalability is costly • Scaling relational database is hard • Normalization • Altering schema on a running database is expensive
  • 12. Problems With RDBMS • Should know the entire schema upfront • Every record have same properties [rigid structure] • Scalability is costly • Scaling relational database is hard • Normalization • Altering schema on a running database is expensive • Horizontal scaling is a problem
  • 14. Problems with single server architecture • Load
  • 15. Problems with single server architecture • Failure – Single point of failure
  • 16. Problems with single server architecture • Maintenance – Downtime during manual maintenance
  • 18. Advantage of distributed database • Speed – Files are retrieved from the nearest location • If one site fails the system can still run.
  • 19. What is NoSQL ? Also known as • non-relational database • non SQL • not only SQL NoSQL are non-tabular databases and store data differently than relational tables.
  • 20. Student ID Name Course 123 john ML 234 Doe DL 456 Eric Python Student table
  • 22. Benefits of NoSQL • When compared to relational databases, NoSQL databases are more scalable and provide superior performance, and their data model addresses several issues that the relational model is not designed to address. • Schema-less • Data are replicated to multiple nodes(so, identical & fault tolerant) and can be partitioned:  no single point of failure  down nodes can easily be replaced • Cheap, easy to implement(open source) • Its all object oriented programming that is easy to use and flexible. • Running well on clusters – geographically distributed scale-out structure.
  • 23. Types of NoSQL Databases • Key- value stores • Document databases • Graph databases • Column databases
  • 24. Key Value Databases Key value databases, also known as key value stores, are database types where data is stored in a “key-value” format and optimized for reading and writing that data. The data is fetched by a unique key or a number of unique keys to retrieve the associated value with each key. The values can be simple data types like strings and numbers or complex objects. eg: Riak, redis server.
  • 25.
  • 26. Document Databases • Documents are composed of field-and-value pairs and have the following structure: • Documents can contain many key value pairs, key array pairs or even nested documents • It follow the JSON format. • eg: MongoDB, Cosmos DB
  • 27. Graph Databases • Graph database are NoSQL database which use the graph data model comprised of vertices and edges • Vertices which is an entity such as person, place, object or relevant piece of data. • Edges represent the relationship between two nodes • eg: neo4j, infinite graph
  • 28. Column Databases • A columnar database is a database management system (DBMS) that stores data in columns instead of rows. • Very similar to relational databases, but still different. • Most known because of Google Big Table representation. • Mostly used in Data analytics. • eg: BigTable, Cassandra, Hbase.
  • 31. CAP Theorem Suppose three properties of a distributed database system. • Consistency:  All the replicas have same values. • Availability:  Reads and writes always succeed. • Partition- tolerance  System will continue to work unless there is total network failure  If few of the nodes fails then the system will work & answer the query.
  • 32. CAP Theorem • Eric Brewer’s CAP theorem says that if you want consistency, availability and partition tolerance, you have to settle for two out of the three. Distributed system
  • 34. Then user can’t access the data until all the servers are in sync Guaranteeing Consistency X=10 X=10 X=10
  • 35. Then user can’t access the data until all the servers are in sync Guaranteeing Consistency X=10 X=10 X=10 Guaranteeing Availability User will not get updated all the time.
  • 36. Then user can’t access the data until all the servers are in sync Guaranteeing Consistency X=10 X=10 X=10 Guaranteeing Availability User will not get updated all the time. Guaranteeing Partition Tolerance Consistency and availability both can’t be possible
  • 37. Base Property of Transation • Basically Available – failure will not halt the system • Soft state – state of the system will change over the time • Eventually consistency – system will become consistent over time
  • 38. Real world Use case of NoSQL DB • User profile store  All Web applications require user profiles and the ability to log in. A global user profile store is an example of where the key value characteristics of NoSQL come into play. • E-Commerce  E-commerce companies use NoSQL for store huge volume of data and large amount of request from user. • Mobile Applications  Since NoSQL database store the data in schema-less for the application developer can update the apps without having to do major modification in database. • Session storage  NOSQL is suitable for storing such web application session information very is large in size.
  • 39. NewSQL Databases • NewSQL is a new approach to relational databases that want to combine transactional ACID guarantees the goods RDBMS and the horizontal scalability of NoSQL. • They maintain ACID guarantees.
  • 40. Advantages of NewSQL • It introduces new implementation to traditional relational databases. • It brings together the advantages of SQL and NoSQL. • Fragmentation is supported • Replication- copies of databases stored in remote site. • Secondary indexes – accessing database records using a value other than a primary key. • Crash recovery- recovers to a consistent state.