5 keys to oracle goldengate implemenations

27
Collaborate 2016 Session 1209 Jasmine C Speaker: Bobby Curtis, EMBA, ACED Accenture Enkitec Group 5 KEYS TO ORACLE GOLDENGATE IMPLEMENTATIONS (IN BASEBALL TERMS)

Upload: bobby-curtis

Post on 12-Jan-2017

234 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: 5 Keys to Oracle GoldenGate Implemenations

Collaborate 2016 Session 1209

Jasmine C Speaker: Bobby Curtis, EMBA, ACED

Accenture Enkitec Group

5 KEYS TO ORACLE GOLDENGATE IMPLEMENTATIONS (IN BASEBALL TERMS)

Page 2: 5 Keys to Oracle GoldenGate Implemenations

SPEAKER FOR THIS SESSIONBobby Curtis Infrastructure Principal Accenture Enkitec Group Douglasville, GA

Contact: [email protected] [email protected]

Social/Blog @dbasolved http://dbasolved.com

Page 3: 5 Keys to Oracle GoldenGate Implemenations

‣ What are the 5 key (skills) of success?

‣ Building a Flexible Framework

‣ Implementing the Keys/Skills

‣ Questions

Page 4: 5 Keys to Oracle GoldenGate Implemenations

AGENDA

‣ GoldenGate?

‣ What are the 5 key (skills) of success?

‣ Building a Flexible Framework

‣ Implementing the skills

‣ Questions (feel free to ask throughout)

Page 5: 5 Keys to Oracle GoldenGate Implemenations

What is Oracle GoldenGate?

Page 6: 5 Keys to Oracle GoldenGate Implemenations

Why do I need to know keys for implementations?

What keys should be followed?

Page 7: 5 Keys to Oracle GoldenGate Implemenations

WHAT ARE THE 5 KEYS (SKILLS)

1. Understanding of Environment (Running Speed)

2. Keep It Simple (Hitting for Average)

3. Error Free (Fielding)

4. Secure (Arm Strength)

5. Performance Oriented (Hitting for Power)

Page 8: 5 Keys to Oracle GoldenGate Implemenations

UNDERSTAND THE ENVIRONMENT (RUNNING SPEED)

The most “innate” 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…)

Page 9: 5 Keys to Oracle GoldenGate Implemenations

KEEP IT SIMPLE (HITTING FOR AVERAGE)

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 key. GoldenGate is a tool that starts off simple and gets deep as architecture changes.

Page 10: 5 Keys to Oracle GoldenGate Implemenations

ERROR FREE (FIELDING)

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.

Page 11: 5 Keys to Oracle GoldenGate Implemenations

SECURING (ARM STRENGTH)

The “least important” of the 5 keys/skills! 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!

Page 12: 5 Keys to Oracle GoldenGate Implemenations

PERFORMANCE ORIENTED (HITTING FOR POWER)

Performance is a 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.

Page 13: 5 Keys to Oracle GoldenGate Implemenations

BUILDING A FLEXIBLE FRAMEWORK(KEYS TO SKILLS)

Architecture Diagrams - Running Speed

Data Loading Processes - Running Speed

Parameter Files - Hitting for Average

Macro Files - Fielding

Obey Files - Fielding

Security - Arm Strength

Tuning Requirements - Hitting for Power

Page 14: 5 Keys to Oracle GoldenGate Implemenations

IMPLEMENTING THE SKILLS

Page 15: 5 Keys to Oracle GoldenGate Implemenations

RUNNING SPEEDArchitecture Diagrams: ✴ Logical representations of a GoldenGate environment ✴ Provides understanding of for environment

Associated Tools: ‣ Microsoft Visio (Windows) ‣ OmniGraffle (Mac) ‣ Oracle GoldenGate Studio (Java Based)

Page 16: 5 Keys to Oracle GoldenGate Implemenations

RUNNING SPEED

Data Loading Options: 1. Oracle Data Pump with FLASHBACK_SCN

2. Special Run Extracts

3. Flat File via SQL Loader

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

Page 17: 5 Keys to Oracle GoldenGate Implemenations

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.

Page 18: 5 Keys to Oracle GoldenGate Implemenations

FIELDING

Macro Files: Reusable files that can be used within parameter files. Designed to reduce errors and simplify manageability of environment

Page 19: 5 Keys to Oracle GoldenGate Implemenations

FIELDING

Obey Files: Minimizes typing and increases the successful run of commonly used commands for anything in Oracle GoldenGate.

Page 20: 5 Keys to Oracle GoldenGate Implemenations

ARM STRENGTHSecurity: Security is important at every level of Oracle GoldenGate.

Options:

✴Password Security

✴Command Security

✴Trail File Encryption

Page 21: 5 Keys to Oracle GoldenGate Implemenations

ARM STRENGTH

Password Security: keygen - Utility to used to create one or more encrypted passwords to use with ENCKEYS file

KEYGEN [ keylength ] [ # ]

Page 22: 5 Keys to Oracle GoldenGate Implemenations

ARM STRENGTH

Command Security: CMDSEC - File used to control access to GoldenGate functions

command_name command_object OS_group OS_user { YES | NO }

Page 23: 5 Keys to Oracle GoldenGate Implemenations

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

Page 24: 5 Keys to Oracle GoldenGate Implemenations

HITTING FOR POWERTuning Requirements: Tuning Oracle GoldenGate can only be done once the other skills have been learned.

Page 25: 5 Keys to Oracle GoldenGate Implemenations

HITTING FOR POWER

Tuning Requirements: Top - Down approach to tuning Oracle GoldenGate

Page 26: 5 Keys to Oracle GoldenGate Implemenations

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

Page 27: 5 Keys to Oracle GoldenGate Implemenations