Professional Documents
Culture Documents
• What is Availability
• Road to Active / Active
• Conflicts
• Migrations
• Today’s Technologies
• Case Studies
• Questions
HP & GoldenGate Software Partnership Highlights
• GoldenGate’s First Product on HP NSK Delivered 1996
Performance, Latency,
Scalability
#1: Active
Migrations
System Failure
Upgrades
Data Failure
Maintenance
Road to Active / Active
Goals of an Active/Active Implementation
Source Trail
LAN / WAN / Target Trail
Capture
Internet Deliv
er
Target Trail
Source Deliver
Source Trail
Target
Capture
Database Database
Bi-directional
Uni-Directional Plus Live Reporting
Conflict Avoidance
• Building an environment where conflicts are avoided under normal
processing conditions
Conflict Detection
• Detecting if the same row was updated on both the source and target
before the changes were applied by data replication
Conflict Resolution
• Determining business rules on how to handle collisions
Conflict Avoidance
• Application partitioning
– User-based
– Account number based
– Geographic
– …
• Application Logic
– Account Balance
– Inventory
– Customer address
• Network Outage
– What do you do?
Conflict Resolution Approaches
• Data Issues
Real Time Real-time incremental synchronization of data
transactions during the migration
• Risk Mitigation
Big-Bang Cutover
Capture Deliver
Source Target
Database Database
Verify
Unidirectional Migration with Failback Option
Big-Bang Cutover
Target Trail
Source Trail
Capture Deliver
Fail-back Contingency
Source Failback Trail
Failback Trail Target
Database Capture Database
Delivery
Verify
Bidirectional Migration
• Eliminate downtime during the data migration
• Gradual cutover with two active systems
• Switch users back and forth on a schedule
• Not Trivial – Need Application knowledge (Packaged Solutions for BASE24, GE
Carecast, Siebel)
Phased Cutovers
Verify
Migration Validation
How Confident Are You: Does Node A = Node B?
“Although redundancy in a data architecture will be added value in some cases and required in others,
redundancy introduces the risk of discrepancies when all related copies of data are not kept in sync
and current.”
-- Ted Friedman, Gartner, January 2004
GoldenGate Veridata: How it Works
• The user chooses tables or files on the source and target databases
• The comparison is initiated from the Veridata web-based UI or command line
• As the databases continue to change, GoldenGate Veridata reports:
– Persistent discrepancies
– In-flight data discrepancies (user configurable)
Today’s Technologies
Hardware Redundancies
• Hardware / Operating System Redundancies
– Tandem
– Stratus
– Clustering
• Storage Redundancies
– Storage Mirroring
– Host-based Mirroring
– Raid
• Backup Technology
– Backups
– Snapshots
Hardware Redundancies
• Pros
– Non intrusive
– Easy to implement
– Complementary strategy
• Cons
• No heterogeneous support
• Exact environments
• Inflexible
• Recovery is not instantaneous
• Distance constraints
Replication Technology
• Physical Replication
– EMC
– Fujitsu
– Hitachi
– Veritas
• Logical Replication
– DRNet
– GoldenGate
– RDF
– Shadowbase
Physical Replication
• Pros
– Non-intrusive
– Easy to implement
– Complementary strategy
• Cons
– No heterogeneous support
– Exact environments
– Inflexible
– Recovery is all or nothing
– Distance constraints
Logical Replication
• Pros
– Selective
– Filtering
– Mapping
– Transformation
– Active/Active
– Targeted repair
– No distance constraints
– Flexible topologies (one-to-many)
• Cons
– Not a black box implementation
Logical Replication – Further Breakdown
• Decoupled Architecture
– Pros
• Handle outages by design
• Create non-equal source and target pairs for better scalability
• Easy to add new platforms
• Easy to add new databases
– Cons
• More processes
Change Data Capture - Techniques
• Shadow Tables • Timestamp Based
– Pros – Pros
• Custom tailored capture • No modifications to the Application
• Real-Time capture • No increased I/O in commit path
• Easiest to code
– Cons
• Application intrusive – Cons
• Increased I/O in commit path • Batch capture
• Inflexible to Application changes • Impact on Source system
• Second toughest to code • Scripts and timestamp management
GoldenGate Solution:
• GoldenGate Live Standby for real-time
copies of production systems with no Opera Property Management
System (Oracle)
downtime
• GoldenGate real-time data feeds into EDW
increases the value of MGM’s consolidated
Enterprise Data Warehouse
customer view (SQL Server 2000) Players Club Program
SQL Server 2005 SQL Server 2000
• Migrate Players Club system from SQL
Server 2000-2005 & upgrade hardware
Results:
(future).
§ No Downtime for mission critical systems
§ Real-time consolidated view of customer in EDW
Thank You
cmcallister@goldengate.com
dmahon@goldengate.com
Questions?