nosql and sql

31
Seminar and Progress Report A comparison between SQL (Conventional) & NOSQL (WebScale) Databases using various scenarios Gaurav Paliwal 0071641507 B.Tech (Information Technology) 8 th Semester

Upload: kartikeya-madeshia

Post on 14-Sep-2014

160 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Nosql and SQL

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

What is NoSQL

This does NOT mean “No SQL”

Page 3: Nosql and SQL

What is NoSQL

This does mean “Not ONLY SQL”

Page 4: Nosql and SQL

Why is Not only SQL

Google once ran off of 40,000 MySQL installations

Page 5: Nosql and SQL

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

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

The rise of Not only SQL - 1

Google's Way

Page 8: Nosql and SQL

The rise of Not only SQL - 1

1. Google invented for BigTable database.

Page 9: Nosql and SQL

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

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

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

The rise of Not only SQL - 2

Facebook's Way

Page 13: Nosql and SQL

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

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

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

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

The rise of Not only SQL - Others

Hadoop / HBaseHypertableAmazon SimpleDBMongoDBTerrastoreCouchDBMemcacheDB

And Many others {{The list is Endless}}.

Page 18: Nosql and SQL

Benefits of NoSQL Databases

1. Elastic scaling

Page 19: Nosql and SQL

Benefits of NoSQL Databases

2. Big data

Page 20: Nosql and SQL

Benefits of NoSQL Databases

3. Goodbye DBAs

Page 21: Nosql and SQL

Benefits of NoSQL Databases

4. Economics

Page 22: Nosql and SQL

Benefits of NoSQL Databases

5. Flexible data models

Page 23: Nosql and SQL

NoSQL comparison with SQL

1. ACID

Page 24: Nosql and SQL

NoSQL comparison with SQL

2. CAP

Page 25: Nosql and SQL

NoSQL comparison with SQL

3. Maturity

Page 26: Nosql and SQL

NoSQL comparison with SQL

4. Support

Page 27: Nosql and SQL

NoSQL comparison with SQL

5. Analytics and business intelligence

Page 28: Nosql and SQL

NoSQL comparison with SQL

6. Administration

Page 29: Nosql and SQL

NoSQL comparison with SQL

7. Expertise

Page 30: Nosql and SQL

NoSQL comparison with SQL

Practical

“Head On”

Page 31: Nosql and SQL

NoSQL comparison with SQL

Questions