oracle 8i or 9i to version 10g – upgrading or migrating with eliminated downtime gcoug meeting,...

29
Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Upload: jayson-hoover

Post on 17-Dec-2015

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime

GCOUG Meeting, October 17, 2007Chuck Duncan, Sr. Solutions Consultant

Page 2: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Challenges for Major Upgrade/Migration Projects

Maintaining SLA during planned outage Revenue Impact Customer Expectations Interdependencies,

Integration

Synchronization issues Incremental data

movement Source database impact

Data issues Instantiating

Terabytes/Petabytes Staging areas Change Management Special Handling

Fail-back strategy System/Application

verification Continued data growth

Page 3: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Possible Technologies Evaluated for Oracle Migrations

Export/Import Flat files/SQL*Loader Data Pump Synchronous replication Backup/Recovery

Transportable tablespaces Cross-platform transportable

tablespaces Standby databases Oracle Streams Transactional Data

Management

Non Mission-Critical Systems High Availability Systems

Page 4: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Technology Choices for Oracle Migrations: Considerations

Assume a moderate to significant amount of planned downtime

Significant overhead on the source database

No ongoing management of transactions

Complex, error prone, unmanageable

Migration time dependent on size of data

No manageable failback strategy

No real-time data verification strategy

Export/Import Flat files/SQL*Loader Data Pump Synchronous replication Backup/Recovery

Non Mission-Critical Systems

Page 5: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Technology Choices for Oracle Migrations: Considerations

Transportable Tablespaces No updates possible No incremental solution No failback solution No 9i-10g Cross Platform

Standby Databases (logical) No rolling upgrade in 9i Cannot be used for

heterogeneous migration/upgrade

No real-time verification solution

Streams No rolling upgrade in 9i Limited datatype support (e.g.

no LONG support in 9i) No real-time verification

solution Heterogeneity very complex

Transportable tablespaces Cross-platform transportable

tablespaces Standby databases Oracle Streams Transactional Data

Management

High Availability Systems

Page 6: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Available Solutions/Techniques & Tradeoffs

Scenario:Unloa

d/ Load

Export/ Import

Backup/ Roll

Forward

Transportable

TableSpaces

Standby Databases

Dataguard Streams

GoldenGate TDM

8i or 9i 10g Yes Yes No Yes No No Yes

8i or 9i 10g cross platform

Yes Yes No No No No Yes

8i 9i Yes Yes No Yes No No Yes

8i 9icross platform

Yes Yes No Yes No No Yes

9i 10g RAC/ ASM

Yes Yes No No No No Yes

Non-Oracle 10g

Yes No No No No No Yes

DowntimeWeeks/Days Hours/Minutes Minutes/Seconds

Page 7: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Transactional Data Management

Real-time capture, routing, transformation, delivery, and verification of data transactions across heterogeneous environments with low impact.

TDM is:

Real timeMoves data with sub-second latency

Heterogeneous Moves transactions across different databases and platforms

TransactionalMaintains transaction integrity

GoldenGate further differentiates on:

PerformanceHandles thousands of transactions per second with very low overhead

Extensibility & FlexibilityOpen architecture, modularity enables wide range of solutions

ReliabilitySupports continuous operations and availability

Page 8: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate TDM for Oracle Database Capture

LAN / WAN / Internet

Oracle Database

TargetDatabaseBi-directional

Trail files: Universal data format enables heterogeneity.

Route: No distance constraints via TCP/IP. Compression & encryption.

Capture: Committed changes are captured (and can be filtered) as they occur by reading the transaction logs.

Delivery: Applies transactional data with guaranteed integrity.

CaptureSource Trail Target Trail

Source TrailTarget Trail

Deliver

Deliver Capture

redo log

Page 9: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Oracle 8i or 9i to 10g Upgrades/Migrations

What TDM offers:

Minimal impact and continuous availability during the project

Technology solution for eliminating database downtime

Improved capabilities for data integrity, accuracy

Fail-back solution in the event of unexpected issues/downtime

Proven – with customers in production

Page 10: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

No Downtime Migration: 9i 10g Cross-Platform

9i Solaris

1. Start GoldenGate TDM’s Capture process

2. Set up Clone database, then Upgrade to 10g

3. Cross platform transportable tablespaces metadata export

4. Use a full database NOROWS export (Views, Packages, etc)

