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
Conferences
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

eBook
€8.99 €36.99
Paperback
€45.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

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 : 9781849682015
Category :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

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

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.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
€189.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 €5 each
Feature tick icon Exclusive print discounts
€264.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 €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 153.97
Oracle Goldengate 11g Complete Cookbook
€58.99
Oracle GoldenGate 11g Implementer's guide
€45.99
Getting Started with Oracle Data Integrator 11g: A Hands-On Tutorial
€48.99
Total 153.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

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.