What is Delphix

78
What is Delphix

description

 

Transcript of What is Delphix

Page 1: What is Delphix

What is Delphix

Page 2: What is Delphix

kylehailey.com/delphix

Use Cases

What is Delphix

Competition

Page 3: What is Delphix

What is Delphix

Page 4: What is Delphix

Three Physical CopiesThree Virtual Copies

Delphix

Page 5: What is Delphix

Install Delphix on Intel commodity hardware

Intel hardware

Page 6: What is Delphix

Allocate Any Storage to Delphix

Allocate StorageAny type

Pure Storage + DelphixBetter Performance for 1/10 the cost

Page 7: What is Delphix

One time backup of source database

Database

Production

File system

File system

Upcoming

Supports

InstanceInstanceInstance

Application Stack Virtualization

Page 8: What is Delphix

DxFS (Delphix) Compress Data

Database

Production

Data is compressed typically 1/3 size

File system

InstanceInstanceInstance

Page 9: What is Delphix

Incremental forever change collection

Database

Production

File system

Changes

• Collected incrementally forever• Old data purged

File system Time Window

Production

InstanceInstanceInstance

Page 10: What is Delphix

Change collection works with snapshots

Snapshot 0:Source Full Copy

Snapshot 1: Changed blocks at time T1

Page 11: What is Delphix

Snapshots immediately look like full copies as they are mappedonto the previous copy

Snapshot 0Snapshot 1

Page 12: What is Delphix

Snapshot 0Snapshot 1 Snapshot 2: Changed

blocks at time T2

Page 13: What is Delphix

Snapshot 0Snapshot 1

Snapshot 2

Page 14: What is Delphix

Purging old snapshot releases any blocks that have been since replaced, but keeps all unchanged blocks

DropSnapshot 0

Snapshot 1Snapshot 2

Page 15: What is Delphix

Cloning : almost no storage at creation since it is all shared. Upon usage changed blocks will add to storage used

Database

Production

Instance

File systemFile system Time Window

Database

InstanceInstance

InstanceInstance

Page 16: What is Delphix

Typical Architecture

Production Dev, QA, UAT

Instance InstanceInstance Instance

Database

File systemFile system

Database

File systemFile system

InstanceInstance

Database

File systemFile system

InstanceInstance

Database

File systemFile system

Reporting Backup

Instance Instance

Database

File system

File systemFile systemFile systemFile system

Instance

Page 17: What is Delphix

With Delphix

Database

Production

Instance

Database

Dev & QA

Instance

Database

Reporting

Instance

Database

Backup

Instance Instance Instance

File system

Database

InstanceInstance

Database

InstanceInstance

Page 18: What is Delphix

Delphix Use Cases

1. Fast, Fresh, Full2. Free3. Branching4. Federated5. Self Serve

Page 19: What is Delphix

Fast, Fresh, Full

Instance

Time Window

Instance

Development VDB

Source

Page 20: What is Delphix

Free

gif by Steve Karam

Instance

Instance

Instance

Instance

Source

Page 21: What is Delphix

Branching

Instance Instance

Instance

Source

Source Dev

QA branched from Dev

branching

Page 22: What is Delphix

Federated Cloning

Page 23: What is Delphix
Page 24: What is Delphix

Federated

Instance

Instance

Instance

Instance

Source1

Source2

Source1

Page 25: What is Delphix

“I looked like a hero”Tony Young, CIO Informatica

Page 26: What is Delphix

Self Service

Page 27: What is Delphix

Use Cases

1. Development Acceleration

2. Quality

3. BI

Page 28: What is Delphix

DevOps

Page 29: What is Delphix

DevOps With Delphix

1. Efficient QA: Low cost, high utilization2. Quick QA : Fast Bug Fix3. Every Dev gets DB: Parallelized Dev4. Full DB : Less Bugs5. Fast Builds: Culture of Yes

Page 30: What is Delphix

1. Inefficient QA: Long Build times

