- Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There...

32
<Insert Picture Here> Exadata MAA Best Practices Series Session 6: Migrating to Exadata Doug Utzig Doug Utzig Exadata and MAA Best Practices

Transcript of - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There...

Page 1: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

<Insert Picture Here>

Exadata MAA Best Practices SeriesSession 6: Migrating to ExadataDoug UtzigDoug UtzigExadata and MAA Best Practices

Page 2: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Exadata MAA Best Practices Series

<Insert Picture Here>1. E-Business Suite on Exadata 2. Siebel on Exadata 3. PeopleSoft on Exadata 4. Exadata and OLTP Applications 5. Using Resource Manager on Exadata6. Migrating to Exadata 7. Using DBFS on Exadata 8. Exadata Monitoring 9. Exadata Backup & Recovery 10. Exadata MAA 11. Troubleshooting Exadata 12. Exadata Patching & Upgrades 13. Exadata Health Check

2

Page 3: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Terminology

– MAA – Oracle Maximum • TTS – TransportableMAA Oracle Maximum Availability Architecture

– RAC – Oracle Real Application Clusters

TTS Transportabletablespaces

• MOS – My Oracle Support• OTN – Oracle Technology

– ASM – Oracle Automatic Storage Management

– RMAN – Oracle Recovery

OTN Oracle Technology Network

• IB – InfiniBand• IPoIB – Internet Protocol overy

Manager– EHCC – Exadata Hybrid

Columnar Compression

• IPoIB – Internet Protocol over InfiniBand

– DBFS – Database File System

3

Page 4: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

<Insert Picture Here>

Key Points

4

Page 5: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migrating to Exadata

1. Exadata migration is the same as migrating to g g gOracle Database 11g Release 2 on Linux, but you should Simplify and Optimize

2. There are many ways to migrate to Exadata – your “best” way depends on your environment and goalsy p y g

3. A fast network is important for quick migration, but other areas may slow you down

5

Page 6: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Key Point #1Exadata migration is the same as migrating toExadata migration is the same as migrating to Oracle Database 11g Release 2 on Linux, but

you should Simplify and Optimize.

6

Page 7: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migration Goal

• Move your datay

• Simplify and Optimize– Get rid of baggage

– Better performancep– Better resource utilization– Better stability

7

Page 8: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migration Strategy

• Learn target environmentg– Oracle Exadata Database Machine

• No hardware changes allowedOracle Database 11g Release 2– Oracle Database 11g Release 2• Upgrade Guide• Upgrade Companion (MOS 785351.1)

– Linux 64bit or Solaris x86• Little endian

– Automatic Storage Management (ASM)– Oracle Real Application Clusters (RAC)

8

Page 9: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migration Strategy

• Simplify and Optimizey– For Exadata

• Smart storage• Exadata Hybrid Columnar Compression (EHCC)• Exadata Hybrid Columnar Compression (EHCC)

– For best practice• Init.ora• SQL• Schema objects• Tablespaces and data files• Database extent size• Character set (MOS 123670.1)

9

Page 10: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migration Strategy

• Plan– Prepare source system (optional)

• Database upgrade to 11.2• Hardware upgrade• Hardware upgrade• Drop unnecessary schema objects

– Evaluate migration methods• What : Physical, Logical, Hybrid• When: All at once, In stages

10

Page 11: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migration Strategy

• Test– Test migration to non-Exadata Linux x86-64 + ASM

• Oracle 11g Release 2• Latest Exadata patch bundle (MOS 888828 1)• Latest Exadata patch bundle (MOS 888828.1)

• Test– Test on your Exadata system

• Test– Again for good measure

11

Page 12: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Key Point #2There are many ways to migrate to ExadataThere are many ways to migrate to Exadata -the “best” way depends on your environment

and goals.

12

Page 13: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migration Methods

• Physicaly• Logical• Hybrid – combination of Physical and Logical

Physical migration Logical migration

Block for block copy Unload, reload with SQL

Whole tablespace or database Easy to subsetWhole tablespace or database Easy to subset

13

Page 14: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Physical Migration

Method DetailsMethod Details

Physical Standby• Lowest downtime 11.1 or later

Limited cross platform support• MOS 1055938.1• MOS 413484.1

Limited cross platform supportARCHIVELOG and LOGGING

Transportable Database (TDB)Transportable Database (TDB)• MAA on OTN

Oracle 11.2 on any little endian

Transportable Tablespaces (TTS)Oracle 10 1 or later on any platform

• MAA on OTNOracle 10.1 or later on any platform

14

Page 15: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Logical Migration

Method Details

Logical Standby• MOS 737460.1• MOS 1055938.1

Oracle 11.1 or laterLimited cross platform supportARCHIVELOG and LOGGING

• MOS 413484.1ARCHIVELOG and LOGGING

GoldenGate• Lowest downtime

Oracle 9.2 or later• Lowest downtime• MAA on OTN

ARCHIVELOG and LOGGING

Data Pump Oracle 10.1 or later• Direct path load File or network mode

Insert As Select (IAS)• Direct path load

APPEND hintManually parallelize if dblink

15

Direct path load y p

Page 16: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Which One?

• Your best approach– Are you Simplified and Optimized?– Will you Simplify and Optimize?

