誤刪除dual表的解決辦法

jss001發表於2009-02-17

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;
把引數去了

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/18921899/viewspace-1017477/,如需轉載,請註明出處,否則將追究法律責任。

相關文章