成都创新互联网站制作重庆分公司

【OGG】OGG的下载和安装篇

【OGG】OGG的下载和安装篇

从事成都联通服务器托管,服务器租用,云主机,雅安服务器托管,空间域名,CDN,网络代维等服务。

一.1 BLOG文档结构图

【OGG】OGG的下载和安装篇

一.2 前言部分
一.2.1 导读

各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩)O~:

① OGG的下载和安装

本文如有错误或不完善的地方请大家多多指正,ITPUB留言或QQ皆可,您的批评指正是我写作的最大动力。

一.2.2 实验环境介绍

11.2.0.3  RHEL6.5

一.2.3 本文简介

有个同事喊我解决OGG不能同步的问题,汗颜啊,我也就之前学过安装和简单的配置,当时是成功的,结果帮同事搭建的时候数据死活不能同步。于是下决心这几天好好再研究一下OGG的内容。

一.3 gg安装

在Linux上安装OGG很简单,总体分为以下几个部分:

1. Downloading Oracle GoldenGate software.

2. Setting ORACLE_HOME and ORACLE_SID

3. Setting library paths for dynamic builds

4. Installing the Oracle GoldenGate software

一.3.1 Downloading Oracle GoldenGate software.

第一步,下载gg软件,可以有2种途径直接下载

一.3.1.1 第一种: http://edelivery.oracle.com

1. On a browser, go to http://edelivery.oracle.com

2. Welcome page:

l Select language

l Continue

3. Export Validation:

n Enter your name, company, email, country

n Accept Trial License (even if you have permanent license)

n Accept Export Restrictions

n Continue

4. Media Pack Search:

Select a Product Pack: Oracle Fusion Middleware

Select a platform from the drop-down list

Go

【OGG】OGG的下载和安装篇

5. Results:

Select the Oracle GoldenGate Media Pack you want

Continue

【OGG】OGG的下载和安装篇

【OGG】OGG的下载和安装篇

6. View Readme

7. Download software

8. Download documentation

【OGG】OGG的下载和安装篇

一.3.1.2 第二种:http://www.oracle.com

1. 登录www.oracle.com ,选择Middleware下的See All

【OGG】OGG的下载和安装篇

2. 选择GoldenGate

【OGG】OGG的下载和安装篇

【OGG】OGG的下载和安装篇

注意选择好对应的版本及平台:

【OGG】OGG的下载和安装篇

不用详细说明了吧,所以最终的下载地址:

英文:http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html

中文:http://www.oracle.com/technetwork/cn/middleware/goldengate/downloads/index.html

一.3.2 Setting ORACLE_HOME and ORACLE_SID

Set the environment variables in your .bash_profile (Bash)

ORACLE_BASE=/u01

ORACLE_HOME=$ORACLE_BASE/oracle

ORACLE_SID=ggsource

PATH=$ORACLE_BASE/gg11:$ORACLE_HOME/bin:$PATH

LD_LIBRARY_PATH=$ORACLE_BASE/gg11:$ORACLE_HOME/lib:$LD_LIBRARYPATH

export ORACLE_BASE ORACLE_HOME ORACLE_SID

export PATH LD_LIBRARY_PATH

自己:

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export OGG_HOME=/u01/gg11

export PATH=$OGG_HOME:$ORACLE_HOME/bin:$PATH

export LD_LIBRARY_PATH=$OGG_HOME:$ORACLE_HOME/lib:$LD_LIBRARYPATH

stty erase ^h

alias ggsci='rlwrap ggsci'

一.3.3 Setting library paths for dynamic builds

Platform

Environment variables

IBM AIX

LIBPATH

IBM z/OS

HP-UX

SHLIB_PATH

Solaris

LD_LIBRARY_PATH

HP Tru64

Linux

一.3.4 Installing the Oracle GoldenGate software

