简单配置GoldenGate双向复制(2)
来源:未知 责任编辑:责任编辑 发表时间:2014-03-23 22:32 点击:次
16.
17. GGSCI (db2) 7> add exttrail ./dirdat/ab,extract eora_t2,megabytes 100
18. EXTTRAIL added.
19.
20. GGSCI (db2) 8> start extract eora_t2
21. Sending START request to MANAGER ...
22. EXTRACT EORA_T2 starting
23.
24. GGSCI (db2) 13> view params pora_t2
25. extract pora_t2
26. setenv (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
27. passthru
28. rmthost 192.168.123.10,mgrport 7809
29. rmttrail ./dirdat/pb
30. table hr.*;
31.
32. GGSCI (db2) 14> add extract pora_t2,exttrailsource ./dirdat/ab
33. EXTRACT added.
34.
35. GGSCI (db2) 15> add rmttrail ./dirdat/pb extract pora_t2,megabytes 100
36. RMTTRAIL added.
37.
38. GGSCI (db2) 19> start extract pora_t2
39. Sending START request to MANAGER ...
40. EXTRACT PORA_T2 starting
41.
42. GGSCI (db2) 20> info all
43. Program Status Group Lag at Chkpt Time Since Chkpt
44.
45. MANAGER RUNNING
46. EXTRACT RUNNING EORA_T2 00:00:00 00:00:04
47. EXTRACT RUNNING PORA_T2 00:00:00 00:01:10
48. REPLICAT RUNNING RORA_T1 00:00:00 00:00:04
四:db1上配置replicat进程
1. GGSCI (db1) 7> view params rora_t2
2. replicat rora_t2
3. setenv (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
4. ddl include all
5. ddlerror default ignore retryop maxretries 3 retrydelay 5
6. userid ogg,password ogg
7. handlecollisions
8. assumetargetdefs
9. discardfile ./dirrpt/rora_t2.dsc,purge
10. map hr.* ,target hr.*;
11.
12. GGSCI (db1) 1> add replicat rora_t2,exttrail ./dirdat/pb
13. REPLICAT added.
14.
15. GGSCI (db1) 2> start replicat rora_t2
16. Sending START request to MANAGER ...
17. REPLICAT RORA_T2 starting
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>