nosql and sql databases

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: gaurav-paliwal

Post on 10-May-2015

2.520 views

Category:

Technology


3 download

DESCRIPTION

This is a presentation that tell why we need NoSQL databases (NOTE : NoSQL along with SQL databases)

TRANSCRIPT

Page 1: NoSQL and SQL Databases

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 Databases

What is NoSQL

This does NOT mean “No SQL”

Page 3: NoSQL and SQL Databases

What is NoSQL

This does mean “Not ONLY SQL”

Page 4: NoSQL and SQL Databases

Why is Not only SQL

Google once ran off of 40,000 MySQL installations

Page 5: NoSQL and SQL Databases

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 Databases

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 Databases

The rise of Not only SQL - 1

Google's Way

Page 8: NoSQL and SQL Databases

The rise of Not only SQL - 1

1. Google invented for BigTable database.

Page 9: NoSQL and SQL Databases

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 Databases

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 Databases

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 Databases

The rise of Not only SQL - 2

Facebook's Way

Page 13: NoSQL and SQL Databases

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 Databases

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 Databases

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 Databases

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 Databases

The rise of Not only SQL - Others

Hadoop / HBaseHypertableAmazon SimpleDBMongoDBTerrastoreCouchDBMemcacheDB

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

Page 18: NoSQL and SQL Databases

Benefits of NoSQL Databases

1. Elastic scaling

Page 19: NoSQL and SQL Databases

Benefits of NoSQL Databases

2. Big data

Page 20: NoSQL and SQL Databases

Benefits of NoSQL Databases

3. Goodbye DBAs

Page 21: NoSQL and SQL Databases

Benefits of NoSQL Databases

4. Economics

Page 22: NoSQL and SQL Databases

Benefits of NoSQL Databases

5. Flexible data models

Page 23: NoSQL and SQL Databases

NoSQL comparison with SQL

1. ACID

Page 24: NoSQL and SQL Databases

NoSQL comparison with SQL

2. CAP

Page 25: NoSQL and SQL Databases

NoSQL comparison with SQL

3. Maturity

Page 26: NoSQL and SQL Databases

NoSQL comparison with SQL

4. Support

Page 27: NoSQL and SQL Databases

NoSQL comparison with SQL

5. Analytics and business intelligence

Page 28: NoSQL and SQL Databases

NoSQL comparison with SQL

6. Administration

Page 29: NoSQL and SQL Databases

NoSQL comparison with SQL

7. Expertise

Page 30: NoSQL and SQL Databases

NoSQL comparison with SQL

Practical

“Head On”

Page 31: NoSQL and SQL Databases

NoSQL comparison with SQL

Questions