Build Time

QA Test

96% of QA time was building environment$.04/$1.00 actual testing vs. setup

Build

Without Delphix

Page 31: What is Delphix

: With Delphix

Build Time

QA Test

1% of QA time was building environment$.99/$1.00 actual testing vs. setup

Build Time

QA Test

Build

1. Efficient QA: Lower cost

Page 32: What is Delphix

Rapid QA via Branching

Page 33: What is Delphix

2. QA Delays: bugs found late require more code re-work

Build QA Env QA Build QA Env QA

Sprint 1 Sprint 2 Sprint 3

Bug CodeX

1 2 3 4 5 6 70

10203040506070

Delay in Fixing the bug

Cost ToCorrect

Software Engineering Economics – Barry Boehm (1981)

Without Delphix

Page 34: What is Delphix

2. QA Immediate: bugs found fast and fixed

Sprint 1 Sprint 2 Sprint 3

Bug CodeX

QA QA

Build QA Env QA Build QA Env Q

A

Sprint 1 Sprint 2 Sprint 3

Bug CodeX

: With Delphix

Page 35: What is Delphix

3. Full Copy Shared : Bottlenecks

Frustration Waiting

Old Unrepresentative Data

Without Delphix

Page 36: What is Delphix

3. Private Copies: Parallelize

gif by Steve Karam

: With Delphix

Page 37: What is Delphix

4. Subsets : cause bugs

Without Delphix

Page 38: What is Delphix

Production4. Subsets : cause bugs

Classic problem is that queries that run fast on subsets hit the wall in production.

Developers are unable to test against all data

The Production ‘Wall’

Without Delphix

Page 39: What is Delphix

4. Full Size DB : Eliminate bugs

Production

: With Delphix

Page 40: What is Delphix

5. Slow Environment Builds:

Developer Asks for DB Get Access

Manager approves

DBA Request system

Setup DB

System Admin

Requeststorage

Setup machine

Storage Admin

Allocate storage (take snapshot)

Slow Environment Builds: 3-6 Months to Deliver Data

Without Delphix

Page 41: What is Delphix

5. Slow Environment Builds: culture of no

DBA Developer

Without Delphix

Page 42: What is Delphix

Never enough environments

Without Delphix

Page 43: What is Delphix

5. Self Service: Fast, Efficient. Culture of Yes!

: With Delphix

Page 44: What is Delphix

Quality

1. Forensics2. Testing 3. Recovery

Page 45: What is Delphix

1. Forensics: Investigate Production Bugs

Instance

Time Window

Instance

Development

Anomaly on ProdPossible code bugAt noon yesterday

Spin up VDB of Prod as it was during anomaly

Page 46: What is Delphix

2. Testing : Rewind for patch and QA testing

Instance

Time Window

Instance

Development

Time Window

Prod

Page 47: What is Delphix

2. Testing: A/B

Instance

Time Window

Instance

Instance

• Keep tests for compare• Production vs Virtual

– invisible index on Prod– Creating index on virtual

• Flashback vs Virtual

Test A with Index 1

Test B with Index 2

Page 48: What is Delphix

3. Recovery: Surgical recover of Production

Instance Instance

Development

Time Window

Spin VDB up Before drop

Problem on ProdDropped Table Accidently

Source

Page 49: What is Delphix

Time Window

3. Recovery Surgical or Full Recovery on VDB

Instance

Instance

Dev1 VDB

Time Window

Dev1 VDB

InstanceSource

Source

Dev2 VDB Branched

Page 50: What is Delphix

3. Recovery: Virtual to Physical

Instance Instance

VDB

Source

Time Window

Spin VDB up Before drop

Corruption

Page 51: What is Delphix

3. Recovery

50 days of backup in size of Original

Page 52: What is Delphix

Business Intelligence

Page 53: What is Delphix

ETL and Refresh Windows

1pm 10pm 8am noon

Page 54: What is Delphix

