- 最后登录
- 2014-10-25
- 在线时间
- 16 小时
- 威望
- 37
- 金钱
- 115
- 注册时间
- 2012-4-18
- 阅读权限
- 10
- 帖子
- 24
- 精华
- 1
- 积分
- 37
- UID
- 361
|
1#
发表于 2012-4-18 15:26:30
|
查看: 8152 |
回复: 5
请帮忙看看:
2012-04-18 06:37:21 INFO OGG-01513 Oracle GoldenGate Capture for Oracle, w1ext.prm: Positioning to Sequence 3030, RBA 40773136, SCN 0.324146485.
2012-04-18 06:37:21 INFO OGG-01516 Oracle GoldenGate Capture for Oracle, w1ext.prm: Positioned to Sequence 3030, RBA 40773136, SCN 0.324146485, 2012-4-18 上午04:00:44.
2012-04-18 06:37:21 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, w1ext.prm: EXTRACT W1EXT started.
2012-04-18 06:37:21 INFO OGG-01056 Oracle GoldenGate Capture for Oracle, w1ext.prm: Recovery initialization completed for target file /goldengate/trails/w1000038, at RBA 1419, CSN 323719333.
2012-04-18 06:37:21 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, w1ext.prm: Output file /goldengate/trails/w1 is using format RELEASE 11.2.
2012-04-18 06:37:21 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, w1ext.prm: Rolling over remote file /goldengate/trails/w1000038.
2012-04-18 06:37:21 INFO OGG-01517 Oracle GoldenGate Capture for Oracle, w1ext.prm: Position of first record processed Sequence 3030, RBA 40773136, SCN 0.324146485, 2012-4-18 上午04:00:44.
2012-04-18 06:40:42 ERROR OGG-00460 Oracle GoldenGate Capture for Oracle, w1ext.prm: Cannot find metadata property DDL_MD_TAB_SEQCACHE for object SENDER.S_SEQ1. DDL metadata [,G4='AAAABKAABAAAAIlAAD',].
2012-04-18 06:40:42 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, w1ext.prm: PROCESS ABENDING.
序列配置参照这个文档:
implementing replication of cyclic sequences in GoldenGateImplementing cyclic sequences:
NOTE: You must be logged in as SYSDBA to install sequence.sql
Note that steps 1-3 are required on BOTH source and target.
1. If an OGG User for DDL replication has been created, proceed to Step 2. Otherwise, create OGG user (say OGGADMIN). This should be the same Oracle user used for DDL replication. Connect as SYSDBA to the Oracle database
SQL> CREATE USER OGGADMIN IDENTIFIED BY <password>;
SQL> GRANT CONNECT,RESOURCE,DBA TO OGGADMIN;
2. Install the SQL procedures needed to support sequence replication
SQL> sequence.sql
When prompted for the user name, enter the appropriate OGG user (OGGADMIN in this case)
3. Grant appropriate privileges to GGSCI user
SQL> GRANT EXECUTE on OGGADMIN.updateSequence TO ggsciUser; (user used to
login to GGSCI)
At the Target Database:
1. Grant appropriate privileges to Oracle Golden Gate Replicat User
SQL> GRANT EXECUTE on OGGADMIN.replicateSequence TO replicateUser;
FIRST USE:
----------
Before starting to replicate sequences, the following steps must be performed at the source database. . In the following steps, assume the extract name is EXT01
1. Connect to the source database
GGSCI> DBLOGIN userid <GGSCI-user> Password:
2. Stop Extract, if it is running
GGSCI> STOP EXTRACT EXT01
3. Start Extract with appropriate parameter file that identifies thesequences to be replicated
GGSCI> START EXTRACT EXT01
4. Flush the sequences to be replicated using FLUSH SEQUENCE command in GGSCI
Example#1: To replicate all sequences contained in schemas HR and FINANCE
GGSCI> FLUSH SEQUENCE HR.*
GGSCI> FLUSH SEQUENCE FINANCE.*
Example#2 To replicate sequences for schemas HR.SEQ1 and HR.SEQ2
GGSCI> FLUSH SEQUENCE HR.SEQ1
GGSCI> FLUSH SEQUENCE HR.SEQ2
|
|