ORACLE_关于OGG参数.ENABLE_GOLDENGATE_REPLICATION
生活随笔
收集整理的這篇文章主要介紹了
ORACLE_关于OGG参数.ENABLE_GOLDENGATE_REPLICATION
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
下面客戶現(xiàn)場(chǎng)包的錯(cuò):
2014-03-20 13:27:40 ?INFO ???OGG-01815 ?Oracle GoldenGate Delivery for Oracle, rdb3mis.prm: ?Virtual Memory Facilities for: COM ?anon alloc: mmap(MAP_ANON) ?anon free: munmap file alloc: mmap(MAP_SHARED) ?file free: munmap target directories: /home/oracle/gg/dirtmp. 2014-03-20 13:27:40 ?ERROR ??OGG-02091 ?Oracle GoldenGate Delivery for Oracle, rdb3mis.prm: ? Operation not supported because enable_goldengate_replication is not set to true.
DB Version: 11.2.0.4 ????Goldengate Version:?1121016_Linux-x86-64
先字面分析一下錯(cuò)誤,第一個(gè),是GG的處理機(jī)制出現(xiàn)了問(wèn)題。第二個(gè),要求設(shè)置DB 參數(shù) enable_goldengate_replication ?為true.(沒(méi)見(jiàn)過(guò))
APPLIES TO:
Oracle GoldenGate - Version 11.2.0.0.0 and later Information in this document applies to any platform. PURPOSE
To better track GoldenGate product license, a new database init parameter, ?ENABLE_GOLDENGATE_REPLICATION, is introduced in Oracle 11.2.0.4 and 12.1.0.2 and up. ?這個(gè)參數(shù)在11.2.0.4和12.1.0.2以后才出現(xiàn)。 DETAILS
For Oracle DB versions 11.2.0.4 and 12.1.0.2 there will be a new init.ora parameter called ENABLE_GOLDENGATE_REPLICATION. ?In order for some of the Oracle GoldenGate functionality to work, this parameter must be set to true.??It will enable access to the TDE/TSE integration with classic extract, Integrated Capture, Integrated Apply, ?DBLOGREADER functionality, replicat functionality like suppression of triggers and deferring referential constrains, and other integration points. ? 上面的意思是為了更好的監(jiān)視你使用OGG,所以把gg綁定到DB中,只有設(shè)置了改參數(shù)為true,才能使用OGG的一些功能。
So, in order to use OGG, on Oracle 11.2.0.4, or Oracle 12.1.0.2+, you will need to issue the following command through SQL*Plus.?
ALTER SYSTEM SET ENABLE_GOLDENGATE_REPLICATION = TRUE SCOPE=BOTH;
This only needs to be done once, and in a RAC environment, will take effect on all instances. ??It can be done without bouncing the database instance, and you’ll want to use SCOPE=BOTH or update the init.ora file to ensure that when the database is bounced, the setting remains in effect.?
以后對(duì)操作GG的用戶還要設(shè)置權(quán)限。 If this parameter is not set and/or missing privileges (exec DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE ( '' ); exec DBMS_XSTREAM_AUTH.GRANT_ADMIN_PRIVILEGE ( '' );), you may get an Oracle error, ORA-26947 or ORA-26945 when attempting to use any of the GoldenGate functionality.
Here is the complete text of the oracle error (as shown from orerr utility)
26947, 00000, "Oracle GoldenGate replication is not enabled." // *Cause: The 'enable_goldengate_replication' parameter was not set to 'true'. // *Action: Set the 'enable_goldengate_replication' parameter to 'true' // ??????????and retry the operation. // ?????????Oracle GoldenGate license is needed to use this parameter. ???
To correct, grant privileges to the Replicat Oracle DB user by running the dbms_goldengate_auth.grant_admin_privilege procedure.
ie:
exec dbms_goldengate_auth.grant_admin_privilege('gguser','*',TRUE);
下面報(bào)錯(cuò)以上由于沒(méi)設(shè)參數(shù)以及授予權(quán)限,通過(guò)上面兩步解決。 OGG REPLICAT abend: ?ERROR ??OGG-01820 ?Could not enable workspace. ?ERROR ??OGG-01668 ?PROCESS ABENDING.
DB Version: 11.2.0.4 ????Goldengate Version:?1121016_Linux-x86-64
先字面分析一下錯(cuò)誤,第一個(gè),是GG的處理機(jī)制出現(xiàn)了問(wèn)題。第二個(gè),要求設(shè)置DB 參數(shù) enable_goldengate_replication ?為true.(沒(méi)見(jiàn)過(guò))
APPLIES TO:
Oracle GoldenGate - Version 11.2.0.0.0 and later Information in this document applies to any platform. PURPOSE
To better track GoldenGate product license, a new database init parameter, ?ENABLE_GOLDENGATE_REPLICATION, is introduced in Oracle 11.2.0.4 and 12.1.0.2 and up. ?這個(gè)參數(shù)在11.2.0.4和12.1.0.2以后才出現(xiàn)。 DETAILS
For Oracle DB versions 11.2.0.4 and 12.1.0.2 there will be a new init.ora parameter called ENABLE_GOLDENGATE_REPLICATION. ?In order for some of the Oracle GoldenGate functionality to work, this parameter must be set to true.??It will enable access to the TDE/TSE integration with classic extract, Integrated Capture, Integrated Apply, ?DBLOGREADER functionality, replicat functionality like suppression of triggers and deferring referential constrains, and other integration points. ? 上面的意思是為了更好的監(jiān)視你使用OGG,所以把gg綁定到DB中,只有設(shè)置了改參數(shù)為true,才能使用OGG的一些功能。
So, in order to use OGG, on Oracle 11.2.0.4, or Oracle 12.1.0.2+, you will need to issue the following command through SQL*Plus.?
ALTER SYSTEM SET ENABLE_GOLDENGATE_REPLICATION = TRUE SCOPE=BOTH;
This only needs to be done once, and in a RAC environment, will take effect on all instances. ??It can be done without bouncing the database instance, and you’ll want to use SCOPE=BOTH or update the init.ora file to ensure that when the database is bounced, the setting remains in effect.?
以后對(duì)操作GG的用戶還要設(shè)置權(quán)限。 If this parameter is not set and/or missing privileges (exec DBMS_GOLDENGATE_AUTH.GRANT_ADMIN_PRIVILEGE ( '' ); exec DBMS_XSTREAM_AUTH.GRANT_ADMIN_PRIVILEGE ( '' );), you may get an Oracle error, ORA-26947 or ORA-26945 when attempting to use any of the GoldenGate functionality.
Here is the complete text of the oracle error (as shown from orerr utility)
26947, 00000, "Oracle GoldenGate replication is not enabled." // *Cause: The 'enable_goldengate_replication' parameter was not set to 'true'. // *Action: Set the 'enable_goldengate_replication' parameter to 'true' // ??????????and retry the operation. // ?????????Oracle GoldenGate license is needed to use this parameter. ???
To correct, grant privileges to the Replicat Oracle DB user by running the dbms_goldengate_auth.grant_admin_privilege procedure.
ie:
exec dbms_goldengate_auth.grant_admin_privilege('gguser','*',TRUE);
下面報(bào)錯(cuò)以上由于沒(méi)設(shè)參數(shù)以及授予權(quán)限,通過(guò)上面兩步解決。 OGG REPLICAT abend: ?ERROR ??OGG-01820 ?Could not enable workspace. ?ERROR ??OGG-01668 ?PROCESS ABENDING.
總結(jié)
以上是生活随笔為你收集整理的ORACLE_关于OGG参数.ENABLE_GOLDENGATE_REPLICATION的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Oracle 中文分词CHINESE_V
- 下一篇: SecureCRT自动记录日志