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

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 187|回复: 0
打印 上一主题 下一主题

[Oracle] ORA-01552 While Creating Undo Tablespace

[复制链接]
跳转到指定楼层
楼主
发表于 2024-8-25 12:59:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
现象:
While creating undo tablespace or Rollback segment ORA-01552 is received.

create undo tablespace undotbs2 datafile '/dev/vx/rdsk/test/undotbs1' size 3069m
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01552: cannot use system rollback segment for non-system tablespace 'TESTING'
ORA-06512: at line 2
CREATE ROLLBACK SEGMENT R1 TABLESPACE SYSTEM
*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01552: cannot use system rollback segment for non-system tablespace TESTING'
ORA-06512: at line 2
Changes
Undo tablespace was offline dropped and the database was open after a fake recovery.

原因:
CDC (Change Data Capture) trigger is enabled

10046 trace will show that the create undo tablespace is failing due to CDC trigger.

处理方法:
Disable the CDC trigger and then undo tablespace can be created successfully.

To disable the CDC trigger follow the below steps.
Set the following in the INIT.ORA then restart the database:

_system_trig_enabled=false

SQL> conn / as sysdba
SQL> ALTER TRIGGER sys.cdc_alter_ctable_before DISABLE;
SQL> ALTER TRIGGER sys.cdc_create_ctable_after DISABLE;
SQL> ALTER TRIGGER sys.cdc_create_ctable_before DISABLE;
SQL> ALTER TRIGGER sys.cdc_drop_ctable_before DISABLE;

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-7 22:32 , Processed in 0.134832 second(s), 21 queries .

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

© 2001-2020

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