Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Oracle GoldenGate 11g Implementer's guide
Oracle GoldenGate 11g Implementer's guide

Oracle GoldenGate 11g Implementer's guide: Design, install, and configure high-performance data replication solutions using Oracle GoldenGate

Arrow left icon
Profile Icon John P Jeffries
Arrow right icon
AU$24.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (8 Ratings)
Paperback Feb 2011 280 pages 1st Edition
eBook
AU$14.99 AU$67.99
Paperback
AU$83.99
Subscription
Free Trial
Renews at AU$24.99p/m
Arrow left icon
Profile Icon John P Jeffries
Arrow right icon
AU$24.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (8 Ratings)
Paperback Feb 2011 280 pages 1st Edition
eBook
AU$14.99 AU$67.99
Paperback
AU$83.99
Subscription
Free Trial
Renews at AU$24.99p/m
eBook
AU$14.99 AU$67.99
Paperback
AU$83.99
Subscription
Free Trial
Renews at AU$24.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $24.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Oracle GoldenGate 11g Implementer's guide

Chapter 2. Installing and Preparing GoldenGate

Nowadays the DBA has Sys Admin skills and vice versa. For a successful GoldenGate installation, you will need both, but don't let this put you off! This chapter describes the process of downloading, installing, and configuring the GoldenGate software, plus the pre-installation steps from the Operating System and database preparation to confirming the software and hardware requirements. Consideration has been made to the GoldenGate environment and the Oracle database setup, including a configuration overview that allows you to swiftly get up and running. The final section guides you through the de-installation of the GoldenGate software.

This chapter will step you through the tasks needed to complete an end to end GoldenGate installation in the order specified as follows:

  1. Downloading the software from the Oracle Website.

  2. Unpacking the installation zip file.

  3. Preparing the source and target systems.

  4. Installing the software on source and target systems...

Prerequisites


Although the installation process may vary between platforms, for the purpose of this book, the discussion topics and demonstrations will be based on Oracle GoldenGate V10.4.0.x for Oracle 11g on Oracle Enterprise Linux 5.0 32-bit.

There are a number of prerequisites we need to be aware of before installing Oracle GoldenGate 10.4. Let's take a look at these.

Downloading the software

At the time of writing, to obtain an evaluation copy of GoldenGate 10.4, we need to log on to the Oracle eDelivery website:

http://edelivery.oracle.com

Note

You will need to register and accept the license agreement before you can download any software.

Oracle has placed GoldenGate in the Oracle Fusion Middleware family section, under Business Intelligence. Here you will find Oracle GoldenGate for Oracle and non-Oracle environments on a number of supported platforms.

For example, choose Linux x86 from the drop-down and select Oracle Media Pack v2 for Linux x86. Then click the Continue button.

On the next...

Software installation


Having satisfied all the necessary prerequisities, you are now ready to install the GoldenGate software. The next paragraphs offer a step-by-step guide to the installation process.

Installing GoldenGate

To use GoldenGate software you must install it on both source and target systems. When installing GoldenGate on Linux or UNIX, it is highly recommended that the software is installed by the Oracle user. To install, follow these simple steps:

  1. Extract the Oracle GoldenGate Mediapack zipped file on a Windows system by using WinZip or an equivalent file compression product. This produces a UNIX tar file.

  2. FTP the tar file in binary mode to the UNIX system (database server) and directory where you want GoldenGate to be installed.

  3. Log on using telnet or ssh client to the database server as the Oracle user.

    Tip

    Ensure you have your Oracle environment variables set correctly, including LD_LIBRARY_PATH defined.

    For example, if using bash or korn shell set the variable as follows:

    export...

Preparing the environment


Preparation is the key to just about any task. Get the preparation right and you will be rewarded with the best results. This is also true for GoldenGate, where a number of fundamental areas need to be prepared before the installation can take place.

Preparing the database for data replication

To successfully create, configure and start our Extract, Data Pump, and Replicat processes, it's important to configure the source database. As described in Chapter 1, Getting Started, GoldenGate relies on the database's changed data to accomplish data replication.

Enabling supplemental logging

In order to extract the committed transactions from the source Oracle database's online redo logs, as a minimum the database must be configured for supplemental logging on Primary Key columns. This can be enabled at database level using the following DDL executed as SYSDBA:

[oracle@dbserver1 ggs]$ sqlplus '/as sysdba'
SQL> alter database add supplemental log data (primary key) columns...

Creating the initial configuration


This section describes the concept behind the configuration of GoldenGate and how to set up data replication. The configuration examples are of a basic level and are based on the Oracle Scott/Tiger schema. They do not necessarily represent a production environment. Chapter 7, Advanced Configuration provides greater detail.

You may also wish to refer to the Oracle GoldenGate Reference Guide 10.4 to support your understanding of commands and parameters.

The following steps create a simple GoldenGate unidirectional source-to-target configuration, where data is replicated from the SRC schema in the OLTP database on dbserver1, to the TGT schema in the OLAP database on dbserver2.

Creating the GoldenGate administrator

