How to Migrate your Database to Oracle Exadata. Noam Cohen, Oracle DB Consultant, E&M Computing



Similar documents
Exadata and Database Machine Administration Seminar

How To Use Exadata

Exadata Database Machine Administration Workshop NEW

Oracle Database - Engineered for Innovation. Sedat Zencirci Teknoloji Satış Danışmanlığı Direktörü Türkiye ve Orta Asya

Preview of Oracle Database 12c In-Memory Option. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Expert Oracle Exadata

Maximum Availability Architecture

2009 Oracle Corporation 1

Exadata for Oracle DBAs. Longtime Oracle DBA

Inge Os Sales Consulting Manager Oracle Norway

Oracle Database 11g R1 & R2: New Features for Administrators

Maximum Availability Architecture

Oracle Database 10g: Backup and Recovery 1-2

Applying traditional DBA skills to Oracle Exadata. Marc Fielding March 2013

Use RMAN to relocate a 10TB RAC database with minimum downtime. Tao Zuo tao_zuo@npd.com NPD Inc. 9/2011

Oracle Exadata: The World s Fastest Database Machine Exadata Database Machine Architecture

Cross Platform Transportable Tablespaces Migration in Oracle 11g

Automatic Data Optimization

An Oracle White Paper May Exadata Smart Flash Cache and the Oracle Exadata Database Machine

Oracle Database In-Memory The Next Big Thing

Oracle 11g New Features - OCP Upgrade Exam

Expert Oracle Exadata

Oracle Maximum Availability Architecture with Exadata Database Machine. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

Capacity Management for Oracle Database Machine Exadata v2

Oracle Database 11g: New Features for Administrators DBA Release 2

HDS UCP for Oracle key differentiators and why it should be considered. Computacenter insight following intensive benchmarking test

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

Safe Harbor Statement

Oracle Database Cloud Exadata Service

Module 14: Scalability and High Availability

<Insert Picture Here>

ORACLE DATABASE ADMINISTRATOR RESUME

Ultimate Guide to Oracle Storage

Oracle Aware Flash: Maximizing Performance and Availability for your Database

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY" Tokyo. Koln Sebastopol. Cambridge Farnham.

ORACLE CORE DBA ONLINE TRAINING

Novinky v Oracle Exadata Database Machine

ORACLE DATABASE 12c FOR SAP: ROADMAP, BASE CERTIFICATION FEATURES AND OPTIONS

Oracle Database Backup & Recovery, Flashback* Whatever, & Data Guard

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - New Features for Administrators Release 2. 5 Jours [35 Heures]

Data Integration Overview

Oracle Database 10g: Administration Workshop II Release 2

An Oracle White Paper December A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server

SUN ORACLE DATABASE MACHINE

Oracle Database Cloud Service Rick Greenwald, Director, Product Management, Database Cloud

Reducing downtime using incremental backups and X-Platform TTS

SOUG-SIG Data Replication With Oracle GoldenGate Looking Behind The Scenes Robert Bialek Principal Consultant Partner

Copyright 2014 Oracle and/or its affiliates. All rights reserved.

An Oracle White Paper January Oracle Database 12c: Full Transportable Export/Import

An Oracle White Paper April A Technical Overview of the Sun Oracle Database Machine and Exadata Storage Server

Oracle Exadata Database Machine Aké jednoznačné výhody prináša pre finančné inštitúcie

Oracle Database 10g: New Features for Administrators

An Oracle White Paper December Exadata Smart Flash Cache Features and the Oracle Exadata Database Machine

ORACLE EXADATA DATABASE MACHINE X2-8

SUN ORACLE DATABASE MACHINE

OLTP Meets Bigdata, Challenges, Options, and Future Saibabu Devabhaktuni

An Oracle White Paper August Automatic Data Optimization with Oracle Database 12c

Oracle Data Integration Solutions GoldenGate New Features Summary

MACHINE X2-8 ORACLE EXADATA DATABASE ORACLE DATA SHEET FEATURES AND FACTS FEATURES

MACHINE X2-22 ORACLE EXADATA DATABASE ORACLE DATA SHEET FEATURES AND FACTS FEATURES

