搭建Oracle 到Oracle 的GoldenGate 单向复制测试环境(三)

2014-11-24 17:10:57 · 作者: · 浏览: 2
DL replication setup script complete,running verification script...


Please enter the name of a schema for theGoldenGate database objects:


Setting schema name to GGATE



DDLORA_GETTABLESPACESIZE STATUS:


……



STATUS OF DDL REPLICATION


-------------------------------------------------------------------------------------------------------


SUCCESSFUL installation of DDL Replicationsoftware components



Script complete.



--脚本3


SQL> @role_setup.sql;



GGS Role setup script



To use a different role name, quit thisscript and then edit the params.sql script to change the gg_role parameter tothe preferred name. (Do not run the script.)



You will be prompted for the name of aschema for the GoldenGate database objects.


NOTE: The schema must be created prior torunning this script.


NOTE: Stop all DDL replication beforestarting this installation.


--同样输入GG用户名:


Enter GoldenGate schema name:ggate


Wrote file role_setup_set.txt



PL/SQL procedure successfully completed.



Role setup script complete



Grant this role to each user assigned tothe Extract, GGSCI, and Manager processes, by using the following SQL command:


--这里提示我们赋权给相关的用户:


GRANT GGS_GGSUSER_ROLE TO


where is the userassigned to the GoldenGate processes.



--脚本4:赋权


SQL> grant GGS_GGSUSER_ROLE to ggate;


Grant succeeded.



--脚本5


SQL> @ddl_enable.sql;


Trigger altered.



注意这里脚本创建的table都是使用默认的名称,当然也可以修改这些table的默认名,具体这块参考之前的文档中的说明。