【OGG】OGG的下載和安裝篇
從事成都聯(lián)通服務(wù)器托管,服務(wù)器租用,云主機,雅安服務(wù)器托管,空間域名,CDN,網(wǎng)絡(luò)代維等服務(wù)。
各位技術(shù)愛好者,看完本文后,你可以掌握如下的技能,也可以學(xué)到一些其它你所不知道的知識,~O(∩_∩)O~:
① OGG的下載和安裝
本文如有錯誤或不完善的地方請大家多多指正,ITPUB留言或QQ皆可,您的批評指正是我寫作的最大動力。
11.2.0.3 RHEL6.5
有個同事喊我解決OGG不能同步的問題,汗顏啊,我也就之前學(xué)過安裝和簡單的配置,當(dāng)時是成功的,結(jié)果幫同事搭建的時候數(shù)據(jù)死活不能同步。于是下決心這幾天好好再研究一下OGG的內(nèi)容。
在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
第一步,下載gg軟件,可以有2種途徑直接下載
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
5. Results:
Select the Oracle GoldenGate Media Pack you want
Continue
6. View Readme
7. Download software
8. Download documentation
1. 登錄www.oracle.com ,選擇Middleware下的See All
2. 選擇GoldenGate
注意選擇好對應(yīng)的版本及平臺:
不用詳細(xì)說明了吧,所以最終的下載地址:
英文:http://www.oracle.com/technetwork/middleware/goldengate/downloads/index.html
中文:http://www.oracle.com/technetwork/cn/middleware/goldengate/downloads/index.html
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'
Platform
Environment variables
IBM AIX
LIBPATH
IBM z/OS
HP-UX
SHLIB_PATH
Solaris
LD_LIBRARY_PATH
HP Tru64
Linux
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 <filename>.tar
l Run the command shell and change directories to the new GoldenGate directory.
GGSCI> CREATE SUBDIRS
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工具生成的源或目標(biāo)端數(shù)據(jù)定義文件
d.dirpcs:存放進(jìn)程狀態(tài)文件
e.dirprm:存放配置參數(shù)文件
f.dirrpt:存放進(jìn)程報告文件
g.dirsql:存放sql腳本文件
h.dirtmp:當(dāng)食物所需要的內(nèi)存超過已分配內(nèi)存時,默認(rèn)存儲在這個目錄。
1.一個 OGG 實例最多支持 300 個并發(fā) extract 和 replicat 進(jìn)程,每個進(jìn)程需要 25-55M 內(nèi)存。
2.GGSCI,view report,找到 PROCESS VM AVAIL FROM OS,大約就是系統(tǒng)所需 要的 swap space 大小
3. 磁盤空間每個實例 50-150M,外加 trail 等等,至少給 1G。trail 所需空間 的預(yù)估方法是:[log volume in one hour] x [number of hours downtime] * 0.4
4. /tmp 空間,默認(rèn)是 dirtmp 目錄,可以通過 CACHEMGR 參數(shù)的 CACHEDIRECTORY 選項指定
5. 安裝 OGG 的用戶必須屬于 ORACLE 數(shù)據(jù)庫實例的組,通常就是 dba。
6. 要想支持RAC里的RMAN log retention特性, 得在add extract之前安裝patch BUGFIX 11879974
source和target端的安裝過程是一樣的。
[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
[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
1. 這里確保gg11目錄的用戶為Oracle,如果不是執(zhí)行: chown -R oracle:oinstall gg11
2. 安裝的時候進(jìn)入gg11目錄,不然會安裝在當(dāng)前登錄的目錄下邊
[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 <command> <object>.
Example: HELP ADD REPLICAT
GGSCI (rhel6_lhr) 3>
OGG的安裝相對于ORACLE的安裝來說是非常簡單的,其實也就是配置環(huán)境變量,然后解壓一下,最后創(chuàng)建目錄即可。
...........................................................................................................................................................................................
本文作者:小麥苗,只專注于數(shù)據(jù)庫的技術(shù),更注重技術(shù)的運用
ITPUB BLOG:http://blog.itpub.net/26736162
本文地址:http://blog.itpub.net/26736162/viewspace-1693241/
本文pdf版:http://yunpan.cn/QCwUAI9bn7g7w 提取碼:af2d
QQ:642808185 若加QQ請注明你所正在讀的文章標(biāo)題
創(chuàng)作時間地點:2015-06-09 10:00~ 2015-06-09 19:00 于×××交易中心
<版權(quán)所有,文章允許轉(zhuǎn)載,但須以鏈接方式注明源地址,否則追究法律責(zé)任!>
...........................................................................................................................................................................................
新聞名稱:【OGG】OGG的下載和安裝篇
當(dāng)前網(wǎng)址:http://jinyejixie.com/article48/jpdhep.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器、網(wǎng)站制作、網(wǎng)站維護、App設(shè)計、、電子商務(wù)
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)