An Oracle White Paper November Hybrid Columnar Compression (HCC) on Exadata

How To Build An Exadata Database Machine X2-8 Full Rack For A Large Database Server

Oracle Exadata Database Machine for SAP Systems - Innovation Provided by SAP and Oracle for Joint Customers

<Insert Picture Here> Move to Oracle Database with Oracle SQL Developer Migrations

Oracle Database Cross Platform Migration Lucy Feng, DBAK

News and trends in Data Warehouse Automation, Big Data and BI. Johan Hendrickx & Dirk Vermeiren

Oracle Database Cloud Service Lösungen und Strategien. Paul Wehner, Senior Director Sales Consulting, Oracle Frankfurt

Disaster Recovery for Oracle Database

An Oracle White Paper October A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server

Oracle Database 12c Recovery Manager New Features

An Oracle White Paper June A Technical Overview of the Oracle Exadata Database Machine and Exadata Storage Server

Oracle Cloud Storage and File system

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated R2

SharePlex for Oracle How to replicate databases. Jeffrey Surretsky Solutions Architect

An Oracle White Paper January Advanced Compression with Oracle Database 11g

High Availability Infrastructure for Cloud Computing

IT CHANGE MANAGEMENT & THE ORACLE EXADATA DATABASE MACHINE

Oracle Storage Options

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

Oracle Database 12c: New Features for Administrators

An Oracle White Paper April Oracle Database - the best choice for PeopleSoft Applications

<Insert Picture Here> Oracle Exadata Database Machine Overview

Migrating Oracle Databases

Rob Zoeteweij Zoeteweij Consulting

Techniques for implementing & running robust and reliable DB-centric Grid Applications

OCP: Oracle Database 12c Administrator Certified Professional Study Guide. Exam 1Z0-063

Oracle Database In-Memory A Practical Solution

Maximize Availability With Oracle Database 12c

Oracle Architecture, Concepts & Facilities

ORACLE DATA SHEET RELATED PRODUCTS AND SERVICES RELATED PRODUCTS

Oracle Database 12c: Performance Management and Tuning NEW

Advanced Oracle DBA Course Details

D78850GC10. Oracle Database 12c Backup and Recovery Workshop. Summary. Introduction. Prerequisites

Key Factors For a Successful ODA Deployment

Oracle Database 11g: RAC Administration Release 2

Exadata: from Beginner to Advanced in 3 Hours. Arup Nanda Longtime Oracle DBA (and now DMA)

Securing Data in Oracle Database 12c

Transcription:

How to Migrate your Database to Oracle Exadata Noam Cohen, Oracle DB Consultant, E&M Computing

Who am I Working with Oracle Since 2000 Versions 8.0 11g Consulting on all areas from Infrastructure to Application Development And now Exadata noam.co@emet.co.il

Agenda Migration Considerations Migration Strategy Physical Logical

Agenda Migration Considerations Migration Strategy Physical Logical

Migration Considerations Oracle Exadata Synergy between Hardware and Software: Smart Scans Storage Indexes Hybrid Columnar Compression Smart Flash Cache over Flash PCI High Speed InfiniBand Backbone

Migration Considerations So how do you migrate to Exadata Machine? Same as you d migrate to a traditional Oracle machine. Minimal downtime is a major consideration. BUT Never compromise Best Practice Configurations

Migration Considerations Best Practice Considerations: Hybrid Columnar Compression. Smart Scan VS. Index Scan. ORDER BY tables for better usage of Storage Indexes. ASM Diskgroups 4MB AU Size. Large Extents (8MB) for Large Segments.

Migration Methods Methods Overview Physical Migration Data remains in datafiles (block-for-block) Most methods are whole database migration Generally more restrictive Logical Migration Data unloaded from source, loaded into Exadata database w/ SQL Easier to migrate subset Easier to implement structural best practices Generally less restrictive

Migration Methods Generally speaking: Data Warehouse Typical Strategy: Change Structure (remove indexes, reorder tables etc.) Change Storage (new compression, optimize extent sizing) Change Platform (Big to Little Endian). OLTP Typical Strategy: Structure intact Migration method: 1 st : Physical 2 nd : Logical Migration method: 1 st : Logical 2 nd : Physical