Use the gzip and tar options appropriate for your system. If you are installing GoldenGate into a cluster environment, make certain that the GoldenGate binaries and files are installed on a file system that is available to all cluster nodes. After installing GoldenGate, make certain to configure the GoldenGate Manager process within the cluster application, as directed by the vendor’s documentation, so that GoldenGate will fail over properly with the other applications. The Manager process is the master control program for all GoldenGate operations.

A GoldenGate instance is a single installation of GoldenGate.

l Unzip the Oracle GoldenGate media pack .zip file on a Windows system. This produces a .tar file.

l FTP the .tar file in binary mode to the system and directory where you want GoldenGate to be installed.

l Extract the .tar file into the current directory:

tar -xvof .tar

l Run the command shell and change directories to the new GoldenGate directory.

GGSCI> CREATE SUBDIRS

一.3.5 GoldenGate Directories

Directory

Contents

dirchk

GoldenGate checkpoint files

dirdat

GoldenGate trail and extract files

dirdef

Data definitions produced by DEFGEN and used to translate heterogeneous data

dirpcs

Process status files

dirprm

Parameter files

dirrpt

Process report files

dirsql

SQL scripts

dirtmp

Temporary storage for transactions that exceed allocated memory

     a.dirchk:存放检查点文件

     b.dirdat:存放Trail文件

     c.dirdef:存放通过DEFGEN工具生成的源或目标端数据定义文件

     d.dirpcs:存放进程状态文件

     e.dirprm:存放配置参数文件

     f.dirrpt:存放进程报告文件

     g.dirsql:存放sql脚本文件

     h.dirtmp:当食物所需要的内存超过已分配内存时,默认存储在这个目录。

一.4 系统要求

1.一个 OGG 实例最多支持 300 个并发 extract 和 replicat 进程,每个进程需要 25-55M 内存。

2.GGSCI,view report,找到 PROCESS VM AVAIL FROM OS,大约就是系统所需 要的 swap space 大小
3. 磁盘空间每个实例 50-150M,外加 trail 等等,至少给 1G。trail 所需空间 的预估方法是:[log volume in one hour] x [number of hours downtime] * 0.4
4. /tmp 空间,默认是 dirtmp 目录,可以通过 CACHEMGR 参数的 CACHEDIRECTORY 选项指定
5. 安装 OGG 的用户必须属于 ORACLE 数据库实例的组,通常就是 dba。
6. 要想支持RAC里的RMAN log retention特性, 得在add extract之前安装patch BUGFIX 11879974

一.5 自己的安装例子

source和target端的安装过程是一样的。

一.5.1 配置环境变量

[oracle@rhel6_lhr ~]$ vi gg_env.sh

[oracle@rhel6_lhr ~]$ . gg_env.sh

[oracle@rhel6_lhr ~]$ more gg_env.sh

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export PATH=/u01/gg11:$ORACLE_HOME/bin:$PATH

export LD_LIBRARY_PATH=/u01/gg11:$ORACLE_HOME/lib:$LD_LIBRARYPATH

stty erase ^h

alias ggsci='rlwrap ggsci'

[oracle@rhel6_lhr ~]$ mkdir /u01/gg11

[oracle@rhel6_lhr ~]$ env | grep LD

LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/usr/lib

[oracle@rhel6_lhr ~]$ unzip /mnt/hgfs/share/V28941-01.zip  -d /tmp/gg/

Archive:  /mnt/hgfs/share/V28941-01.zip

  inflating: /tmp/gg/fbo_ggs_Linux_x64_ora11g_64bit.tar 

  inflating: /tmp/gg/OGG_WinUnix_Rel_Notes_11.1.1.1.2.pdf 

  inflating: /tmp/gg/Oracle_GoldenGate_11.1.1.1_README.txt 

[oracle@rhel6_lhr ~]$ ll /tmp/gg

total 268088

-rw-r--r--. 1 oracle oinstall 274247680 Oct  7  2011 fbo_ggs_Linux_x64_ora11g_64bit.tar