• EHCC? During migration or after?• EHCC? During migration or after?– Source platform and source version?– Database size?– How much downtime?– Experience level?– Other business requirements?

• Best may not be fastest

16

Page 17: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

ScenarioFrom Existing Database MachineFrom Existing Database Machine

Simplified and Optimized already (?)y ( )– EHCC released in 11gR2

O ti #1 Ph i l St db• Option #1 – Physical Standby

• Option #2 Logical Standby• Option #2 – Logical Standby– Reduce upgrade downtime if coming from 11.1

17

Page 18: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

ScenarioFrom 10gR2 / 11gR1 on Big EndianFrom 10gR2 / 11gR1 on Big Endian

• Option #1 – Transportable Tablespaces– If already Simplified and Optimized

O ti #2 D t P• Option #2 – Data Pump– If not Simplified and Optimized

• Option #3 – GoldenGate– Reduce downtime

18

Page 19: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

ScenarioFrom 10gR2 / 11g on Little Endian (Non-Exadata)From 10gR2 / 11g on Little Endian (Non Exadata)

• Option #1 – Physical Standbyy y– If already Simplified and Optimized on 11g

• Option #2 - Logical StandbyIf t Si lifi d d O ti i d 11– If not Simplified and Optimized on 11g

– Reduce upgrade downtime if coming from 11.1

• Option #3 - Data Pumpp p– Need cross platform support– Need full data type support

Option #4 GoldenGate• Option #4 – GoldenGate– Reduce downtime

19

Page 20: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Key Point #3A fast network is important for quick migrationA fast network is important for quick migration,

but other areas may slow you down.

20

Page 21: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Networks for Moving Data

10 Gb/s Ethernet

40 Gb/s InfiniBand

1 Gb/s Ethernet

B t P ti

Ethernet InfiniBand Ethernet

• Best Practice– Large MTU

• IPoIB connected mode– Use all database servers

21

Page 22: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Bottleneck Not Always the Network

• Non-network bottlenecksNon network bottlenecks

– Slow source system I/O

CPU to send and recei e– CPU to send and receive

– Small I/O

22

Page 23: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Moving Data Direct to ASM

• Databases on Exadata use ASM– Direct to ASM network transfer

• RMAN BACKUP AS COPY AUXILIARY• ASMCMD CP• ASMCMD CP• DBMS_FILE_TRANSFER• XDB FTP

– Bytes transferred != bytes written

23

Page 24: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Staging Data

• Staging spaceg g– DBFS (MOS 1054431.1)– NFS

NOT local disk– NOT local disk

24

Page 25: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Key Points and

Business Takeaways

25

Page 26: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migrating to ExadataKey Points ey o ts

1. Exadata migration is the same as migrating to g g gOracle Database 11g Release 2 on Linux, but you should Simplify and Optimize

2. There are many ways to migrate to Exadata – your “best” way depends on your environment and goalsy p y g

3. A fast network is important for quick migration, but other areas may slow you down

26

Page 27: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migrating to Exadata Business Takeawaysus ess a ea ays

• Proper migration planning takes into account both g gyour business requirements and the need to Simplify and Optimize, which may involve changing common practices you currently use in order to get the fullpractices you currently use, in order to get the full value out of Oracle Exadata Database Machine.

• Proper migration testing requires a well-researched, well-tested migration plan that ensures a successful, predictable migration to Exadatapredictable migration to Exadata.

27

Page 28: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Migrating to Exadata Resources and Referencesesou ces a d e e e ces

• Latest Exadata Software (MOS 888828.1)( )

• DBFS (MOS 1054431.1)

• Changing Storage Characteristics on Logical Standby• Changing Storage Characteristics on Logical Standby

(MOS 737460.1)

• Database Machine Migration using Data Guard (MOS• Database Machine Migration using Data Guard (MOS

1055938.1)

Data Guard Heterogeneous Support (MOS 413484 1)• Data Guard Heterogeneous Support (MOS 413484.1)

• Upgrade Companion (MOS 785351.1)

28

Page 29: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

Best PracticesAdditional Resources sponsored by MAA and X-TeamAdditional Resources sponsored by MAA and X Team

• MAA and Exadata OTN website contains best practices and different architectural solutions

– MAA OTN website:http://www.oracle.com/technetwork/database/features/availability/maa-090890.html090890.html

– Sun Oracle Database Machine and Exadata OTN websitehttp://www.oracle.com/technetwork/database/exadata/index-089737.html

• Openworld presentations– http://openworld.vportal.net

29

Page 30: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

SponsorsExadata MAA Team and X TeamExadata MAA Team and X Team

• Operational and Configuration best practices g– Optimized and integrated for Exadata – Generic practices for other platforms

Examples: Migration Backup/Recovery Monitoring– Examples: Migration, Backup/Recovery, Monitoring, Troubleshooting, Patching, MAA, Consolidation, Active Data Guard, Cloning/Reporting, Application Failover

• Applications MAA and Scalability• Applications MAA and Scalability – Optimized and integrated for Exadata and Exalogic– Examples: E-Business Suite, Siebel, Peoplesoft, Fusion

Middleware

• Exadata Strategic Reference Program

30

Page 31: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

31

Page 32: - Oracle › webfolder › technetwork › Exadata › MAA...should Simplify and Optimize 2. There are many ways to migrate to Exadata – your “best”

32