Before any configuration can take place, we need to create a GoldenGate Administrator user account on both source and target databases. This account provides access to the database tables for GoldenGate configuration and runtime operations.

Log on to...

Uninstalling GoldenGate from Linux/UNIX


Uninstalling the GoldenGate software is, as one would expect, the reverse of installing it. The de-installation is as simple as the installation and can be done by following the example below:

  1. Log on to the database server (as oracle) where the GoldenGate software is installed.

  2. Change directory to the GoldenGate home:

    cd /home/oracle/ggs
    
  3. Start GGSCI:

    ggsci
    
  4. Stop all GoldenGate processes:

    GGSCI (dbserver1) 1> stop EXTRACT *
    

    Or:

    GGSCI (dbserver1) 1> stop REPLICAT *
    

    Then:

    GGSCI (dbserver1) 2> stop MGR
    Manager process is required by other GGS processes.
    Are you sure you want to stop it (y/n)? y
    Sending STOP request to MANAGER ...
    Request processed.
    Manager stopped.
    
    GGSCI (dbserver1) 3> exit
    
  5. Change directory to the installation directory:

    cd /home/oracle
    
  6. Remove the GoldenGate files:

    rm -rf ggs
    
  7. Logon to the Oracle database as SYSDBA and drop the GoldenGate Admin user. Include the CASCADE keyword:

    sqlplus / as sysdba
    SQL> drop user ggs_admin...

Summary


This chapter has provided us with an introduction to the end to end process of preparing the environment and installing the GoldenGate software. Although the initial configuration is relatively simple compared to a production environment, it has delivered the foundation, allowing us to build a working GoldenGate data replication solution.

In the next chapter, we look at design considerations, which is probably the most important step when implementing a GoldenGate solution..

Left arrow icon Right arrow icon

Key benefits

  • The very first book on GoldenGate, focused on design and performance tuning in enterprise-wide environments
  • Exhaustive coverage and analysis of all aspects of the GoldenGate software implementation, including design, installation, and advanced configuration
  • Migrate your data replication solution from Oracle Streams to GoldenGate
  • Design a GoldenGate solution that meets all the functional and non-functional requirements of your system
  • Written in a simple illustrative manner, providing step-by-step guidance with discussion points
  • Goes way beyond the manual, appealing to Solution Architects, System Administrators and Database Administrators

Description

Data replication is an important part of any database system that is growing due to today's demand for real-time reporting and regulatory requirements. GoldenGate has recently become Oracle's strategic real-time data replication solution. Until now, very little has been written about how to implement GoldenGate in a production enterprise environment where performance, scalability, and data integrity are paramount. Your days of dismay over the lack of documentation over Oracle GoldenGate are over. Welcome to Oracle GoldenGate 11g Implementer's guide – a comprehensive practical book, which will deliver answers to your questions in a clear, concise style, allowing you to progress effectively in a timeline-driven environment. Based on the author's own experience, this long awaited GoldenGate administration book has all that is required to install, design, configure, and tune data replication solutions suited to every environment. Be the first to master GoldenGate's power and flexibility by reading this unique hands-on implementation companion. Systems need to send data from one system to another in a timely manner to satisfy the ever-increasing need for speed. Regardless of whether you are a novice or an expert – or someone in between – this book will guide you through all the steps necessary to build a high-performance GoldenGate solution on Oracle11gR1. Expert users can dive into key topic areas such as performance tuning or troubleshooting, while novice users can step through the early installation and configuration chapters, later progressing to the advanced chapters. This book is more than an implementation guide. It offers detailed real-life examples, encouraging additional thought and discussion by going beyond the manual. With Oracle GoldenGate 11g Implementer's guide in hand, you'll be designing, installing, and configuring high-performance solutions using GoldenGate in less time than you can say "replicate"

Who is this book for?

This book is for Solution Architects and Database Architects who wish to learn about the functionality and efforts required in implementing a data replication, migration or integration solution using GoldenGate. It is also designed for System Administrators and Database Administrators who want to implement, or those who have already implemented, Goldengate and who want to explore its advanced features. An intermediate understanding of Oracle database technology is assumed.

What you will learn

  • Deliver high-speed data replication solutions
  • Implement robust Disaster Recovery solutions
  • Migrate applications with no data loss or downtime
  • Configure GoldenGate for High Availability and Scalability
  • Troubleshoot and solve data replication problems, including Conflict Handling and Error Detection
  • Write your own GoldenGate macros and enhancements
  • Configure multi-target replication from a single-source database
  • Configure bi-directional replication
  • Report on your data throughput and latency
  • Tune GoldenGate for high performance
  • Learn about the advanced features and techniques that make GoldenGate the preferred choice in data replication

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 22, 2011
Length: 280 pages
Edition : 1st
Language : English
ISBN-13 : 9781849682008
Category :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $24.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Feb 22, 2011
Length: 280 pages
Edition : 1st
Language : English
ISBN-13 : 9781849682008
Category :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
AU$24.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
AU$249.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts
AU$349.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just AU$5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total AU$ 280.97
Oracle Goldengate 11g Complete Cookbook
AU$105.99
Oracle GoldenGate 11g Implementer's guide
AU$83.99
Getting Started with Oracle Data Integrator 11g: A Hands-On Tutorial
AU$90.99
Total AU$ 280.97 Stars icon
Banner background image

