Sunteți pe pagina 1din 45

Get Proactive!

Maximize Your Premier Support Investment


ACCESS KNOWLEDGE GET RECOGNIZED
Oracle Excellence Award

BUILD YOUR SUCCESS

Proactive Portfolio 15 20+


PREVENT known problems. Support My Oracle Support Proactive Support Champion
RESOLVE issues. Accreditation Essentials
UPGRADE with confidence. Learning Paths Trainings We recognize customers and
Get started today Be Informed partners who champion Proactive
Stay Connected tools and resources for their
Support Toolbox Get Accredited companies or clients.
ACCESS tools, scripts, data collectors, and health
checks for your Oracle products in one location. LEARN MORE
Explore the toolbox
1,450+ 30+
Get Proactive Report Recorded Product Oracle Support
Support Advisor How-to Videos
GAIN valuable insights and maximize benefits Webcasts
of My Oracle Support functionality.
Request a report
ENHANCE ROI Mitigate Risk | Reduce Cost | Gain Advantage
Events Calendar Download the Proactive Data Sheets
BE INFORMED of upcoming Advisor Webcasts, Access a wealth of powerful tools, • Get Proactive
MOS Essentials Training, User Group Sessions, resources, and knowledge that can • Get Proactive: Oracle Servers and Storage
and more! help you manage your applications • Get Proactive: Oracle Software
Register for an event • Get Proactive: Oracle Engineered Systems and Solutions
and technology.

Log onto My Oracle Support and View Oracle Premier Support


It’s Time to Get Proactive! Get Proactive Portfolio (Doc ID 432.1)

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates.
Copyright Other and/or
© 2017, Oracle names its
may be trademarks
affiliates. All rightsofreserved.
their respective
| owners.
Proactive Resources for Training, Tools and Social Channels

Get Proactive
Social Channels
Stay informed via:
MOS Community here
Blogs here
Oracle Support MOS How To Advisor Product Oracle Support Get Proactive Examples: EBS / Database
Essentials Video Series Webcasts Accreditation Portfolio Twitter here
Doc 553747.1 Doc 603505.1 Doc 749066.1 Doc 1583898.1 Doc 432.1 Examples: EBS / Database

Self-paced

Session playback

Live, interactive

High-level (concepts)

Deep-dive instruction (steps)

Learning is ongoing. Select and use learning options to meet your needs.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |


ATTENTION – AUDIO Options
Option 1: Voice Streaming Audio Broadcast Option 2: Teleconference (Dial In)
• No need to dial in on a telephone • Requires telephone to dial in
• Questions can be asked over the phone or in the
• Questions can be asked via WebEx Chat box WebEx Chat
• Details
• If you are listening via voice streaming and it – Conference ID: 3483308
stops, go to Communicate -> Audio Broadcast to – International dial in: (503) 343-6551
restart the streaming audio – US Free call: (877) 456-0429
– View anytime during the conference using
Communicate > Teleconference > Join
Teleconference from your WebEx menu

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 4


Upcoming Advisor Webcast Schedule
 Check out Document ID 740966.1

 Select your area of interest

 Scan through the list of Current Topics

 Register for the session of your interest

 For upcoming Database Advisor Webcasts &


archived recordings, see Note1456176.1

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 5


Oracle Advisor Webcast
OGG Parallel Replicat - A New Feature
In OGG 12.3.x
Pradyumna Deshpande,
Principal Software Engineer

January 18, 2018

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 6


Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 7


Oracle Advisor Webcast
OGG Parallel Replicat - A New Feature
In OGG 12.3.x
Pradyumna Deshpande,
Principal Software Engineer

January 18, 2018

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 8


Objectives

OGG Parallel Replicat - A New Feature In OGG 12.3.x

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 9


Program Agenda

1
Parallel replicat overview
2
Parameters related to Parallel replicat
3 Comparison with Classic and Coordinated replicat
4 Demo
5 Q/A

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 10


OGG Parallel Replicat - A New Feature
In OGG 12.3.x

Pradyumna Deshpande
Principal Software Engineer
Oracle Global Support, GoldenGate
January 2018

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |


