Oracle to Cassandra Core Concepts Guid Part 1: A new hope

Preview:

Citation preview

©2015 DataStax Confidential. Do not distribute without consent.

@RachelPedreschi & @PatrickMcFadin

Rachel Pedreschi & Patrick McFadinEvangelists for Apache Cassandra

Oracle to Cassandra Core Concepts Guide Part 1: A new hope

1

We like to collect data

2

First data plateau

3

First database solution

4

You want a database?

5

Second data plateau

6

Second database solution

7

Then this happened

8

The database is the problem

9

The web site is SLOWWWW!!

2005 - Thundering herds

10

June 29, 2007

11Welcome to the third data plateau

Third data plateau

APACHE

CASSANDRA

Third database solution

Oracle Architecture

Oracle Architecture

More CPU

More memory

More disk ASM

DBRM

Scale

Oracle Architecture

More CPU

More memory

More disk

DBRM

TimesTen

Scale

Scale

ASM

Oracle Architecture

More CPU

More memory

More disk

DBRM

Clusterware

FAN

RAC

Cache Fusion

TimesTen

Scale

Scale

ScaleUptime

ASM

Oracle Architecture

More CPU

More memory

More disk

DBRM

Clusterware

FAN

RAC

Golden Gate

Cache Fusion

TimesTen

Scale

Scale

Scale

Uptime

Uptime

ASM

Oracle Architecture

More CPU

More memory

More disk

DBRM

Clusterware

FAN

RAC

Data GuardGolden Gate

Cache Fusion

Active? Standby?

TimesTen

Scale

Scale

Scale

UptimeUptime

Uptime

ASM

Oracle Architecture

More CPU

More memory

More disk

DBRM

Clusterware

FAN

RAC

Data GuardGolden Gate

Cache Fusion

Active? Standby?

TimesTen

Scale

Hadoop

Scale

Scale

UptimeUptime

Uptime

ASM

ETL

Oracle Architecture

More CPU

More memory

More disk

DBRM

Clusterware

FAN

RAC

Data GuardGolden Gate

Cache Fusion

Active? Standby?

TimesTen

Scale

Hadoop

Scale

Scale

UptimeUptime

Uptime

ASM

80

10

3050

70

60

40

20

80

10

30

50

70

60

40

20

80

8

32

56

72

64

48

16

24

4040

24

Application

hash(key) => token(43)

replication factor = 3

80

10

3050

70

60

40

20

Active - Active Datacenter ReplicationApplication

Data Center 1

hash(key) => token(43)

replication factor = 3

80

10

3050

70

60

40

20

Data Center 2

replication factor = 3

81

11

3151

71

61

41

21

28

… … … …

… … … …

… … … …

… … … …

Node memory

Node file system

partition key1 first:Oscar last:Orange level:42

partition key2 first:Ricky last:Red

Memtable

Coordinator

CommitLog

Append O

nly

SSTables

Flush current state to SSTable

Write <3, Betty, Blue, 63>

partition key3 first:Betty last:Blue level:63

Application

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

… … … …

Look Familiar?

Ops Center

Backup and Restore

© 2014 DataStax Confidential. Do not distribute without consent.

Security in Cassandra

18

Cas

sand

ra

Dat

aSta

x En

terp

rise

Internal Authentication Manages login IDs and passwords inside the database

Object Permission Management Controls who has access to what and who can do what in the database

Client to Node Encryption Protects data in flight to and from a database cluster

External Authentication Uses external security software packages to control security

Transparent Data Encryption Encrypts data at rest

Data Auditing Provides trail of who did and looked at what/when

Dev Center

Integrated Analytics and Search, no ETL, one clusterApplication

OLTP with Cassandra

OLAP and Streamingwith Cassandra /Spark

Search with Cassandra / Solr

Faceted Search, Text Mining, etc

BI Tools, ODBC/ JDBC

So, where is the catch?

Oracle to Cassandra Core Concepts Guide Pt. 2 Third normal form? That’s so 20th century. Learn the newest techniques to make your Cassandra database sing from the rafters in performance and scalability. AND it uses concepts that you already know and apply every day. You can do this. This is the must-see half hour of your professional life! These developers found a new way to work with databases. First you will be shocked, then you will be inspired!

Oracle to Cassandra Core Concepts Guide Pt. 3 Tired of timeouts? Cursing your cursors? Join the distributed revolution and bring your dev team into application nirvana. You won’t believe how easy it is to be code complete on your next big project. We will show you how to lead your devs away from the clutches of the DBA and be in control of their own data destiny. Discover the methodology that will make your Cassandra project epic.

Stay tuned!

RachelP50 or PatrickM50- 50% off Priority PassRachelPCert or PatrickMCert- 25% Certification

Recommended