Table of Contents

10 Chapters
Getting Started Chevron down icon Chevron up icon
Installing and Preparing GoldenGate Chevron down icon Chevron up icon
Design Considerations Chevron down icon Chevron up icon
Configuring Oracle GoldenGate Chevron down icon Chevron up icon
Configuration Options Chevron down icon Chevron up icon
Configuring GoldenGate for HA Chevron down icon Chevron up icon
Advanced Configuration Chevron down icon Chevron up icon
Managing Oracle GoldenGate Chevron down icon Chevron up icon
Performance Tuning Chevron down icon Chevron up icon
Troubleshooting GoldenGate Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(8 Ratings)
5 star 62.5%
4 star 12.5%
3 star 12.5%
2 star 12.5%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




M. Davis Aug 02, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book includes solid content that is well organized and clear. It doesn't try to be the last word on all details surrounding GoldenGate. But it does an excellent job providing users who are new to GoldenGate great content surrounding the title--it's a great "implementer's guide".
Amazon Verified review Amazon
Michel van Zoest Mar 14, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
In my daily work as APEX specialist and SOA enthusiast I didn't have the chance to use Oracle GoldenGate before. So I started reading this book as a novice on the subject.I was surprised by the huge amount of information given in this book. Almost every aspect of GoldenGate is described with abundant graphics and schematics. I really loved the introduction for each chapter that clearly explains what to expect in that chapter and the summaries at the end. It helped me to see if I really understood what the author meant to tell me in the rest of the chapter.Even though the book is only roughly 250 pages, and it is crammed full with theory on what GoldenGate is and when and how you should use it, there is still room for some excellent examples that show you how to install and configure GoldenGate and how to use its features. Included are some very nice tips and tricks on what you can do and what you should avoid to do.All in all an excellent book and a must-read for anyone using (or wanting to use) Oracle GoldenGate.
Amazon Verified review Amazon
Lennon Kuo Sep 30, 2012
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am a technical guy and familiar with Oracle Database and E-Business Suite.I have never touched GoldenGate before and now I am really know what's going on with this product and how to sell it to my clients.This is a good start and deep enough.But if you want more then go to check official guides.No matter what this book earn my 5 stars.
Amazon Verified review Amazon
Surachart Opun Feb 28, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
We will learn more step-by-step, see great examples, trip and trick about Oracle GoldenGate. When we need to require in implementing a data replication, migration or integration solution using GoldenGate, This is a useful book for us.How?- Chapter 1: we will learn about Oracle GoldenGate Technology, He explains the capture process, the apply process and other processes. He shows GoldenGate Architecture solutions, that help us for solution idea, when we would like to design it.- Chapter 2: He shows us How to install & prepare GoldenGate - Example: Installing GoldenGate/Configuration + Starting processes on GoldenGate. when we do it step-by-step on Examples, that will help us understand more about GoldenGate processes.This chapter explains some subdirectories what we should know also.- Chapter 3,4: These explain more... goldengate design + configuration and we will learn more configuration options on Chapter 5,6,7 too.- Chapter 8,9,10 : He shows how to manage + tune performance + troubleshootThis book helps to learn Oracle GoldenGate from Immediate to Advance (from Installing to Management it). After we read this book, we should understand more GoldenGate and be able to install, manage and tune it.
Amazon Verified review Amazon
Eric Y. Feb 26, 2011
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Pleasantly surprised; I was looking forward to this book and had very high expectations based of who was writing it. The author does a great job of covering Oracle GoldenGate (GG). The book is a quick and easy read that progresses forward in a step by step manner. This book is much better organized than the actual GG documentation. One minor thing I would of like is an image of where everything is in a recommended One-To-One "typical" replication. There was a table for "Configuration summary" but a visual of all the moving parts, the related files, and how to control/edit each file would have brought everything together visually. I see/read in pictures so this may not matter for other people.Overall highly recommend this book. It's an easy read over a weekend. Chapter 3 and 6 show the experience of the author and the early chapters establishes the right amount of foundation without drowning a person.Here is a one sentence break down on my impression per chapter:Ch 1 "Getting Started" presents some history of GG and the basic architectureCh 2 "Installing and Preparing GoldenGate" get it, install it, and understand what you installedCh 3 "Design Considerations" this chapter is worth the price of the book alone and John provides his experience in written form.Ch 4 "Configuring Oracle GoldenGate" here is where you get your hands dirty and get this really workingCh 5 "Configuration Options" going beyond the basicsCh 6 "Configuring GoldenGate for HA" is covers GG and RAC which is great.Ch 7 "Advanced Configuration" good to know what you can do with the right toolCh 8 "Managing Oracle GoldenGate" ok got it running now keep it running and determine how well it is runningCh 9 "Performance Tuning" make it run faster . . . what else would it be?Ch 10 "Troubleshooting GoldenGate" nothing ever runs perfect all the time how to fix it.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.