goldengate在linux上的安裝

lingsam發表於2012-03-27
上傳ggs_Linux_x86_ora9i_32bit.zip
#mkdir /goldengate
#chown oracle.dba /goldengate
#unzip ggs_Linux_x86_ora9i_32bit.zip
#mv ggs_Linux_x86_ora9i_32bit.tar /glodengate
$cd /goldengate
$tar -xvf ggs_Linux_x86_ora9i_32bit.tar
$./ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100
Linux, x86, 32bit (optimized), Oracle 9i on Oct  4 2011 23:54:15

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


GGSCI (ogg2) 1> 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
(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 (ogg2) 2> create subdirs
Creating subdirectories under current directory /goldengate

Parameter files                /goldengate/dirprm: created
Report files                   /goldengate/dirrpt: created
Checkpoint files               /goldengate/dirchk: created
Process status files           /goldengate/dirpcs: created
SQL script. files               /goldengate/dirsql: created
Database definitions files     /goldengate/dirdef: created
Extract data files             /goldengate/dirdat: created
Temporary files                /goldengate/dirtmp: created
Veridata files                 /goldengate/dirver: created
Veridata Lock files            /goldengate/dirver/lock: created
Veridata Out-Of-Sync files     /goldengate/dirver/oos: created
Veridata Out-Of-Sync XML files /goldengate/dirver/oosxml: created
Veridata Parameter files       /goldengate/dirver/params: created
Veridata Report files          /goldengate/dirver/report: created
Veridata Status files          /goldengate/dirver/status: created
Veridata Trace files           /goldengate/dirver/trace: created
Stdout files                   /goldengate/dirout: created


生成的相關目錄說明:
    dirchk:檢查點(Checkpoint)檔案目錄
    dirdat:Trail與Extract檔案目錄
    dirdef:通過DEFGEN工具生成的源或目標的資料定義檔案目錄
    dirpcs:存放程式狀態檔案
    dirprm:各程式引數檔案目錄
    dirrpt:程式報告檔案目錄
    dirsql:SQL指令碼檔案目錄
    dirtmp:當事務所需要的記憶體超過已分配記憶體時,預設儲存目錄。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26764468/viewspace-719666/,如需轉載,請註明出處,否則將追究法律責任。

相關文章