-rw-r--r--. 1 oracle oinstall    245329 Oct 29  2011 OGG_WinUnix_Rel_Notes_11.1.1.1.2.pdf

-rw-r--r--. 1 oracle oinstall     25065 Oct 29  2011 Oracle_GoldenGate_11.1.1.1_README.txt

一.5.2 解压

[oracle@rhel6_lhr ~]$ tar xvf /tmp/gg/fbo_ggs_Linux_x64_ora11g_64bit.tar -C /u01/gg11/

bcpfmt.tpl

bcrypt.txt

cfg/

cfg/MPMetadataSchema.xsd

cfg/Config.properties

cfg/ProfileConfig.xml

cfg/password.properties

cfg/mpmetadata.xml

cfg/jps-config-jse.xml

chkpt_ora_create.sql

cobgen

convchk

db2cntl.tpl

ddl_access.tpl

ddl_cleartrace.sql

ddlcob

ddl_db2_os390.tpl

ddl_db2.tpl

ddl_ddl2file.sql

ddl_disable.sql

ddl_enable.sql

ddl_filter.sql

ddlgen

ddl_informix.tpl

ddl_mss.tpl

ddl_MySQL.tpl

ddl_nopurgeRecyclebin.sql

ddl_nssql.tpl

ddl_ora10.sql

ddl_ora10upCommon.sql

ddl_ora11.sql

ddl_ora9.sql

ddl_oracle.tpl

ddl_pin.sql

ddl_purgeRecyclebin.sql

ddl_remove.sql

ddl_session1.sql

ddl_session.sql

ddl_setup.sql

ddl_sqlmx.tpl

ddl_status.sql

ddl_staymetadata_off.sql

ddl_staymetadata_on.sql

ddl_sybase.tpl

ddl_tandem.tpl

ddl_tracelevel.sql

ddl_trace_off.sql

ddl_trace_on.sql

defgen

demo_more_ora_create.sql

demo_more_ora_insert.sql

demo_ora_create.sql

demo_ora_insert.sql

demo_ora_lob_create.sql

demo_ora_misc.sql

demo_ora_pk_befores_create.sql

demo_ora_pk_befores_insert.sql

demo_ora_pk_befores_updates.sql

dirjar/

dirjar/oraclepki.jar

dirjar/jps-unsupported-api.jar

dirjar/fmw_audit.jar

dirjar/spring-security-cas-client-3.0.1.RELEASE.jar

dirjar/jps-manifest.jar

dirjar/xstream-1.3.jar

dirjar/monitor-common.jar

dirjar/commons-logging-1.0.4.jar

dirjar/org.springframework.jdbc-3.0.0.RELEASE.jar

dirjar/jps-upgrade.jar

dirjar/org.springframework.core-3.0.0.RELEASE.jar

dirjar/org.springframework.aop-3.0.0.RELEASE.jar

dirjar/org.springframework.web-3.0.0.RELEASE.jar

dirjar/ldapjclnt11.jar

dirjar/jmxremote_optional-1.0-b02.jar

dirjar/spring-security-acl-3.0.1.RELEASE.jar

dirjar/jps-wls.jar

dirjar/identityutils.jar

dirjar/identitystore.jar

dirjar/org.springframework.context-3.0.0.RELEASE.jar

dirjar/jsr250-api-1.0.jar

dirjar/jacc-spi.jar

dirjar/jagent.jar

dirjar/org.springframework.expression-3.0.0.RELEASE.jar

dirjar/org.springframework.context.support-3.0.0.RELEASE.jar

dirjar/spring-security-core-3.0.1.RELEASE.jar

dirjar/jps-api.jar

dirjar/org.springframework.test-3.0.0.RELEASE.jar

dirjar/osdt_core.jar

dirjar/jps-ee.jar

dirjar/osdt_cert.jar

dirjar/log4j-1.2.15.jar