Agenda Migration Considerations Migration Strategy Physical Logical

Physical Migration Data remains in datafiles(block-for-block) Database extent sizes remain the same Most methods whole database migration (except TTS) Inherit legacy database configuration indexes, MVs, no compression Stricter requirements Platform and version changes restricted

Physical Migration Best practice challenged Suboptimal sizing Migrate unnecessary objects Objects can be recreated post migration, but Why not use logical method in the first place?

Physical Migration Methods at a Glance: ASM Rebalance to Exadata Storage Connect Exadata storage to existing database nodes ADD grid disks to existing ASM disk groups, DROP legacy storage from existing ASM disk groups Partition roll-in, roll-out to Exadata Storage Connect Exadata storage to existing database nodes Only load into newly created partitions on Exadata storage Drop old partitions from traditional storage Data Guard Physical Standby Create Physical Standby on Sun Oracle Database Machine Data Guard switchover

Physical Migration Methods at a Glance: Data Guard Physical Standby Create Physical Standby on Sun Oracle Database Machine Data Guard switchover Optionally Upgrade to 11.2 (Note#1055938.1) Transportable Database (Note:732053.1) RMAN CONVERT DATABASE ON TARGET to generate scripts. Transfer datafiles to Exadata Storage and Run scripts. Transportable Tablespace(TTS) Build empty 11.2 Exadata database TTS export source system metadata Transfer files to Exadata (CONVERT if source system big endian) TTS import metadata into Exadata database

Physical Migration Method When to Use ASM rebalance Add Exadata storage to existing 11.2 Linux x86-64 database that uses ASM w/ 4MB AU Partition roll-in/out Add Exadata storage to existing 11.2 Linux x86-64 database Data Guard Physical Standby Transportable database Linux source on 11.2, archiving and LOGGING Little endian source on 11.2 Transportable tablespaces Big endian source >= 10.1 Little endian source>=10.1, <11.2

Agenda Migration Considerations Migration Strategy Physical Logical

Logical Migration Data unloaded from source, loaded into Exadata database w/ SQL Move only the user data Best practices can be added 4MB ASM AU size set for new disk groups Large extents (8MB) for large database segments Table compression, if desired Partitioning (added or changed), if desired

Logical Migration Methods at a Glance: Data Guard Logical Standby Create logical standby on 11.2 Sun Oracle Database Machine Change table storage characteristics, as desired (Note:737460.1) Data Pump Unload/Load Data Guard switchover Optionally combine with Database Upgrade (Note #1055938.1) GoldenGate/ Streams Create and upgrade replica on Sun Oracle Database Machine Stop apply Implement best practices on replica (e.g. unload, recreate, reload) Start apply to catch up Disconnect users from primary, reconnect to Sun Oracle Database Machine Data Pump Create Exadata database Import user data into Exadata using Data Pump Network mode -Direct import from source via dblink File mode-export to dump file(s), transfer file(s), Import

Logical Migration Methods at a Glance: Data Pump Create Exadata database Import user data into Exadata using Data Pump Network mode -Direct import from source via dblink File mode-export to dump file(s), transfer file(s), Import CTAS / IAS Create Exadata database CTAS or IAS From external tables in DBFS staging area From dblink to source database

Logical Migration Method Data Guard Logical Standby Oracle GoldenGate/ Streams Data Pump CTAS / IAS When to Use Rolling database upgrade requirement Table storage characteristics will be changed Minimal downtime requirement Different source platform Data type restriction with other methods Initial bulk load

Migration Methods In practice: Current DWsusually not on Linux x86-64 and not running 11g, so most physical methods eliminated Most DWsreplaced by Exadata are running either Oracle on big-endian UNIX, or competitor (e.g. DB2,Netezza,Teradata) Customers only want tables with user data in order to implement new database configuration determined during testing

Migration Methods Most common methods used thus far: Combination for staged migration CTAS/IAS or Data Pump for the initial bulk load into Exadata while source remains in use Perform daily loads (external tables) into both source and Exadata Initially users serviced by source database Move users over to Exadata Stop daily load into source

Questions? Noam Cohen Noam.co@emet.co.il