Calculating Oracle Data Guard Network Bandwidth in Sap Environments

Applies to All SAP Releases which run on Oracle Database 10g and above. For more information, visit the Landscape Design and Architecture homepage

Summary This is a step by step guide to calculate Oracle Dataguard bandwith requirement hourly. Author:

Ufuk Yavuz

Company: IBM Global Services Turkiye. Created on: 2 December 2010

Author Bio Ufuk YAVUZ is a SAP Consultant with IBM Global Services Turkiye. He has more than 8 years experince in SAP Basis , Database and Operating Systems as an administrator and consultant.

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 1

Calculating Oracle Data Guard Network Bandwidth in Sap Environments

Table of Contents Introduction ......................................................................................................................................................... 3 Bandwidth Calculation Formula .......................................................................................................................... 3 Getting Redo Generate Per Sec. (RGPS) .......................................................................................................... 3 Recording Redo Generate Per Second Value Hourly ........................................................................................ 3 Analyzing RGPS with Excel ................................................................................................................................ 4 Related Content .................................................................................................................................................. 6 Copyright............................................................................................................................................................. 7

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 2

Calculating Oracle Data Guard Network Bandwidth in Sap Environments

Introduction Oracle Data Guard ensures high availability, data protection and disaster recovery for enterprise data. It aids in establishing and maintaining secondary "standby databases" as alternative/supplementary repositories to production "primary databases". Since it is based on log shipment between primary and secondary databases over network (generally WAN for disaster recovery solutions) one of the main challenges is the calculation of required bandwidth. In this whitepaper a bandwidth calculation method will be explained.

Bandwidth Calculation Formula The formula calculates the required bandwidth with “redo generate per second” value. Required bandwidth = ((Redo generate bytes per sec. / 0.7) * 8) / 1,000,000 = bandwidth in Mbps So we will aim to obtain that value.

Getting Redo Generate Per Sec. (RGPS) We will use gv$sysmetric_history view to get redo generate per second value. This view hold statistical data related to 135 different metric. “Redo generate per second” is one of them. But it only keeps data of last 1 hour with which is taken every minute with 74 samples. ( 60 sample for every minute , 14 sample for every 15 second of last 3 minutes) We will get average and maximum these 74 samples to be able to calculate hourly maximum and average bandwidth. The metric_id of “Redo generate per second” is “2016”. Generally systems activity for all day long or a week must be observed to get an clear idea about required bandwidth. So to keep the historical data of this metric we will use an operating system level script.

Recording Redo Generate Per Second Value Hourly Here is an example script prepared in AIX environment. SID of database is TST .

MAX_SQL='set heading off; \n select max(value) from gv$sysmetric_history where METRIC_ID=2016; \n exit \n' AVG_SQL='set heading off; \n select avg(value) from gv$sysmetric_history where METRIC_ID=2016; \n exit \n' MAX=`echo $MAX_SQL | sqlplus -S / as sysdba` AVG=`echo $AVG_SQL | sqlplus -S / as sysdba` HOUR=`date +%k` echo `date +%d%m%y` $HOUR $MAX $AVG >> /test/log/bandwidth.log

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 3

Calculating Oracle Data Guard Network Bandwidth in Sap Environments

We will run this script hourly via crontab so that it records maximum an average “Redo Generate per Sec” (RGPS) values in bandwidth log. You can use crontab –e command to create crontab entry. An example crontab entry: 01 * * * *

/oracle/TST/sapreorg/bandwidth.sh

At the end of day bandwidth.log file will look like this:

Analyzing RGPS with Excel We can use an excel sheet to turn this values into bandwidth with our formula mentioned before. We pasted the values Hour,MAX ,AVG to column A,B,C respectively. Column D and E has the formula and calculates bandwidth with the values in B and C. =((B2/0,7)*8)/1000000 =((C2/0,7)*8)/1000000

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 4

Calculating Oracle Data Guard Network Bandwidth in Sap Environments

Max. Bandwidth values must be provided for maximum protection mode of Dataguard which keeps standby synchron with primary. So this database needs 56,5 Mbps to run in this modes. Average values are acceptable and must be provided for maximum availability and performance modes. At hour 17 system has a peak average value for bandwidth – 7 Mbps. So finally we got an excel which we can find hourly bandwidth requirement. Further analyses can be done based on RTO and RPO targets.

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 5

Calculating Oracle Data Guard Network Bandwidth in Sap Environments