1

9i Clone 10g

Solaris23,4

Page 11: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

No Downtime Migration: 9i 10g Cross-Platform

9i Solaris

9i Clone 10g

Solaris

10g

Linux

1. Start GoldenGate TDM’s Capture process2. Set up Clone database, then Upgrade to

10g 3. Cross platform transportable

tablespaces metadata export4. Use a full database NOROWS export

(Views, Packages, etc)5. Set up a new 10g vanilla target

1

23,4

5

6,7

6. Cross platform transportable tablespaces metadata import

7. Full import with IGNORE option

Page 12: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

No Downtime Migration: 9i 10g Cross-Platform

9i Solaris

9i Clone 10g

Solaris

10g

Linux

1. Start GoldenGate TDM’s Capture process2. Set up Clone database, then Upgrade to

10g 3. Cross platform transportable

tablespaces metadata export4. Use a full database NOROWS export

(Views, Packages, etc)5. Set up a new 10g vanilla target

1

2

5

8

6. Cross platform transportable tablespaces metadata import

7. Full import with IGNORE option8. Start GoldenGate TDM Apply process

at target 9. **SWITCHOVER** (not depicted)

3,4

6,7

Page 13: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

No Downtime Migration: 9i 10g Cross-Platform

9i Solaris

10g

Linux

1. Start GoldenGate TDM’s Capture process2. Set up Clone database, then Upgrade to

10g 3. Cross platform transportable

tablespaces metadata export4. Use a full database NOROWS export

(Views, Packages, etc)5. Set up a new 10g vanilla target

1

5

8

6. Cross platform transportable tablespaces metadata import

7. Full import with IGNORE option8. Start GoldenGate TDM Apply process at target9. Verify data (optional)10. **SWITCHOVER** (not depicted)11. Start TDM Capture at target (new source)12. Start TDM Apply at target (old source)

10

11

9i Clone 10g

Solaris23,4

6,7

Failback contingency

Page 14: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

TDM – in Summary

Real Time Allows for highest application availability

Heterogeneous

Allows movement across platforms/databases

Transactional Maintains transactional integrity

Performance No impact on source database

Downtime Only incurred during Application switchover

Verification Real time (dual) verification after migration

Failback With no data loss, in real time

Page 15: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate Major Customer Examples

Database and/or Platform Migrations in all-Oracle environments: Overstock.com: Oracle 9i on Linux Oracle 10g on AIX HP internal testing: Oracle 9i on HP Tru64 Oracle 9i on HP

UX Cerner’s Millennium Application: Oracle 9i on OpenVMS

Oracle 10g on HP UX or AIX

Migrations from non-Oracle to Oracle database environments: Sabre Holdings: HP Nonstop Oracle Siebel on Demand: IBM DB2 Oracle

Integrating non-Oracle data into Oracle BI systems: Dell: OLTP on HP NonStop Oracle Data Warehouse AMD: IBM DB2 Oracle reporting database

Page 16: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate’s Partnership with Oracle: Highlights

Oracle Certified Partner (worldwide) since fall 2006

Oracle Database 11g – beta test partner

Oracle Modernization Alliance – member partner (July 2007)

Siebel CRM - GoldenGate TDM has Validated Integration

Oracle Data Integrator – Proven solutions for real-time data integration and warehousing

Page 17: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Solution Focus Areas for Oracle Customers

High Availability & Disaster Tolerance

Unplanned Outages: Live (Hot) Standby

“Planned Outages”: Oracle database upgrades &

migrations Application, platform

migrations Non-Oracle to Oracle

migrations

Performance & Transaction Load Balancing:

Active-Active

Real-Time Data Integration

Real-Time Data Warehousing (with transformation support)

Offload Live “Real-Time” Reporting

Data Consolidation – Oracle Data Hubs

Page 18: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate TDM: Heterogeneity Supports Applications Running On…

Databases O/S and Platforms

Capture: Oracle DB2 UDB Microsoft SQL Server Sybase ASE Teradata Enscribe SQL/MP SQL/MX

Delivery: All listed above Ingres, MySQL and any ODBC compatible databases

Windows 2000, 2003, XP

Linux

Sun Solaris

HP NonStop

HP-UX

HP TRU64

IBM AIX

IBM z/OS

OpenVMS

Page 19: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

TDM Key Architecture Features