dirjar/org.springframework.aspects-3.0.0.RELEASE.jar

dirjar/org.springframework.instrument-3.0.0.RELEASE.jar

dirjar/jps-common.jar

dirjar/spring-security-config-3.0.1.RELEASE.jar

dirjar/jps-mbeans.jar

dirjar/xmlparserv2.jar

dirjar/commons-codec-1.3.jar

dirjar/xpp3_min-1.1.4c.jar

dirjar/spring-security-web-3.0.1.RELEASE.jar

dirjar/jps-patching.jar

dirjar/spring-security-taglibs-3.0.1.RELEASE.jar

dirjar/org.springframework.orm-3.0.0.RELEASE.jar

dirjar/slf4j-log4j12-1.4.3.jar

dirjar/org.springframework.beans-3.0.0.RELEASE.jar

dirjar/jdmkrt-1.0-b02.jar

dirjar/jps-internal.jar

dirjar/slf4j-api-1.4.3.jar

dirjar/org.springframework.asm-3.0.0.RELEASE.jar

dirjar/org.springframework.transaction-3.0.0.RELEASE.jar

dirjar/osdt_xmlsec.jar

emsclnt

extract

freeBSD.txt

ggMessage.dat

ggsci

help.txt

jagent.sh

keygen

libicudata.so.38

libicui18n.so.38

libicuuc.so.38

libxerces-c.so.28

libxml2.txt

logdump

marker_remove.sql

marker_setup.sql

marker_status.sql

mgr

notices.txt

params.sql

prvtclkm.plb

pw_agent_util.sh

remove_seq.sql

replicat

retrace

reverse

role_setup.sql

sequence.sql

server

sqlldr.tpl

tcperrs

UserExitExamples/

UserExitExamples/ExitDemo_lobs/

UserExitExamples/ExitDemo_lobs/Makefile_lob.SOLARIS

UserExitExamples/ExitDemo_lobs/readme.txt

UserExitExamples/ExitDemo_lobs/exitdemo_lob.vcproj

UserExitExamples/ExitDemo_lobs/Makefile_lob.AIX

UserExitExamples/ExitDemo_lobs/Makefile_lob.LINUX

UserExitExamples/ExitDemo_lobs/Makefile_lob.HPUX

UserExitExamples/ExitDemo_lobs/exitdemo_lob.c

UserExitExamples/ExitDemo/

UserExitExamples/ExitDemo/exitdemo.c

UserExitExamples/ExitDemo/readme.txt

UserExitExamples/ExitDemo/Makefile_exit_demo.HPUX

UserExitExamples/ExitDemo/Makefile_exit_demo.AIX

UserExitExamples/ExitDemo/Makefile_exit_demo.SOLARIS

UserExitExamples/ExitDemo/Makefile_exit_demo.LINUX

UserExitExamples/ExitDemo/Makefile_exit_demo.HP_OSS

UserExitExamples/ExitDemo/exitdemo.vcproj

UserExitExamples/ExitDemo_pk_befores/

UserExitExamples/ExitDemo_pk_befores/Makefile_pk_befores.SOLARIS

UserExitExamples/ExitDemo_pk_befores/readme.txt

UserExitExamples/ExitDemo_pk_befores/Makefile_pk_befores.HPUX

UserExitExamples/ExitDemo_pk_befores/exitdemo_pk_befores.c

UserExitExamples/ExitDemo_pk_befores/Makefile_pk_befores.LINUX

UserExitExamples/ExitDemo_pk_befores/exitdemo_pk_befores.vcproj

UserExitExamples/ExitDemo_pk_befores/Makefile_pk_befores.AIX

UserExitExamples/ExitDemo_more_recs/

UserExitExamples/ExitDemo_more_recs/Makefile_more_recs.SOLARIS

UserExitExamples/ExitDemo_more_recs/readme.txt

UserExitExamples/ExitDemo_more_recs/exitdemo_more_recs.c