Related Content For more information, visit the Landscape Design and Architecture homepage

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 6

Calculating Oracle Data Guard Network Bandwidth in Sap Environments

Copyright © Copyright 2010 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries. Business Objects is an SAP company. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

SAP COMMUNITY NETWORK © 2010 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com 7

Calculating Oracle Dataguard Network Bandwidth in SAP ...

Page 1 of 7. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com. © 2010 SAP AG 1. Calculating ...

242KB Sizes 8 Downloads 220 Views

Recommend Documents

Cicada: Predictive Guarantees for Cloud Network Bandwidth
Mar 24, 2014 - In cloud-computing systems, network-bandwidth guarantees have been shown .... hose-model guarantees (their “type-0” and “type-1” services,.

Bandwidth Adaptation in Streaming Overlays
such as Skype relaying and content distribution systems. We believe that ... ID and current bandwidth limit using a directory service such as DNS or it can be ...

SAP Basis Installation on UNIX - Oracle Database.pdf
Page 3 of 236. SAP Basis Installation on UNIX - Oracle Database.pdf. SAP Basis Installation on UNIX - Oracle Database.pdf. Open. Extract. Open with. Sign In.

Fair-Efficient Guard Bandwidth Coefficients Selection in Call ...
the way to generate the Pareto boundary is also provided. Therefore, the ... to give priority level among different call classes [2],[3]. When a call request is coming ...

CoarseZ Buffer Bandwidth Model in 3D Rendering Pipeline
CoarseZ Buffer Bandwidth Model in 3D Rendering Pipeline. Ke Yang, Ke Gao, Jiaoying Shi, Xiaohong Jiang, and Hua Xiong. State Key Lab. of CAD&CG, Zhejiang University, Hangzhou, China. {kyang,gaoke,jyshi,jiangxh,xionghua}@cad.zju.edu.cn. Abstract. Dept

SAP Sams Teach Yourself SAP in 24 Hours.pdf
Technical Editor. A.J. Whalen. Publishing. Coordinator. Olivia Basegio. Cover Designer. Gary Adair. Composition. Mark Shirar. Page 3 of 429. SAP Sams Teach ...

SAP Implementation Strategies for SAP R3 in a Multinational ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. SAP ...

Calculating Heat Change.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Calculating Heat ...

SAP Sams Teach Yourself SAP in 24 Hours.pdf
SAP Sams Teach Yourself SAP in 24 Hours.pdf. SAP Sams Teach Yourself SAP in 24 Hours.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying SAP ...

Calculating Momentum - District 833 Moodle
Scott Macartney, a US Olympic Ski Team member was going 88 miles per hour. (39 m/s) in the downhill ski race when lost his balance and fell. He has a mass.

On Selfish Behavior in TDMA-based Bandwidth ...
Dung T. Tran is with the Department of Computer Science, University of ...... 16-10, Dept. of Computer Science, The University of Texas at Dallas,. 2010. Dung T.

Small groups, large profits: Calculating interest rates in ...
Dec 1, 2012 - rates in community-managed microfinance. OlE Dahl RasMussEN. Ole Rasmussen ([email protected]) is an adviser on Evaluation and Microfinance ...

CUBS: Coordinated Upload Bandwidth Sharing in ...
system prototype to Coordinate Upload Bandwidth Sharing. (CUBS) among ... idle upload bandwidth of neighbors can be used upon a request ..... mation instead of files. The main ..... Linux with the load-based balancing mechanism supported.

Recycling In IEEE 802.16 Networks, Bandwidth Optimization by Using ...
Worldwide Interoperability for Microwave Access (WiMAX), based on IEEE 802.16 standard standards [1] [2], is designed to facilitate services with high transmission rates for data and multimedia applications in metropolitan areas. The physical (PHY) a

Probabilistic-Bandwidth Guarantees with Pricing in Data-Center ...
Abstract—Bandwidth-sharing in data-center networks is an important problem that .... 2; and we call this dynamically-allocated bandwidth. ..... 904–911, Sep. 2009.

Recycling In IEEE 802.16 Networks, Bandwidth ...
characteristics as specified by the system standard using the Wireless MAN-OFDM ... However, wired access to broadband Internet has a very high cost and is ..... Albuquerque, “Routing Metrics and Protocols for Wireless Mesh Networks” ...

SAP APO Production Planning (SAP PPDS in SAP APO)
Click the button below to register a free account and download the file ... Set up the Planning User Interface, a tool for end users to access planning information ...