Log-based extraction Reads transaction logs directly, enabling advanced changed data

capture with high performance and minimum impact to source systems.

Routing, flexible topologies Enables users to support various topologies, such as one-to-one,

many-to-one, one-to-many, many-to-many, and bi-directional movement of data.

Dynamic rollback and selective recovery Point-in-time and selective recovery.

Data filtering and transformations Table and row filtering can be applied based on user-defined criteria. Users can map, enrich, translate, and transform transactional data in

real time as it is captured or applied to target systems. Archival and Audit Capabilities

Customization: User Exits, Stored Procedures and Queries, Macros

Compression and Encryption

Page 20: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate Veridata™

“GoldenGate Veridata is a high-speed, low impact data comparison solution that identifies and reports data discrepancies between two databases, without interrupting those systems or the business processes they support.”

Benefits: Reduce risk exposure and act on data discrepancies

sooner Speed and simplify IT work in comparing data sources No disruption to business systems

Page 21: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate Veridata™

Key features: Support for large data volumes Comparisons ran while data sources are kept online Flexible reporting for discrepancy analysis Unparalleled speed and efficiency Selective comparison options Oracle to Oracle HP NonStop to NonStop

- Enscribe & SQL/MP

Page 22: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate Veridata: How it Works

The user chooses tables or files on the source and target databases

The comparison is initiated from the GUI, command line or batch

As the databases continue to change, GoldenGate Veridata reports: Persistent discrepancies In-flight data discrepancies (user configurable)

Page 23: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

GoldenGate Veridata: Architectural Advantages

Initial read and local conversion to a digital signature: Maximum speed Minimal network load

Optional unstructured read and server side sorting Two step comparison cycle allows for:

Operation on replicated production system intelligent identification of “In flight” records

Extremely fast! In testing on moderate hardware 25,000 rows/sec

No interruption of service

Page 24: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Thank you.

[email protected]

Page 25: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Oracle 9i Oracle 10gLinux AIX

Enterprise Data Warehouse

Oracle 9i Oracle 10gLinux AIX

Oracle 9i Oracle 10gLinux AIX

Case Study: Overstock.comMultiple Enterprise Solutions Drive Revenue, Enhanced BI

Business Challenges: Minimize downtime for e-commerce systems

during database & platform migration Improve Business Intelligence by reducing data

latency for the data warehouse Gain a single view of the customer to better

understand purchasing habits, refine marketing campaigns to be more targeted, and ultimately drive more business

Implement a reliable, in-house disaster recovery solution

GoldenGate Solution: Zero downtime during migration project for 3

business-critical e-commerce systems Enabled an operational Teradata EDW through

real-time data integration from e-commerce systems

High Availability for Teradata to balance transaction load and enable failover solution

“Accessing the data in real time using GoldenGate we can immediately see if we’re profitable and if our business processes are working.”

- Sam Peterson, SVP Technology, Overstock.com

High Availability & Real-Time Data Warehousing

Page 26: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Addressing Failback

Stop application at new Primary (10g) Real-time TDM synchronization ensures old primary is

synchronized Switchover Application to old primary (9i) Start Primary database

9i Solaris

10g

Linux

Page 27: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Our Business

We enable real-time, continuous movement of transactional data across Operational and Analytical business systems.

Real-Time Accessto

Real-Time Information

Real-Time Access

Availability: the degree to which information can be instantly accessed.

Real-Time Information

Integration: the process of combining data from different

sources to provide a unified view.

Mission-CriticalSystems

Page 28: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Key GoldenGate Customers… Banking and Finance Healthcare

Telecommunications and Service Operators

Manufacturing & Supply Chain

Government & Public Sector

Travel & Hospitality

Retail and e-Business

Page 29: Oracle 8i or 9i to version 10g – Upgrading or Migrating with Eliminated Downtime GCOUG Meeting, October 17, 2007 Chuck Duncan, Sr. Solutions Consultant

Oracle Database Support

GoldenGate currently has GA support for real-time, continuous data capture from Oracle transaction logs: Oracle 8i, 9i, 10g RAC & ASM

Oracle Database 11g – in progress GoldenGate is a beta tester Product roadmap and engineering underway Internal experts attending training

Why GoldenGate over Oracle native replication? Heterogeneity Performance, volumes/scalability, and IT impact Implementation and manageability Solutions and features