UserExitExamples/ExitDemo_more_recs/Makefile_more_recs.AIX

UserExitExamples/ExitDemo_more_recs/Makefile_more_recs.HPUX

UserExitExamples/ExitDemo_more_recs/Makefile_more_recs.LINUX

UserExitExamples/ExitDemo_more_recs/exitdemo_more_recs.vcproj

UserExitExamples/ExitDemo_passthru/

UserExitExamples/ExitDemo_passthru/Makefile_passthru.HPUX

UserExitExamples/ExitDemo_passthru/Makefile_passthru.AIX

UserExitExamples/ExitDemo_passthru/exitdemo_passthru.c

UserExitExamples/ExitDemo_passthru/readme.txt

UserExitExamples/ExitDemo_passthru/Makefile_passthru.SOLARIS

UserExitExamples/ExitDemo_passthru/Makefile_passthru.LINUX

UserExitExamples/ExitDemo_passthru/exitdemopassthru.vcproj

UserExitExamples/ExitDemo_passthru/Makefile_passthru.HP_OSS

usrdecs.h

zlib.txt

一.5.3 安装

1. 这里确保gg11目录的用户为Oracle,如果不是执行: chown -R oracle:oinstall gg11

2. 安装的时候进入gg11目录,不然会安装在当前登录的目录下边

[oracle@rhel6_lhr ~]$ cd /u01

[oracle@rhel6_lhr u01]$ ll

total 8

drwxrwxr-x. 5 grid   oinstall 4096 Jun 14 22:13 app

drwxr-xr-x. 5 oracle oinstall 4096 Oct 30 15:39 gg11

[oracle@rhel6_lhr gg11]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100

Linux, x64, 64bit (optimized), Oracle 11g on Oct  4 2011 23:49:46

Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.

GGSCI (rhel6_lhr) 1> create subdirs

Creating subdirectories under current directory /u01/gg11

Parameter files                /u01/gg11/dirprm: created

Report files                   /u01/gg11/dirrpt: created

Checkpoint files               /u01/gg11/dirchk: created

Process status files           /u01/gg11/dirpcs: created

SQL script files               /u01/gg11/dirsql: created

Database definitions files     /u01/gg11/dirdef: created

Extract data files             /u01/gg11/dirdat: created

Temporary files                /u01/gg11/dirtmp: created

Veridata files                 /u01/gg11/dirver: created

Veridata Lock files            /u01/gg11/dirver/lock: created

Veridata Out-Of-Sync files     /u01/gg11/dirver/oos: created

Veridata Out-Of-Sync XML files /u01/gg11/dirver/oosxml: created

Veridata Parameter files       /u01/gg11/dirver/params: created

Veridata Report files          /u01/gg11/dirver/report: created

Veridata Status files          /u01/gg11/dirver/status: created

Veridata Trace files           /u01/gg11/dirver/trace: created

Stdout files                   /u01/gg11/dirout: created

GGSCI (rhel6_lhr) 2> exit

[oracle@rhel6_lhr gg11]$ ls -ltr

total 249672

-r--r--r--. 1 oracle oinstall     1476 Oct 15  2010 zlib.txt

-r--r--r--. 1 oracle oinstall      759 Oct 15  2010 tcperrs

-r--r--r--. 1 oracle oinstall      248 Oct 15  2010 sqlldr.tpl

-r--r--r--. 1 oracle oinstall     1668 Oct 15  2010 libxml2.txt

-r--r--r--. 1 oracle oinstall     1968 Oct 15  2010 freeBSD.txt

-r--r--r--. 1 oracle oinstall     2653 Oct 15  2010 ddl_tandem.tpl

-r--r--r--. 1 oracle oinstall     3523 Oct 15  2010 ddl_sybase.tpl

-r--r--r--. 1 oracle oinstall     2652 Oct 15  2010 ddl_sqlmx.tpl

