Download - Nosql and SQL
![Page 1: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/1.jpg)
Seminar and Progress Report
A comparison between SQL (Conventional) & NOSQL (WebScale) Databases using various scenarios
Gaurav Paliwal0071641507
B.Tech (Information Technology)8th Semester
![Page 2: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/2.jpg)
What is NoSQL
This does NOT mean “No SQL”
![Page 3: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/3.jpg)
What is NoSQL
This does mean “Not ONLY SQL”
![Page 4: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/4.jpg)
Why is Not only SQL
Google once ran off of 40,000 MySQL installations
![Page 5: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/5.jpg)
Why is Not only SQL
Facebook was at one point spending $1M per month for specialized database hardware to serve their pictures.
![Page 6: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/6.jpg)
Why is Not only SQL
These unviable solutions led to a re-evaluation of existing database technologies and led to the Not-Only-SQL (NoSQL) movement.
![Page 7: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/7.jpg)
The rise of Not only SQL - 1
Google's Way
![Page 8: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/8.jpg)
The rise of Not only SQL - 1
1. Google invented for BigTable database.
![Page 9: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/9.jpg)
The rise of Not only SQL - 1
1. Google invented for BigTable database.
2. BigTable maps two arbitrary string values (row key and column key) and timestamp (hence three dimensional mapping) into associated arbitrary byte array.
![Page 10: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/10.jpg)
The rise of Not only SQL - 1
1. Google invented for BigTable database.
2. BigTable maps two arbitrary string values (row key and column key) and timestamp (hence three dimensional mapping) into associated arbitrary byte array.
3. It is not a relational database and can be better defined as a sparse, distributed multi-dimensional sorted map.
![Page 11: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/11.jpg)
The rise of Not only SQL - 1
1. Google invented for BigTable database.
2. BigTable maps two arbitrary string values (row key and column key) and timestamp (hence three dimensional mapping) into associated arbitrary byte array.
3. It is not a relational database and can be better defined as a sparse, distributed multi-dimensional sorted map.
4. BigTable is designed to scale into the petabyte range across "hundreds or thousands of machines, and to make it easy to add more machines to the system and automatically start taking advantage of those resources without any reconfiguration".
![Page 12: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/12.jpg)
The rise of Not only SQL - 2
Facebook's Way
![Page 13: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/13.jpg)
The rise of Not only SQL - 2
1. It is a NoSQL solution that was initially developed by Facebook and powers their Inbox Search feature.
![Page 14: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/14.jpg)
The rise of Not only SQL - 2
1. It is a NoSQL solution that was initially developed by Facebook and powers their Inbox Search feature.
2. Jeff Hammerbacher, who led the Facebook Data team at the time, has described Cassandra as a BigTable data model running on an Amazon Dynamo-like infrastructure.
![Page 15: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/15.jpg)
The rise of Not only SQL - 2
1. It is a NoSQL solution that was initially developed by Facebook and powers their Inbox Search feature.
2. Jeff Hammerbacher, who led the Facebook Data team at the time, has described Cassandra as a BigTable data model running on an Amazon Dynamo-like infrastructure.
3. Cassandra is an open source distributed database management system.
![Page 16: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/16.jpg)
The rise of Not only SQL - 2
1. It is a NoSQL solution that was initially developed by Facebook and powers their Inbox Search feature.
2. Jeff Hammerbacher, who led the Facebook Data team at the time, has described Cassandra as a BigTable data model running on an Amazon Dynamo-like infrastructure.
3. Cassandra is an open source distributed database management system.
4. It is an Apache Software Foundation top-level project designed to handle very large amounts of data spread out across many commodity servers while providing a highly available service with no single point of failure.
![Page 17: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/17.jpg)
The rise of Not only SQL - Others
Hadoop / HBaseHypertableAmazon SimpleDBMongoDBTerrastoreCouchDBMemcacheDB
And Many others {{The list is Endless}}.
![Page 18: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/18.jpg)
Benefits of NoSQL Databases
1. Elastic scaling
![Page 19: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/19.jpg)
Benefits of NoSQL Databases
2. Big data
![Page 20: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/20.jpg)
Benefits of NoSQL Databases
3. Goodbye DBAs
![Page 21: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/21.jpg)
Benefits of NoSQL Databases
4. Economics
![Page 22: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/22.jpg)
Benefits of NoSQL Databases
5. Flexible data models
![Page 23: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/23.jpg)
NoSQL comparison with SQL
1. ACID
![Page 24: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/24.jpg)
NoSQL comparison with SQL
2. CAP
![Page 25: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/25.jpg)
NoSQL comparison with SQL
3. Maturity
![Page 26: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/26.jpg)
NoSQL comparison with SQL
4. Support
![Page 27: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/27.jpg)
NoSQL comparison with SQL
5. Analytics and business intelligence
![Page 28: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/28.jpg)
NoSQL comparison with SQL
6. Administration
![Page 29: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/29.jpg)
NoSQL comparison with SQL
7. Expertise
![Page 30: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/30.jpg)
NoSQL comparison with SQL
Practical
“Head On”
![Page 31: Nosql and SQL](https://reader030.vdocuments.mx/reader030/viewer/2022020115/5416333d7bef0a7f3f8b4ae2/html5/thumbnails/31.jpg)
NoSQL comparison with SQL
Questions