真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

goldengate配置ddl支持-創(chuàng)新互聯(lián)

切換到goldengate軟件目錄下面登錄數(shù)據(jù)庫sqlplus / as sysdba:
a.@marker_setup.sql
b.@ddl_setup.sql #此處的輸入goldengate管理用戶oggadmin必須指定單獨的表空間并且自動擴展。
c.@role_setup.sql
d.@ddl_enable.sql
e.@?/rdbms/admin/dbmspool.sql
f.@ddl_pin.sql oggadmin  ##此處oggadmin為配置在goldnegate中的管理賬戶

備注:oracle10需要關(guān)閉recyclebin,oracle11g以后不需要關(guān)閉recyclebin;
源端添加參數(shù):
ddl &
include mapped objname app.t_bi_sku &
include mapped objname app.t_bi_barcode ;

pump進程添加參數(shù):
ddl

應用進程添加參數(shù):
DDL INCLUDE MAPPED
DDLERROR DEFAULT IGNORE RETRYOP


具體的腳本執(zhí)行如下:
1.在源端執(zhí)行marker_setup.sql腳本:
[oracle@goldengate]$ ls marker_setup.sql
marker_setup.sql
[oracle@goldengate]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.4.0 Production on Tue Mar 19 15:21:11 2019
Copyright (c) 1982, 2013, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @marker_setup.sql
Marker setup script
You will be prompted for the name of a schema for the Oracle GoldenGate database objects.
NOTE: The schema must be created prior to running this script.
NOTE: Stop all DDL replication before starting this installation.
Enter Oracle GoldenGate schema name:oggadmin  ##配置goldengate的管理用戶
Marker setup table script complete, running verification script...
Please enter the name of a schema for the GoldenGate database objects:
Setting schema name to OGGADMIN
MARKER TABLE
-------------------------------
OK
MARKER SEQUENCE
-------------------------------
OK
Script complete.
SQL>

2.執(zhí)行第二個腳本ddl_setup.sql:
SQL> @ddl_setup.sql
Oracle GoldenGate DDL Replication setup script
Verifying that current user has privileges to install DDL Replication...
You will be prompted for the name of a schema for the Oracle GoldenGate database objects.
NOTE: For an Oracle 10g source, the system recycle bin must be disabled. For Oracle 11g and later, it can be enabled.
NOTE: The schema must be created prior to running this script.
NOTE: Stop all DDL replication before starting this installation.
Enter Oracle GoldenGate schema name:oggadmin
Working, please wait ...
Spooling to file ddl_setup_spool.txt
Checking for sessions that are holding locks on Oracle Golden Gate metadata tables ...
Check complete.
declare
*
ERROR at line 1:
ORA-20783:
ORA-20783:
Oracle GoldenGate DDL Replication setup:
*** Please move OGGADMIN to its own tablespace
ORA-06512: at line 34

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

解決:
alter user OGGADMIN default tablespace OGG_TBS;
alter user OGGADMIN quota unlimited on OGG_TBS;

3.
SQL> @role_setup.sql
GGS Role setup script
This script will drop and recreate the role GGS_GGSUSER_ROLE
To use a different role name, quit this script and then edit the params.sql script to change the gg_role parameter to the preferred name. (Do not run the script.)

You will be prompted for the name of a schema for the GoldenGate database objects.
NOTE: The schema must be created prior to running this script.
NOTE: Stop all DDL replication before starting this installation.
Enter GoldenGate schema name:oggadmin
Wrote file role_setup_set.txt
PL/SQL procedure successfully completed.
Role setup script complete
Grant this role to each user assigned to the Extract, GGSCI, and Manager processes, by using the following SQL command:
GRANT GGS_GGSUSER_ROLE TO
where is the user assigned to the GoldenGate processes.
SQL> grant GGS_GGSUSER_ROLE to oggadmin;
Grant succeeded.
4.執(zhí)行其它的一些sql腳本:
SQL> @ddl_enable.sql

Trigger altered.

SQL> @?/rdbms/admin/dbmspool.sql

Package created.
Grant succeeded.
SQL> @ddl_pin.sql oggadmin
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.

成都創(chuàng)新互聯(lián)公司是一家以重慶網(wǎng)站建設、網(wǎng)頁設計、品牌設計、軟件運維、seo優(yōu)化排名、小程序App開發(fā)等移動開發(fā)為一體互聯(lián)網(wǎng)公司。已累計為成都垃圾桶等眾行業(yè)中小客戶提供優(yōu)質(zhì)的互聯(lián)網(wǎng)建站和軟件開發(fā)服務。

另外有需要云服務器可以了解下創(chuàng)新互聯(lián)cdcxhl.cn,海內(nèi)外云服務器15元起步,三天無理由+7*72小時售后在線,公司持有idc許可證,提供“云服務器、裸金屬服務器、高防服務器、香港服務器、美國服務器、虛擬主機、免備案服務器”等云主機租用服務以及企業(yè)上云的綜合解決方案,具有“安全穩(wěn)定、簡單易用、服務可用性高、性價比高”等特點與優(yōu)勢,專為企業(yè)上云打造定制,能夠滿足用戶豐富、多元化的應用場景需求。


當前名稱:goldengate配置ddl支持-創(chuàng)新互聯(lián)
瀏覽地址:http://weahome.cn/article/eeoii.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部