Oracle GoldenGate
Oracle GoldenGate provides low-impact capture, routing,
transformation, and delivery of database transactions
across homogeneous and heterogeneous environments in
real-time with no distance limitations.
Cloud

Most Big
Data Transaction Streams
Databases Data
Events
Real time Performance DBs

Extensible & Flexible * The most popular enterprise integration tool in history
Supports Databases, Big Data and NoSQL:
Proven & Reliable

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |


For Oracle Standard Edition, this must be set to 1.

Considerations while setting up OGG


processes for optimal performance.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 13
For Oracle Standard Edition, this must be set to 1.

Extract Configuration
• Ensure the presence of Primary Key/Unique Key in all tables.
• PARALLELISM
– Controls the number of processes used by the logmining server.
– Increase parallelism if “preparers” are CPU bound
• EE allows parallelism of preparers (default = 2)
• SE does not allow parallelism of preparers, this must be set to 1.
Top command output

Steams Pool Advisor sample

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 14
For Oracle Standard Edition, this must be set to 1.

Data Pump Configuration

• The primary function of the Data Pump is to read the trail files created by
Extract and route data to the target host.
• Complex filtering or data transformation configurations can be offloaded to
the pump to reduce the load on the source extract or the target replicat.
• Considerations to improve the pump performance,
– PASSTHRU |NOPASSTHRU
– RMTHOST TCPBUFSIZE and TCPFLUSHBYTES
– RMTHOST COMPRESSION - if network bandwidth is insufficient

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 15
For Oracle Standard Edition, this must be set to 1.

Replicat Configuration
• The replicat process reads the trail, reconstructs the sql and applies to the
target database
– Classic replicat mode (non-integrated) – all databases
– Coordinated replicat mode (non-integrated) – all databases
– Integrated replicat mode – database version 11.2.0.4
– Parallel Replicat (New Feature in 12.3.x GoldenGate)
• Integrated-mode for Oracle Database 12.2.0.1 and later
• Non-Integrated mode for Oracle Database 11.2.0.4 and later
Currently supported for Oracle databae as a target. Support for other databases will be in future
releases.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 16
For Oracle Standard Edition, this must be set to 1.

Parallel replicat Overview

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 17
For Oracle Standard Edition, this must be set to 1.

What is Parallel replicat


• Highly scalable apply engine for the Oracle database that can automatically
parallelize the apply workload taking into account dependencies between
transactions. Parallel Replicat provides all the benefits of Integrated
Replicat performing the dependency computation and parallelism outside
the database. It parallelizes the reading and mapping of trail files and
provides the ability to apply large transactions quickly.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 18
Parallel Replicat – Highly Scalable Apply Engine(new Feature in 12.3)
Up to 1 million+ operations per second
• Up to 5X faster than Integrated Replicat
• Provides the option to apply a single large transaction in parallel
• Parallelizes apply taking into account in dependent transactions
• Ability to Parallelize a Single Large Transaction
– Processes large transactions faster as they are parallelized
– Dependencies are still considered while parallelizing large transaction
Note: Integrated Replicat, one apply server process applies a whole
transaction and apply is serialized
• Ability controlled by a SPLIT_TRANS_RECS parameter which specifies the
transaction split size (in records). Default is 100,000.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 19


Parallel Replicat Architecture
Highly scalable client side Apply Engine

Parallel Mapping

Dependency Calculation
and Scheduling Database
Applier
outside the database Mapper
Dependency ...
... Applier
Trail Mapper Calculation
...
Parallel Appliers Files ... &
Applier
Mapper Scheduling ...
Multiple Pipes Applier

into the database Parallel Replicat

Option to Offload all


Processes to middle-tier

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 20


Parameters specific to Parallel replicat

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 21


Parallel replicat related Parameters
These are parameters which are related to Parallel replicat and can be set accordingly.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 22


Parallel replicat related Parameters
Continued
These are parameters which are related to Parallel replicat and can be set accordingly.

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 23


Comparison of Different Replicat Process
Types

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 24


