ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 误删除dual表的解决办法

误删除dual表的解决办法

原创 Linux操作系统 作者:zhouwf0726 时间:2019-01-19 22:39:07 0 删除 编辑

1 ) Error 980 during db open is causing the shut down of the database

2 ) Need to create the Dual Table to resolve the issue (which was not possible in the mount stage)

Workaround
=========
3 ) Set the following parameter in the init.ora

replication_dependency_tracking = FALSE

4 ) Startup the database

5 ) Create the Dual Table and Dual Public Synonym

CREATE TABLE "SYS"."DUAL"
( "DUMMY" VARCHAR2(1)
) PCTFREE 10 PCTUSED 4;
Insert Into Dual Values ('X');
Commit;
Grant Select On Dual To Public;


6 ) Remove the above parameter and restart the database

Note :- Dual table should not be dropped in any case , as it can lead to serious problems
Errors

加参数replication_dependency_tracking = FALSE
就能open了。然后用sys
create table sys.DUAL(DUMMY varchar2(1));
insert into dual values('X');
commit;
grant select on dual to public;
把参数去了


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/756652/viewspace-242336/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2006-02-22

  • 博文量
    458
  • 访问量
    416581