-r--r--r--. 1 oracle oinstall     3458 Oct 15  2010 ddl_oracle.tpl

-r--r--r--. 1 oracle oinstall     2653 Oct 15  2010 ddl_nssql.tpl

-r--r--r--. 1 oracle oinstall     3481 Oct 15  2010 ddl_mysql.tpl

-r--r--r--. 1 oracle oinstall     2984 Oct 15  2010 ddl_informix.tpl

-r--r--r--. 1 oracle oinstall     3017 Oct 15  2010 ddl_db2.tpl

-r--r--r--. 1 oracle oinstall     3502 Oct 15  2010 ddl_db2_os390.tpl

-r--r--r--. 1 oracle oinstall     3334 Oct 15  2010 ddl_access.tpl

-r--r--r--. 1 oracle oinstall      159 Oct 15  2010 db2cntl.tpl

-r--r--r--. 1 oracle oinstall     1725 Oct 15  2010 bcrypt.txt

-r--r--r--. 1 oracle oinstall      426 Oct 15  2010 bcpfmt.tpl

-r--r--r--. 1 oracle oinstall    21197 Oct 15  2010 usrdecs.h

-r--r--r--. 1 oracle oinstall     1715 Oct 15  2010 marker_status.sql

-r--r--r--. 1 oracle oinstall     3702 Oct 15  2010 marker_setup.sql

-r--r--r--. 1 oracle oinstall     2162 Oct 15  2010 marker_remove.sql

-r--r--r--. 1 oracle oinstall     2275 Oct 15  2010 demo_ora_misc.sql

-r--r--r--. 1 oracle oinstall     4015 Oct 15  2010 demo_ora_lob_create.sql

-r--r--r--. 1 oracle oinstall      821 Oct 15  2010 demo_ora_insert.sql

-r--r--r--. 1 oracle oinstall      883 Oct 15  2010 demo_ora_create.sql

-r--r--r--. 1 oracle oinstall     2862 Oct 15  2010 ddl_trace_on.sql

-r--r--r--. 1 oracle oinstall     2955 Oct 15  2010 ddl_tracelevel.sql

-r--r--r--. 1 oracle oinstall     2501 Oct 15  2010 ddl_staymetadata_on.sql

-r--r--r--. 1 oracle oinstall     2506 Oct 15  2010 ddl_staymetadata_off.sql

-r--r--r--. 1 oracle oinstall     8872 Oct 15  2010 ddl_status.sql

-r--r--r--. 1 oracle oinstall     1227 Oct 15  2010 ddl_purgeRecyclebin.sql

-r--r--r--. 1 oracle oinstall     1026 Oct 15  2010 ddl_pin.sql

-r--r--r--. 1 oracle oinstall      388 Oct 15  2010 ddl_nopurgeRecyclebin.sql

-r--r--r--. 1 oracle oinstall      692 Oct 15  2010 ddl_enable.sql

-r--r--r--. 1 oracle oinstall      746 Oct 15  2010 ddl_disable.sql

-r--r--r--. 1 oracle oinstall     4189 Oct 15  2010 ddl_ddl2file.sql

-r--r--r--. 1 oracle oinstall     1059 Oct 15  2010 ddl_cleartrace.sql

-r--r--r--. 1 oracle oinstall      739 Oct 15  2010 chkpt_ora_create.sql

-r--r--r--. 1 oracle oinstall     2520 Oct 15  2010 demo_ora_pk_befores_updates.sql

-r--r--r--. 1 oracle oinstall     1227 Oct 15  2010 demo_ora_pk_befores_insert.sql

-r--r--r--. 1 oracle oinstall     1269 Oct 15  2010 demo_ora_pk_befores_create.sql

-r--r--r--. 1 oracle oinstall      967 Oct 15  2010 demo_more_ora_insert.sql

-r--r--r--. 1 oracle oinstall     1217 Oct 15  2010 demo_more_ora_create.sql

