Replication solutions for Oracle database 11g. Zbigniew Baranowski

Similar documents
Tier0 plans and security and backup policy proposals

Evolution of Database Replication Technologies for WLCG

Database Services for CERN

Real-time Data Replication

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

Maximum Availability Architecture

Distributed Database Access in the LHC Computing Grid with CORAL

Portable Scale-Out Benchmarks for MySQL. MySQL User Conference 2008 Robert Hodges CTO Continuent, Inc.

Tips and Tricks for Using Oracle TimesTen In-Memory Database in the Application Tier

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

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

High Availability Databases based on Oracle 10g RAC on Linux

Oracle Aware Flash: Maximizing Performance and Availability for your Database

Disaster Recovery for Oracle Database

2009 Oracle Corporation 1

ORACLE DATABASE ADMINISTRATOR RESUME

Objectivity Data Migration

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

SAP HANA - Main Memory Technology: A Challenge for Development of Business Applications. Jürgen Primsch, SAP AG July 2011

The LCG Distributed Database Infrastructure

<Insert Picture Here> RMAN Configuration and Performance Tuning Best Practices

HADOOP MOCK TEST HADOOP MOCK TEST I

Database Monitoring Requirements. Salvatore Di Guida (CERN) On behalf of the CMS DB group

A Performance Engineering Story

Oracle Data Integration Solutions GoldenGate New Features Summary

REDCENTRIC MANAGED DATABASE SERVICE SERVICE DEFINITION

DMS Performance Tuning Guide for SQL Server

Benchmarking FreeBSD. Ivan Voras

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

Sybase Replication Server 15.6 Real Time Loading into Sybase IQ

Running a typical ROOT HEP analysis on Hadoop/MapReduce. Stefano Alberto Russo Michele Pinamonti Marina Cobal

Data Compression in Blackbaud CRM Databases

Petabyte Scale Data at Facebook. Dhruba Borthakur, Engineer at Facebook, SIGMOD, New York, June 2013

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle

Oracle Database Auditing Performance Guidelines

Oracle Database 11 g Performance Tuning. Recipes. Sam R. Alapati Darl Kuhn Bill Padfield. Apress*

How To Test For A Test On A Test Server

The Future of PostgreSQL High Availability Robert Hodges - Continuent, Inc. Simon Riggs - 2ndQuadrant

Oracle Database 10g: Backup and Recovery 1-2

Virtuoso and Database Scalability

The Microsoft Large Mailbox Vision

EMC XtremSF: Delivering Next Generation Performance for Oracle Database

Using RDBMS, NoSQL or Hadoop?

Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation

<Insert Picture Here> Oracle Database Directions Fred Louis Principal Sales Consultant Ohio Valley Region

Performance And Scalability In Oracle9i And SQL Server 2000

Sanovi DRM for Oracle Database

Postgres Plus xdb Replication Server with Multi-Master User s Guide

Oracle vs. SQL Server. Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012

Google File System. Web and scalability

Improve Business Productivity and User Experience with a SanDisk Powered SQL Server 2014 In-Memory OLTP Database

Why and How You Should Be Using Policy-Managed RAC Databases

Customer evaluation guide Toad for Oracle v12 Database administration

An Oracle White Paper June High Performance Connectors for Load and Access of Data from Hadoop to Oracle Database

Daniela Milanova Senior Sales Consultant

DSS. High performance storage pools for LHC. Data & Storage Services. Łukasz Janyst. on behalf of the CERN IT-DSS group

Managing a Large OLTP Database

Data Management in the Cloud

MySQL performance in a cloud. Mark Callaghan

WITH A FUSION POWERED SQL SERVER 2014 IN-MEMORY OLTP DATABASE

Oracle Database In-Memory The Next Big Thing

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

AIX NFS Client Performance Improvements for Databases on NAS

MySQL Enterprise Backup

CitusDB Architecture for Real-Time Big Data

ADDING A NEW SITE IN AN EXISTING ORACLE MULTIMASTER REPLICATION WITHOUT QUIESCING THE REPLICATION

Accelerate Oracle Performance by Using SmartCache of T Series Unified Storage

Synchronous multi-master clusters with MySQL: an introduction to Galera

How To Choose Between A Relational Database Service From Aws.Com

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

BENCHMARKING CLOUD DATABASES CASE STUDY on HBASE, HADOOP and CASSANDRA USING YCSB

THE ATLAS DISTRIBUTED DATA MANAGEMENT SYSTEM & DATABASES

TUTORIAL WHITE PAPER. Application Performance Management. Investigating Oracle Wait Events With VERITAS Instance Watch

Oracle and Streams Diagnostics and Monitoring

One solution to protect all Physical, Virtual and Cloud

Oracle to SQL Server 2005 Migration

The Hadoop Distributed File System

Eloquence Training What s new in Eloquence B.08.00

Be Very Afraid. Christophe Pettus PostgreSQL Experts Logical Decoding & Backup Conference Europe 2014

Oracle Active Data Guard Far Sync Zero Data Loss at Any Distance

Batch Processing in Disaster Recovery Configurations Best Practices for Oracle Data Guard

Report from SARA/NIKHEF T1 and associated T2s

Load Testing Analysis Services Gerhard Brückl

Running Successful Disaster Recovery Tests

Affordable, Scalable, Reliable OLTP in a Cloud and Big Data World: IBM DB2 purescale

Database as a Service (DaaS) Version 1.02

Module 3: Instance Architecture Part 1

Module 14: Scalability and High Availability

Birds of a Feather Session: Best Practices for TimesTen on Exalytics

Condusiv s V-locity Server Boosts Performance of SQL Server 2012 by 55%

StreamServe Persuasion SP5 Oracle Database

