5 keys to oracle goldengate implemenations
TRANSCRIPT
Collaborate 2016 Session 1209
Jasmine C Speaker: Bobby Curtis, EMBA, ACED
Accenture Enkitec Group
5 KEYS TO ORACLE GOLDENGATE IMPLEMENTATIONS (IN BASEBALL TERMS)
SPEAKER FOR THIS SESSIONBobby Curtis Infrastructure Principal Accenture Enkitec Group Douglasville, GA
Contact: [email protected] [email protected]
Social/Blog @dbasolved http://dbasolved.com
‣ What are the 5 key (skills) of success?
‣ Building a Flexible Framework
‣ Implementing the Keys/Skills
‣ Questions
AGENDA
‣ GoldenGate?
‣ What are the 5 key (skills) of success?
‣ Building a Flexible Framework
‣ Implementing the skills
‣ Questions (feel free to ask throughout)
What is Oracle GoldenGate?
Why do I need to know keys for implementations?
What keys should be followed?
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)
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…)
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.
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.
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!
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.
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
IMPLEMENTING THE SKILLS
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)
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 */)
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 STRENGTHSecurity: Security is important at every level of Oracle GoldenGate.
Options:
✴Password Security
✴Command Security
✴Trail File Encryption
ARM STRENGTH
Password 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 POWERTuning Requirements: Tuning Oracle GoldenGate can only be done once the other skills have been learned.
HITTING FOR POWER
Tuning Requirements: Top - Down approach to tuning Oracle GoldenGate
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