Upload
software-park-thailand
View
2.040
Download
2
Embed Size (px)
DESCRIPTION
Danairat T, Oracle Thailand Presentation at IASA seminar 25 June 2012
Citation preview
<Insert Picture Here>
Zero Downtime MigrationOracle GoldenGate Use Cases
Danairat T.Enterprise Architect, [email protected], +66-81-559-1446
2
The following is intended to outline our generalproduct direction. It is intended for informationpurposes only, and may not be incorporated into anycontract. It is not a commitment to deliver anymaterial, code, or functionality, and should not berelied upon in making purchasing decisions.The development, release, and timing of anyfeatures or functionality described for Oracle’sproducts remain at the sole discretion of Oracle.
3
Availability Architecture
Comprehensive protection againstdowntime and data loss:
Server failuresDatabase instance crashesStorage subsystem failuresSystem induced data corruptionsAdministrator errorsNetwork outagesSite failuresSystem maintenanceOne-off patches and CPUsDatabase patch-sets and upgrades
DCDatabase
DRDatabase
SYNC / ASYNC
Monitoring
4
Backup System
Real-Time Access:High Availability /
Disaster Recovery
Fraud
Detection
Data
Warehouse
Real-Time Information:Business Intelligence / Data Integration
Transaction:
Cash Withdrawal / Purchase
ATM or POS
System
Oracle GoldenGate Everyday Example…
5
How Oracle GoldenGate Works
LAN/WANInternet
Capture
Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.
SourceOracle & Non-Oracle
Database(s)
TargetOracle & Non-Oracle
Database(s)
6
How Oracle GoldenGate Works
LAN/WANInternet
CaptureTrail
SourceOracle & Non-Oracle
Database(s)
TargetOracle & Non-Oracle
Database(s)
Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.
Trail: stages and queues data for routing.
7
How Oracle GoldenGate Works
LAN/WANInternet
CaptureTrail
Pump
Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).
SourceOracle & Non-Oracle
Database(s)
TargetOracle & Non-Oracle
Database(s)
8
How Oracle GoldenGate Works
LAN/WANInternet
TCP/IP
CaptureTrail
PumpTrail
Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).Route: data is compressed,encrypted for routing to target(s).
SourceOracle & Non-Oracle
Database(s)
TargetOracle & Non-Oracle
Database(s)
9
How Oracle GoldenGate Works
LAN/WANInternet
TCP/IP
CaptureTrail
Pump DeliveryTrail
Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).Route: data is compressed,encrypted for routing to target(s).
Delivery: applies data with transactionintegrity, transforming the data as required.
SourceOracle & Non-Oracle
Database(s)
TargetOracle & Non-Oracle
Database(s)
10
How Oracle GoldenGate Works
LAN/WANInternet
TCP/IP
Bi-directional
CaptureTrail
Pump DeliveryTrail
Capture: committed transactions are captured (and can befiltered) as they occur by reading the transaction logs.
Trail: stages and queues data for routing.
Pump: distributes data for routing to target(s).Route: data is compressed,encrypted for routing to target(s).
Delivery: applies data with transactionintegrity, transforming the data as required.
SourceOracle & Non-Oracle
Database(s)
TargetOracle & Non-Oracle
Database(s)
11
Oracle GoldenGate Topologies
UnidirectionalQuery Offloading
Bi-DirectionalLive Standby or
Active-Active for HA
Peer-to-PeerLoad Balancing,
Multi-Master
BroadcastData Distribution
Integration/ConsolidationData Warehouse
CascadingData Marts
12 12
ContinuousAvailability
• Zero DowntimeMigrationMigrate to Database orupgrade latest applicationversion with no downtime
• Disaster Recovery &Data ProtectionCreate live standby forfailover, avoid and repairblock corruptions
• Data DistributionSynchronize hub & spokeor distributed systems
• Zero DowntimeMigrationMigrate to Database orupgrade latest applicationversion with no downtime
• Disaster Recovery &Data ProtectionCreate live standby forfailover, avoid and repairblock corruptions
• Data DistributionSynchronize hub & spokeor distributed systems
Real Time DataIntegration
• OperationalReportingQuickly report ontransaction system datawith no source impact
• Real Time BusinessIntelligenceUnderstand currentmetrics in historical context
• OperationalReportingQuickly report ontransaction system datawith no source impact
• Real Time BusinessIntelligenceUnderstand currentmetrics in historical context
Query Offloading
• Cost ReductionMove reads to lower costsystems
• Resource UtilizationUse physical standby forreads
• Cost ReductionMove reads to lower costsystems
• Resource UtilizationUse physical standby forreads
Key Areas for Oracle GoldenGate
13
GoldenGate Usage – Zero Downtime Migration
ManagerManager
- Capture / Extract - Delivery / Replicat - Trail
Initial Instantiation
OLTP Users TestersOLTP users are connected toprimary server. The new
database is empty.
Start GoldenGate captureprocess & store transactions intrail. Eliminates need for point-
of-consistency.
Instantiate new database withprimary data while OLTP users
are active. Can use anymethod preferred.
Once instantiation is complete,deliver the real-time
transactions to new databasehandling collisions.
Now testers can confirm thatthe application will work
correctly with live data and notaffect production.
Once testing is complete, startreplication back to primary
from new database. Enables afallback option.
Switch OLTP users to newdatabase. If problems occur,
can immediate fallback to“old” database.
14
GoldenGate Usage – Active-Active Disaster Tolerance
ManagerManager
- Capture / Extract - Delivery / Replicat - Trail
XLoad Balanced – No Single Point of Failure
15
GoldenGate Usage – Active-Active Application Upgrade
Capture Delivery
CaptureDelivery
DBMSA
DBMSB
Stop Application v1 on Server BStop both delivery processes
AppV1
AppV1AppV2
DBUpdate(DDL)
Install the new Appication VersionIntroduce the new DDL to the Database
Test!
TestOpen Delivery process from Server A to B (colmap needed?)Stop Application Server on AStart Application Server on B
AppV2
Install new Application version on server AActivate Delivery process from server B to A
Test!
Test A ServerStart Application Server on A
DBUpdate(DDL)
19
Oracle GoldenGate Management ConsoleEasy Management of Oracle GoldenGate Solutions
• Manages, defines, configures, andreports on Oracle GoldenGatecomponents
• Key features:• Centralized management of
GoldenGate modules• Rich-client and Web-based
interfaces• Alert notifications and integration
with 3rd-party monitoring products• Real-time feedback• Zero-impact implementation
20
Oracle GoldenGate VeridataData Comparison without Downtime
• A high-speed, low impact datacomparison solution• identifies and reports data discrepancies
between heterogeneous databases• without interrupting their availability
• Benefits:• Reduce financial/legal risk exposure• Speed and simplify IT work in comparing
data sources• No disruption to business systems• Improved failover to backup systems• Confident decision-making and reporting
21
GoldenGate Heterogeneous Platforms
Databases O/S and PlatformsCapture: Oracle DB2 Microsoft SQL Server Sybase ASE Teradata Enscribe SQL/MP SQL/MX
Delivery: All listed above, plus: HP Neoview, Netezza, Greenplum, and anyODBC compatible databases ETL products JMS message queues MySQLTimesTen
Windows 2000, 2003, XP
Linux
Sun Solaris
HP NonStop
HP-UX
HP TRU64
HP OpenVMS
IBM AIX
IBM z/OS
22
Oracle GoldenGate Use CasesEnterprise-wide Solution for Real Time Data Needs
• Standardize on SingleTechnology for Multiple Needs
• Deploy for ContinuousAvailability and Real-time Data
Access for Reporting / BI
• Highly Flexible• Fast Deployments
• Lower TCO & Improved ROI
Log Based, Real-Time Change Data
Capture
HeterogeneousSource Systems
EDWODS
EDW
Disaster Recovery,Data Protection
Zero DowntimeMigration and
Upgrades
OperationalReporting
Real-time BI
Standby(Open & Active)
ReportingDatabaseOGG
ODI
ODI
Query Offloading
Data Distribution
New DB/OS/HW/App
Replica
23
Horizontal TechnologyFor Industry-Specific Business Needs
24
GoldenGate for Banking / Financial Services
Key Partners:
Key Customers:
• Industry Challenges• Escalating threats of fraud• Increased competition in risk management• System rationalization and cost reduction• 100% reliability and uptime
• GoldenGate Provides• Continuous availability of transactional and
historical data• Real time data for better intelligence regarding
fraud, risk, and business optimization
• Benefits• Meet the most stringent SLAs for latency,
availability, scalability• IT Managers can sleep better at night• Protect against planned and unplanned
downtime• Lower risk and cost with better, up to date
customer intelligence
25
GoldenGate for Communications
Key Partners:
Key Customers:
• Industry Challenges• Operational efficiency (OPEX reduction)• Transformation of the network & OSS/BSS to
Next-generation technology• Convergence is driving product bundling• Faster time-to-launch for new services
• GoldenGate Provides• Zero downtime for planned and unplanned
events• Real time data for customer service and
customer analysis• Real time data to enable new services
• Benefits• Introduce new services rapidly• Support Real-time services (gaming,
conferencing)• Handle growth and peaks with reliability• Eliminate downtime
26
GoldenGate for ECommerce & Retail
Key Customers:
• Industry Challenges• Promotion Optimization• Logistics & Distribution: Real time Warehouse
Management• Align per Customer Costs to Revenues• Cost-effective Systems that Handle Peak
Loads
• GoldenGate Provides• Real time data integration for optimizing
logistics and customer promotions• Query offloading to reduce system costs• Data distribution to support applications in a
hub/spoke business structure
• Benefits• Improved customer reach and shopper to
buyer conversion• Increased operational efficiency• Maintain margins in good and bad times
27
GoldenGate for Healthcare
Key Partners:
Key Customers:
• Industry Challenges• Paperless Patient Records• Data-Driven Medicine• Staff and Critical Supply Management
• GoldenGate Provides• Continuous availability of data that is a pre-
requisite to going completely electronic• Real time data for intelligence in the business
of healthcare
• Benefits• Protect patient data in the event of system
outages and other failures• Save time for health care providers by
delivering unified view of all current testresults and patient history
• Improve patient outcomes through safetyanalyses such as drug interaction analysis
• business intelligence
29