Comparison with existing Replicats
Parallel
Classic Coordinated Integrated
Feature Replicat
Replicat Replicat Replicat
NI / I
Batch Processing (BATCHSQL) ✔ ✔ ✔ ✔
Barrier Transactions ✖ ✔ ✔ ✔
Dependency Computation ✖ ✖ ✔ ✔
Auto-Parallelism ✖ ✖ ✔ ✔
DML Handler ✖ ✖ ✔ ✖/✔
Auto-CDR ✖ ✖ ✔ ✖/✔
Procedural Replication ✖ ✖ ✔ ✖/✔
Dependency aware Transaction Split ✖ ✖ ✖ ✔
Cross-RAC-node processing ✖ ✔* ✖ ✔

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 25


Example Parameter file

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 26


Creating a Parallel Replication

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 27


Steps to add parallel replicat using admin client

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 28


Steps to add parallel replicat using admin client
Continued

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 29


Steps to add parallel replicat using admin client
Continued

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 30


Demo

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 31


Monitoring Performance of OGG processes

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 32


Monitoring Lag using GG_LAG View

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 33


Additional Tables and Views
GG_LAG_HISTORY View GG_HEARTBEAT and
Historical heartbeat lag GG_HEARTBEAT_HISTORY Tables

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 34


Summary
What we covered today
Common considerations for OGG process
Parallel replicat overview
Parameters specific to Parallel replicat
How to setup parallel replicat process.
Comparison of replicat modes

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 35


Top Articles and Community Links
 MAA white paper Oracle GoldenGate
Performance Best Practices
http://www.oracle.com/technetwork/data
base/availability/maa-gg-performance-
1969630.pdf

 Note 1488668.1 GoldenGate Performance


Data Gathering

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 36


Stay Connected
Oracle Database Support Social Media Channels
My Oracle Support Database Community:
https://community.oracle.com/community/support/oracle_database

My Oracle Support Blogs:


https://community.oracle.com/community/support/support-blogs/database-support-blog

Twitter:
https://twitter.com/oracleDBsupport

Facebook
https://www.facebook.com/OracleDatabaseSupport

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 37


Learn More - Resources and References on Support Portals

Help Documentation Oracle Support My Oracle Support Oracle Support


at your fingertips Essentials Webcasts ‘How To’ Series Accreditation
learning
My Oracle Support and Live instruction, Q&A on Detailed training videos,
Cloud Support Portal how to best use the documentation. Latest Leverage the Oracle
documentation. Find it Support Portals. The How how-to content, Support Accreditation
from the Help link in the To Series covers content webcasts, self-paced portfolio of portal and
top right corner of most similar to Help in a step- replay. Select a feature or product accreditations.
pages in both portals. by-step approach. Doc role to get started. Doc Get accredited today.
553747.1 603505.1 Doc 1583898.1

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 38


Learn More - Resources and References to Get Proactive
Get Proactive Portfolio for your products
Check out the Get Proactive Portfolio for your products. Get familiar with the top
proactive tools. Doc 432.1
Ask the Get Proactive Team get-proactive_ww@oracle.com

Get Proactive Events Calendar


Automatically updated to include latest Advisor Webcasts, MOS Essentials
trainings, user group sessions, and more

Stay Informed about Upcoming Events. Doc 125716.1

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 39


Q&A
• To ask a question on the phone
line, select *1 on your phone.
• To ask a question online, use the
Q&A area at the top.
• Your question will be read aloud in
the order received.
• Question can also be asked on the
My Oracle Support Communities

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 40


Oracle Advisor Webcast Series
Locating Current Schedule & Archived Recordings

Review the current schedule


and archived recording for your
product from Doc 740966.1

Select “Oracle Database”

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 41


Oracle Advisor Webcast Program
Locating Current Schedule & Archived Recordings

Access the Oracle Database


directly via 1456176.1

Drill down to your area of


interest

Recordings available within 48


hours

 Use ‘Questions?’ Link to ask


webcast related questions

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 42


Session Related Community Links
 Questions? For follow up questions on
topics covered in this webcast connect
via this Database Community thread:

 This thread will link to a copy of the


presentation, the webcast recording
and will include the Q&A from the
webcast.

 https://community.oracle.com/thread
/4097789

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 43


Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 44

S-ar putea să vă placă și