Active/Active DB2 Clusters for HA and Scalability

LCG POOL, Distributed Database Deployment and Oracle

Microsoft SQL Server Native High Availability with XtremIO

Oracle9i Data Guard: SQL Apply Best Practices. An Oracle White Paper September 2003

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

Serving 4 million page requests an hour with Magento Enterprise

Why Standardize on Oracle Database 11g Next Generation Database Management. Thomas Kyte

Getting the Most Out of Flash Storage

Distributed File System. MCSN N. Tonellotto Complements of Distributed Enabling Platforms

Transcription:

Replication solutions for Oracle database 11g Zbigniew Baranowski

Agenda Testing of replication solutions with real production workload Preparing the environment Comparison of results Conclusions 11g replication deployment for experiments databases Proposals of changes for 2012 Deployment strategy

Motivation Validation of technologies with real production data Generic tests rarely uncover bugs and problems Confidence when moving to production Tests have no impact on production environment! Measurable and valuable comparison of available replication solutions Exactly the same workload HW&SW configuration equal to production Isolated test environment

Setting up the environment Source Host TEST11G Target Host TEST11G standby STRM11G

Setting up the environment Source Host TEST11G Target Host TEST11G standby STRM11G 11.2.0.2 11.2.0.2 STREAMS Redo log transport STREAMS 10.2.0.5 10.2.0.5 10.2.0.5 10.2.0.5

Performance Monitoring Streams 11g STRMMON compatible with 11g GoldenGate Current out of the box monitoring does not offer much Custom scripts has been written DataGuard 11g STRMMON has been extended to offer performance history of standby database

Workload description Replication software configuration Default SW configuration Workload set #1 LHC file catalogue (LHCb) Data window of 13 days (28/05 10/06) 15GB of redo logs generated on source ~4M of operations (statements) 1,5M of inserts 1,5M of updates 1M of deletes 7M of row changes

Dataguard: Shipping database redo log files over the network to the target db Results for workload #1

Performance results with workload #1 Shipping database redo log files over the network to the target db Database writer (DBW) process was a bottleneck due to CPU (100% on one core) Slow down due to big transaction processing Random access to database data files was a bottleneck Log mining of redo logs is very efficient Random access to data files was a bottleneck

Almost no load on source Insignificant load on target I/O (reads) only for shipping redo logs over the quite significant of I/O Resource utilization by system workload#1 (reads and writes) network No writes on the source Besides redo download Almost no load on source Some load on target (apply paralellism) No writes on source. Quite a lot of reads (logmining) Small amount of reads. High writes rato (~20MB/s) Insignificant load on source and target High reads rates during logmining Modrate I/O reates

Workload description Replication software configuration DataGuard: 2x database writers GoldenGate: SQLBatch optimization enabled Workload set #2 LHC file catalogue (LHCb) Data window of 13 days (10/06 23/06) 17GB of redo logs generated on source ~6M of operations (statements) 2,5M of inserts 2M of updates 1,5M of deletes 3229273 transactions in total (~ 10M of row changes)

Results for workload #2 BatchSQL disabled

Performance results with workload #2 Database writers (DBW) process were still a bottleneck due to CPU (100% on one core) Random access to database data files was a bottleneck Random access to database data files BatchSQL disabled

Resource utilization by workload#2 Target load increased by 1 but performance did not improve Without BatchSQL load is lower and performance better

Conclusions DataGuard was the fastest technology Streams were slower by 1.5 GoldenGate was slower by 2 Optimization of DG did not bring significant effects BatchSQL optimization brought down GG performance by 3 introducing overhead additionally No more SW optimization from Streams and Goldengate

Conclusions Resource utilization Insignificant load on source system (all) DataGuard while using log buffers does not need to read anything from disks on source db DataGuard writes data to replica most efficient (lowest write rates) Streams introduce highest load on target system (parallel composition of data changes) Streams required a lot of reads on source (~15MB/s) system but less on target (use of buffered queues)

Bug discoverd Streams DDL replication incomatibiities between RDBMS 10.2.0.5 and 11.2.0.2 D D L D D L D D L X STREAMS X STREAMS 10.2.0.5 10.2.0.5 11.2.0.2

Replication plans for 2012 No changes (Streams11g) ATLAS (foreseen in 2013) LHCb COMPASS Streams replacement with ADG CMS ALICE

CMS overview Databases Online (CMSONR) Size 3486 GB 588 schemas Offline (CMSR) Size 3459GB Replications 3 streamings (conditions, pvss and misc) 60% of CMSONR database size is replicated 92 schemas, 2078 GB many DDL updates many cross schema dependencies high workload - around 500 LCR/s (periodical data delivery latency on PVSS replication)

Safe streams replacement with ADG for CMS - PVSS, COND replica schemas can be dropped. - CMSR RAC can be reduced - some storage space can be reclaim (also from STANDBY) Redo Transport STREAMS COND STREAMS PVSS STREAMS MISC Everybody is happy with ADG we can drop streams Redo Transport PVSS, COND, MISC readers sessions Other OFFLINE readers sessions

ALICE overview Databases Online (ALIONR) size: 2788GB 97 schemas Offline (PDBR) Size 1174GB Replications PVSS 2 schemas,431 GB (15% of ALIONR), avg workload 50 LCRs/s Replica size on PDBR: 349 GB (30% of db size)

Safe streams replacement with ADG for ALICE - PVSS replica schemas can be dropped. - some storage space can be reclaim on PDBR STREAMS PVSS PVSS readers sessions Everybody is happy with ADG we can drop streams

Future plans Switchover and failover tests in double standby database environment Validation of active standby with CMS applications GodenGate 11.2 beta testing?