databases in the cloud

12
Databases in the cloud

Upload: mike-kavis

Post on 18-Jan-2015

486 views

Category:

Technology


1 download

DESCRIPTION

Quick overview of using master-slave replication and recap of NoSQL databases

TRANSCRIPT

Page 1: Databases in the cloud

Databases in the cloud

Page 2: Databases in the cloud

Master-Slave (RDBMS)

Replication

Master Slave

Client Client

Read/Write Read Only

OLTP, Real time interaction

Reporting, Adhoc, near real time

interaction

Page 3: Databases in the cloud

Master-Slave (RDBMS)

Replication

Master Slave

Client

Client

Read/Write

Read Only

OLTP, Real time interaction

Data Warehouse

ClientRead Only

Adhoc, Operations,

etc.

Page 4: Databases in the cloud

Master-Slave & NoSQL

Replication

Master Slave

Client

Client

Read/Write

Read Only

OLTP, Real time interaction

Data Warehouse

ClientRead Only

Adhoc, Operations,

etc.

Page 5: Databases in the cloud

NoSQL Flavors – Key Value Stores

For HUGE amounts of data, pointer references flattened rows

450-23

729-22

4AE-56

Cust23, Order123, 6-1-2013, 10:23:15, $56.75, store5, etc.

Cust45, Order323, 6-1-2013, 10:25:25, $36.75, store3, etc.

Cust11, Order221, 6-1-2013, 10:23:35, $50.03, store2, etc.

Key Value

Page 6: Databases in the cloud

Key Value Stores – Use Cases

• Massive amounts of writes (e.g. Tweets, distributed data transmission)

• Reads of large, static, structured historical data (orders, events, transactions, etc.)

Speed, ScalableNo Schema, Bad @ Complex data

Page 7: Databases in the cloud

NoSQL Flavors – Column Store

For HUGE amounts of data with relational database characteristics

450-23

729-22

4AE-56

Key

Customer23, Joe,34221

Order6-1-13, $56.75

LocationStore 5, Chain 2

Columns

Customer45, Jill, 34211

Order6-1-13, $36.75

LocationStore 3, Chain 2

Customer11, Sue 34441

Order6-1-13, $50.03

LocationStore 2, Chain 2

Page 8: Databases in the cloud

Column Store – Use Cases

• Massive amounts of data with dynamic columns

• Integrating data feeds from disparate sources

Speed, Scalableeasy to add columns

Poor at interconnected data

Page 9: Databases in the cloud

NoSQL Flavors – Document Store

For storing unstructured data where the values are contained in documents

450-23

Key

Documents

Page 10: Databases in the cloud

Document Store – Use Cases

• Centralized log file processing (many different formats)

• Metadata and asset management

• Product management (Catalog, Inventory Management, hierarchy)

Scalable,Flexible data model

Poor at interconnected data

Page 11: Databases in the cloud

NoSQL Flavors – Graph Database

For storing and managing interconnected relationships

http://saritsblog.blogspot.com/2011/09/graph-databases-hadoop.htmlSource:

Page 12: Databases in the cloud

Graph Database– Use Cases

• Social media analysis

• Visual representation of relationships

Source: Mashable.com

Great at graphing,Fast, scalable

Must traverse entire tree