-r--r--r--. 1 oracle oinstall     1053 Oct 15  2010 ddl_session.sql

-r--r--r--. 1 oracle oinstall      425 Oct 15  2010 ddl_session1.sql

-r--r--r--. 1 oracle oinstall     3686 Oct 15  2010 ddl_remove.sql

-r--r--r--. 1 oracle oinstall     3414 Oct 15  2010 ddl_mss.tpl

-r--r--r--. 1 oracle oinstall     1272 Dec 10  2010 prvtclkm.plb

-r--r--r--. 1 oracle oinstall   206155 Dec 10  2010 notices.txt

-r--r--r--. 1 oracle oinstall     4752 Dec 10  2010 params.sql

-r--r--r--. 1 oracle oinstall     3102 Feb 10  2011 ddl_filter.sql

-r--r--r-x. 1 oracle oinstall    12622 Feb 10  2011 ddl_ora11.sql

-r--r--r-x. 1 oracle oinstall     6380 Feb 10  2011 ddl_ora10upCommon.sql

-r--r--r-x. 1 oracle oinstall    12947 Feb 10  2011 ddl_ora10.sql

-r--r--r-x. 1 oracle oinstall     2721 Feb 10  2011 ddl_trace_off.sql

-r--r--r--. 1 oracle oinstall     4375 Mar 11  2011 role_setup.sql

-r--r--r--. 1 oracle oinstall     2406 Mar 31  2011 remove_seq.sql

-r-xr-xr-x. 1 oracle oinstall   248842 May 27  2011 ddl_setup.sql

-r--r--r-x. 1 oracle oinstall    13989 May 27  2011 ddl_ora9.sql

-r--r--r-x. 1 oracle oinstall   156062 Jul 19  2011 help.txt

-r-xr--r--. 1 oracle oinstall    32608 Sep  2  2011 sequence.sql

-r-xr-xr-x. 1 oracle oinstall  5323945 Sep 10  2011 libxerces-c.so.28

-r-xr-xr-x. 1 oracle oinstall 11360748 Sep 10  2011 libicudata.so.38

-r-xr-xr-x. 1 oracle oinstall  4034679 Sep 10  2011 libicuuc.so.38

-r-xr-xr-x. 1 oracle oinstall  5359083 Sep 10  2011 libicui18n.so.38

drwxr-xr-x. 7 oracle oinstall     4096 Oct  5  2011 UserExitExamples

-rw-r--r--. 1 oracle oinstall   475120 Oct  5  2011 ggMessage.dat

-rwxr-xr-x. 1 oracle oinstall 41448853 Oct  5  2011 mgr

-rwxr-xr-x. 1 oracle oinstall 24780728 Oct  5  2011 ggsci

-rwxr-xr-x. 1 oracle oinstall     1015 Oct  5  2011 pw_agent_util.sh

-rwxr-xr-x. 1 oracle oinstall      406 Oct  5  2011 jagent.sh

drwxr-xr-x. 2 oracle oinstall     4096 Oct  5  2011 dirjar

drwxr-xr-x. 2 oracle oinstall     4096 Oct  5  2011 cfg

-rwxr-xr-x. 1 oracle oinstall  8196806 Oct  5  2011 cobgen

-rwxr-xr-x. 1 oracle oinstall  8277142 Oct  5  2011 ddlcob

-rwxr-xr-x. 1 oracle oinstall  8676240 Oct  5  2011 emsclnt

-rwxr-xr-x. 1 oracle oinstall   105222 Oct  5  2011 keygen

-rwxr-xr-x. 1 oracle oinstall  1351252 Oct  5  2011 logdump

-rwxr-xr-x. 1 oracle oinstall  8140619 Oct  5  2011 retrace

-rwxr-xr-x. 1 oracle oinstall   402443 Oct  5  2011 reverse

-rwxr-xr-x. 1 oracle oinstall 13821413 Oct  5  2011 server

