Oracle GoldenGate and compressed tables
Oracle GoldenGate and compressed tables [ID 1266389.1]
修改時間 17-JUN-2011 型別 HOWTO 狀態 PUBLISHED
In this Document
Goal
Solution
References
Applies to:
Oracle GoldenGate - Version: 11.1.1.0.0 and later [Release: 11.1.1 and later ]
Information in this document applies to any platform.
Goal
Oracle GoldenGate and compressed tables
Solution
OGG does not support compressed tables or partitions, neither does it handle it well with proper error messages until OGG v10.4. We have several cases reported by customers when it deals with compressed tables. Sometimes it abends without any error message and sometimes with wrong messages. (ex: BugDB 10267584)
From V11.1.1.0.0, we enhanced the error handling part in BugDB 9425542, which gives meaningful error message on the compressed record before Extract abend. It will list out the table name, rowid and etc
Example :
ERROR OGG-01028 Record on table QATEST1.TAB1 with rowid AAM4EkAAEAACBguAAA from transaction 5.24.270123 (0x0005.018.00041f2b) is compressed. Compression is not supported.
However, due to bug 10063108, sometimes the error message on compressed tables are not entirely correct. This problem has been fixed in 11.1.1.0.3 and above
A table created as compressed will cause all of the DMLas to go into compressed blocks on disk. If the user does an "alter table nocompress", every DML that goes into the table AFTER that point in time will be uncompressed. The query for compression will return "nocompress" now, but that simple "alter" does not change the already existing compressed blocks on disk that were created before the "alter". So to capture the records from a table which was compressed we need to do the following
SQL> alter table move nocompress;
This will touch every single block on disk and will uncompress everything and so OGG should be all good.
Sometimes customer has partitioned tables, even though they have un-compressed partitions, as long as there is any partition that is compressed, we canat support that. This could be verified by getting the full DDL for the table by running DBMS_METADATA.GET_DDL package. KM 965696.1.In case table partitions are compressed, Please run the below query and get the partition names & tablespace names.
SQL> SELECT partition_name, subpartition_name, tablespace_name, high_value FROM user_tab_subpartitions WHERE table_name = 'table_name';
Alter statement for partition to move nocompress.
SQL> ALTER TABLE MOVE PARTITION NOCOMPRESS TABLESPACE ;
Please ensure that you are having enough disk space within tablespaces before running the ALTER statement.
We will be adding full support of compressed tables in future release, however, in current V10.4 and V11.1.1.x, the only option is to comment the compressed table or exclude them in Extract(if you canat do a "move nocompress").
Listing some scenarios in which we have seen similar errors for compression --------------------------------------------------------------------------------------
1) The extract abends with the following error
GGS ERROR ZZ-0QY Failed to validate table .. The table is compressed and extract will not be able to extract data from Oracle logs.
相關文章
- Oracle TablesOracle
- ORACLE GoldenGate Initial LoadOracleGo
- About the Oracle GoldenGate TrailOracleGoAI
- Oracle GoldenGate 18.1釋出OracleGo
- Oracle GoldenGate安裝(一)OracleGo
- Oracle GoldenGate安裝(二)OracleGo
- Oracle GoldenGate安裝(三)OracleGo
- Oracle GoldenGate常用引數詳解OracleGo
- Step by Step Data Replication Using Oracle GoldenGateOracleGo
- 使用GoldenGate 遷移Oracle到PostgreSQL/LightDBGoOracleSQL
- Oracle 19c Concepts(02):Tables and Table ClustersOracle
- Oracle案例13—— OGG-01163 Oracle GoldenGate Delivery for Oracle, reprpt01.prmOracleGo
- Oracle GoldenGate 18.1 支援的DB和OS列表OracleGo
- ORACLE GoldenGate 使用技巧-容錯處理等OracleGo
- Oracle Goldengate 12c打pus補丁OracleGo
- [20181112]Private Temporary Tables Oracle Database 18C.txtOracleDatabase
- 用python生成oracle goldengate複製配置檔案PythonOracleGo
- Oracle GoldenGate 11g官方文件Administrator’s GuideOracleGoGUIIDE
- Oracle 19c Concepts(03):Indexes and Index-Organized TablesOracleIndexZed
- Oracle:ORA-01219:database not open:queries allowed on fixed tables/views onlyOracleDatabaseView
- Oracle GoldenGate同步服務歸檔空間維護OracleGo
- Oracle Goldengate(ogg) 12c認證考試流程OracleGo
- Oracle GoldenGate Veridata 12.2.1.4安裝配置使用全手冊OracleGo
- How To Replicate Data from Oracle to Postgres Using GoldenGate (Doc ID 1544137.1OracleGo
- [20190517]rman tape compressed.txt
- Oracle GoldenGate 11g官方文件Administrator’s Guide續二OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續一OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續三OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續四OracleGoGUIIDE
- Can GoldenGate Replicate An Oracle Table That Contains Only CLOB Column(s)? (Doc ID 971833.1)GoOracleAI
- Oracle 12c系列(十) | 12c中的Recovering Tables and Table PartitionsOracle
- Oracle 12C新特性-資料泵新引數(VIEWS_AS_TABLES)OracleView
- Oracle 20c 新特性:原生的區塊鏈支援 Native Blockchain tablesOracle區塊鏈Blockchain
- mysql關於FLUSH TABLES和FLUSH TABLES WITH READ LOCK的理解MySql
- goldengate + asm + racGoASM
- Oracle GoldenGate 針對表沒有主鍵或唯一索引的解決方案OracleGo索引
- oracle 資料透過goldengate 實時同步到kafka訊息佇列中OracleGoKafka佇列
- 使用Oracle Grid配置Goldengate或其他第三方應用高可用OracleGo
- mysqld --skip-grant-tablesMySql