重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4048|回复: 1
打印 上一主题 下一主题

[Oracle] DBMS_TABCOMP_TEMP_UNCMP OR DBMS_TABCOMP_TEMP_CMP导致逻辑应用慢

[复制链接]
跳转到指定楼层
楼主
发表于 2018-11-8 18:16:01 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Slow Logical apply, due to objects: DBMS_TABCOMP_TEMP_UNCMP OR DBMS_TABCOMP_TEMP_CMP (文档 ID 1114000.1)




分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2018-11-8 18:16:55 | 只看该作者
In this Document

Symptoms

Cause

Solution

References


Applies to:
Oracle Database - Enterprise Edition - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.
***Checked for relevance on 12-OCT-2012***
Symptoms

Find the log apply is slow, and the objects involved are <schema_name>.DBMS_TABCOMP_TEMP_CMP and/or <shcmea_name>.DBMS_TABCOMP_TEMP_UNCMP
Cause

Two tables (DBMS_TABCOMP_TEMP_UNCMP & DBMS_TABCOMP_TEMP_CMP) could be created because of a 11.2 new feature, Compression Advisory.

These two temporary tables  are created during the execution of package - DBMS_COMPRESSION, while doing the analyze of a table. They are created under the same schema name.

These tables are used to determine the level of compression level can be achieved.
Solution

Workaround:
========

Set up the following SKIP rules in the logical standby DB:

1. Stop SQL Apply:
SQL> ALTER DATABASE STOP LOGICAL STANDBY APPLY;


2. Register the SKIP rules:
SQL> EXECUTE DBMS_LOGSTDBY.SKIP('SCHEMA_DDL','%','DBMS_TABCOMP_TEMP_CMP');
SQL> EXECUTE DBMS_LOGSTDBY.SKIP('SCHEMA_DDL','%','DBMS_TABCOMP_TEMP_UNCMP');

SQL> EXECUTE DBMS_LOGSTDBY.SKIP('DML','%','DBMS_TABCOMP_TEMP_CMP');
SQL> EXECUTE DBMS_LOGSTDBY.SKIP('DML','%','DBMS_TABCOMP_TEMP_UNCMP');



3. Start SQL Apply:
SQL> ALTER DATABASE START LOGICAL STANDBY APPLY IMMEDIATE;

References
BUG:9595358 - SLOW LOGICAL STANDBY APPLY, APPLYING CHANGES TO DBMS_TABCOMP_TEMP_UNCMP
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-27 15:52 , Processed in 0.086190 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表