ETL and DW refreshes taking longer

1pm 10pm 8am noon20112012201320142015

Page 55: What is Delphix

ETL and Refresh Windows

20112012201320142015

1pm 10pm 8am noon

10pm 8am noon 9pm

6am 8am 10pm

Globalization limits ETL windows to weekends

Page 56: What is Delphix

ETL and DW Refreshes

Instance

Prod

Instance

DW & BI

Data Guard – requires full refresh if usedActive Data Guard – read only, most reports don’t work

Page 57: What is Delphix

Fast Refreshes

• Collect only Changes• Refresh in minutes

Instance Instance

DW

Prod

Instance

BI

ETL24x7

Page 58: What is Delphix

Temporal Data

Page 59: What is Delphix

Oracle 12c

Page 60: What is Delphix

80MB buffer cache ?

Page 61: What is Delphix

200GBCache

Page 62: What is Delphix

5000

Tnxs

/ m

inLa

tenc

y

300 ms

1 5 10 20 30 60 100 200

with

1 5 10 20 30 60 100 200Users

Page 63: What is Delphix

8000

Tnxs

/ m

inLa

tenc

y

600 ms

1 5 10 20 30 60 100 200Users

1 5 10 20 30 60 100 200

Page 64: What is Delphix

$1,000,000 1TB cache on SAN

$6,000200GB shared cache on Delphix

Five 200GB database copies are cached with :

Page 65: What is Delphix

Data Center Migration : clone migration

5x Source Data Copy < 1x Source Data Copy

Page 66: What is Delphix

Data Center Migration : clone migration + source

5x Source Data Copy < 2 x Source Data Copy

S S

Page 67: What is Delphix

Data Center Migration : clone migration + source

5x Source Data Copy < 1 x Source Data Copy

S SC C C C V V V V

Page 68: What is Delphix

Consolidation

Active Active IdleActive Active

Idle

Without Delphix With Delphix

Page 69: What is Delphix

© 2014 DELPHIX. ALL RIGHTS RESERVED. PRIVATE & CONFIDENTIAL. 69

DBMS License Utilization

• Most DBMS time spent waiting on environment setup, data loads, backups, etc.

• Coupling of data and DB servers forces over-provisioning, limits utilization

• Delphix can attach / detach data to server tier on-demand to drive consolidation

• Potential 2X reduction in DB server footprint cuts HW and DBMS license costs

Page 70: What is Delphix

Devv2.6 v2.6v2.6

QA UAT

v2.6

v2.6 v2.6v2.6v2.7

v2.6 v2.6v2.6v2.8

v2.6v2.6 v2.6v2.6

v2.6v2.7 v2.6v2.7

v2.6v2.8 v2.6v2.8

Page 71: What is Delphix

Devv2.6 v2.6v2.6

QA UAT

v2.6Production

v2.6 v2.6v2.6v2.7

v2.6 v2.6v2.6v2.8

Source Control for the database data

v2.6v2.6 v2.6v2.6

v2.6v2.7 v2.6v2.7

v2.6v2.8 v2.6v2.8

Page 72: What is Delphix

DevProd

2.6

checkout

branching

bookmark

Page 73: What is Delphix

Dev

QA

Prod

2.6

Page 74: What is Delphix

Dev

QA

UAT

Prod

2.6

Page 75: What is Delphix

Dev

QA

UAT

Prod

Dev

QA

UAT

2.6

2.7

Page 76: What is Delphix

Dev

QA

UAT

Prod

Dev

QA

UAT

2.6

2.7

Dev

QA

UAT2.8

Page 77: What is Delphix

Dev

QA

UAT

Prod

Dev

QA

UAT

2.6

2.7

Dev

QA

UAT2.8

Data Control = Source Control for the Database

Page 78: What is Delphix

Dev

QA

UAT

Dev

QA

UAT

2.6

2.7

Dev

QA

UAT

2.8

Data Control = Source Control for the Database

Production Time Flow