-rwxr-xr-x. 1 oracle oinstall  8138320 Oct  5  2011 convchk

-rwxr-xr-x. 1 oracle oinstall  9787054 Oct  5  2011 ddlgen

-rwxr-xr-x. 1 oracle oinstall  9668859 Oct  5  2011 defgen

-rwxr-xr-x. 1 oracle oinstall 45803664 Oct  7  2011 extract

-rwxr-xr-x. 1 oracle oinstall 39442364 Oct  7  2011 replicat

drwxrwxr-x. 9 oracle oinstall     4096 Oct 30 15:54 dirver

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirtmp

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirsql

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirrpt

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirprm

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirpcs

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirout

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirdef

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirdat

drwxrwxr-x. 2 oracle oinstall     4096 Oct 30 15:54 dirchk

[oracle@rhel6_lhr gg11]$

[oracle@rhel6_lhr ~]$ cd $OGG_HOME

[oracle@rhel6_lhr gg11]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle

Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO

Linux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:32:14

Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.

GGSCI (rhel6_lhr) 1> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     STOPPED                                          

GGSCI (rhel6_lhr) 2> help

GGSCI Command Summary:

Object:          Command:

SUBDIRS          CREATE

ER               INFO, KILL, LAG, SEND, STATUS, START, STATS, STOP

EXTRACT          ADD, ALTER, CLEANUP, DELETE, INFO, KILL,

                 LAG, REGISTER, SEND, START, STATS, STATUS, STOP

                 UNREGISTER

EXTTRAIL         ADD, ALTER, DELETE, INFO

GGSEVT           VIEW

MANAGER          INFO, SEND, START, STOP, STATUS

MARKER           INFO

PARAMS           EDIT, VIEW

REPLICAT         ADD, ALTER, CLEANUP, DELETE, INFO, KILL, LAG, SEND,

                 START, STATS, STATUS, STOP

REPORT           VIEW

RMTTRAIL         ADD, ALTER, DELETE, INFO

TRACETABLE       ADD, DELETE, INFO

TRANDATA         ADD, DELETE, INFO

SCHEMATRANDATA   ADD, DELETE, INFO

CHECKPOINTTABLE  ADD, DELETE, CLEANUP, INFO

Commands without an object:

(Database)       DBLOGIN, LIST TABLES, ENCRYPT PASSWORD, FLUSH SEQUENCE

                 MININGDBLOGIN

(DDL)            DUMPDDL

(Miscellaneous)  FC, HELP, HISTORY, INFO ALL, OBEY, SET EDITOR, SHELL, 

                 SHOW, VERSIONS, ! (note: you must type the word

                 COMMAND after the ! to display the ! help topic.)

                 i.e.: GGSCI (sys1)> help ! command

For help on a specific command, type HELP .

Example: HELP ADD REPLICAT

GGSCI (rhel6_lhr) 3>

一.6 总结

OGG的安装相对于ORACLE的安装来说是非常简单的,其实也就是配置环境变量,然后解压一下,最后创建目录即可。

一.7 About Me

...........................................................................................................................................................................................

本文作者:小麦苗,只专注于数据库的技术,更注重技术的运用

ITPUB BLOG:http://blog.itpub.net/26736162

本文地址:http://blog.itpub.net/26736162/viewspace-1693241/

本文pdf版:http://yunpan.cn/QCwUAI9bn7g7w 提取码:af2d

QQ:642808185 若加QQ请注明你所正在读的文章标题

创作时间地点:2015-06-09 10:00~ 2015-06-09 19:00 于×××交易中心

<版权所有,文章允许转载,但须以链接方式注明源地址,否则追究法律责任!>

...........................................................................................................................................................................................


网站题目:【OGG】OGG的下载和安装篇
文章来源:http://cxhlcq.com/article/jpdhep.html

在线咨询

微信咨询

电话咨询

028-86922220(工作日)

18980820575(7×24)

提交需求

返回顶部