27
ORACLE GOLDENGATE & BASEBALL: 5 KEYS BEFORE MOVING TO THE CLOUD SPEAKER: BOBBY CURTIS, EMBA, ACED SAN FRANCISCO EDITION September 2016

Oracle GoldenGate and Baseball - 5 Keys for Moving to the Cloud

Embed Size (px)

Citation preview

ORACLE GOLDENGATE & BASEBALL:5 KEYS BEFORE MOVING TO THE CLOUDSPEAKER: BOBBY CURTIS, EMBA, ACEDSAN FRANCISCO EDITIONSeptember 2016

SPEAKER

Bobby Curtis

Infrastructure Principal

Accenture Enkitec Group

Douglasville, GA

Contact:

[email protected]

[email protected]

Social/Blog

@dbasolved

http://dbasolved.com

Save the Date

COLLABORATE 17 registration will open on Thursday, October 27.

Call for Speakers

Submit your session presentation! The Call for Speakers is open until

Friday, October 7

AGENDA

‣ Baseball Fundamentals Terms

‣ GoldenGate, what is that .. a bridge?

‣ What are the 5 key of success?

‣ Building a Flexible Framework

‣ Implementing the skills

‣ Questions (feel free to ask throughout)

BASEBALL FUNDAMENTALS TERMS

1. Running Speed

2. Hitting for Average

3. Fielding

4. Arm Strength

5. Hitting for Power

What is Oracle GoldenGate?

“I want it to go fast”!!!!

Why do you need to know these keys for

implementations?

WHAT ARE THE 5 APPROACHES/KEYS

1. Understanding of Environment

2. Keep It Simple

3. Error Free

4. Secure

5. Performance Oriented

UNDERSTAND THE ENVIRONMENT

The simplest item of the 5 keys! Possible to enhance speed of environment by improving items

related to network and systems. This also includes understanding the schema architectures that will

be replicated between environments (metadata, keys, etc…)

KEEP IT SIMPLE

Face it, anyone can configure a basic GoldenGate setup (always have to have a starting place).

Knowing how to configure GoldenGate for any environment is a different story. GoldenGate is a tool

that starts off simple and gets deep as architecture changes.

Year: 2016

Player: Madison Bumgardner

Position: Pitcher

ERA: 2.49

Hitting Ave: .167

HR: 3

ERROR FREE

Good Hands equal Great Environments! Knowing your role as a GoldenGate Administrator will result

in your environments looking like a well oiled machine and making GoldenGate look error free.

GoldenGate Administrators must understand the basics of database administration, GoldenGate, how

to evaluate a problem, and develop a strategy for resolving issues while making it look easy and being

successful. Year: 2016

Player: Brandon Crawford

Position: ShortStop

Fielding Percentage: .979

Hitting Ave: .276

HR: 12

Ref: http://www.baseball-reference.com/players/c/crawfbr01.shtm

l

SECURING

Oracle GoldenGate provides different layers where security can be implemented. Yet, security is

often overlooked due to needing to meet deadlines or is an afterthought. What if, an unauthorized

person gains access to the GoldenGate environment? This is why understanding security within

Oracle GoldenGate is a much needed key/skill!

Year: 2016

Player: Johnny Cueto

Position: Pitcher

ERA: 2.98

PERFORMANCE ORIENTED

Performance is critical when it comes to Oracle GoldenGate! Knowing the basics of GoldenGate will

get you started; however, being performance oriented will take your environment to the next level.

Knowledge and understanding the complex nature of an Oracle GoldenGate environment will enable

you to taylor the environment to process more transactions in smaller amounts of time. Leading to a

higher demands for your skills.

Year: 2016

Player: Buster Posey

Position: Catcher

Batting Avg: .298

Ref: http://www.espn.com/mlb/team/stats/batting/_/name/sf/san-

francisco-giants

BUILDING A FLEXIBLE FRAMEWORK(MAPPING KEYS TO BASEBALL SKILLS)

Environment Running Speed Architecture Diagrams

Environment Running Speed Data Loading Processes

Keep it Simple Hitting for Average Parameter Files

Error Free Fielding Macro & Obey Files

Securing Arm Strength Security

Performance Hitting for Power Tuning Requirements

IMPLEMENTING THE SKILLS

RUNNING SPEED

Architecture Diagrams:

✴Logical representations of a GoldenGate environment

✴Provides understanding of for environment

Associated Tools:‣ Microsoft Visio (Windows)

‣ OmniGraffle (Mac)

‣ Oracle GoldenGate Studio (Java Based)

RUNNING SPEED

Data Loading Options:

1. Oracle Data Pump with FLASHBACK_SCN

2. Recovery Manager (RMAN) using FLASHBACK_SCN

3. Special Run Extracts (Direct Loads)

4. Flat File via SQL Loader

5. SQL over DBLinks (Insert /*+ APPEND */)

HITTING FOR AVERAGE

Parameter Files:

In any environment, you have three/four parameter files (mgr, extract,

data-pump, replicat). Basic parameter can be used to configure

simple setups.

FIELDING

Macro Files:

Reusable files that can be used within parameter files. Designed to

reduce errors and simplify manageability of environment

FIELDING

Obey Files:

Minimizes typing and increases the successful run of commonly used

commands for anything in Oracle GoldenGate.

ARM STRENGTH

Security:

Security is important at every level of Oracle GoldenGate.

Options:

✴Password Security

✴Command Security

✴Trail File Encryption

ARM STRENGTH

Encryption Security:

keygen - Utility to used to create one or more encrypted passwords to

use with ENCKEYS file

KEYGEN [ keylength ] [ # ]

ARM STRENGTH

Command Security:

CMDSEC - File used to control access to GoldenGate functions

command_name command_object OS_group OS_user { YES | NO }

ARM STRENGTH

Trail File Encryption:

ENCRYPTTRAIL - controls whether GoldenGate encrypts data written

to the trail file

2 Methods

Master Key & Wallet - one-time AES key for each trail file (stored in

header)

ENCKEYS - keys store file

HITTING FOR POWER

Tuning Requirements:

Top - Down approach to tuning Oracle GoldenGate

Tuning Oracle GoldenGate can only be done once the other skills

have been learned.

RECAP

1. Running Speed = Understanding of Environment

2. Hitting for Average = Keep It Simple

3. Fielding = Error Free

4. Arm Strength = Secure

5. Hitting for Power = Performance Oriented

ANY QUESTIONS???!!!!!