ORACLE常见错误代码的分析与解决三
正在看的ORACLE教程是:ORACLE常见错误代码的分析与解决三。 [1][2][3]下一页 正在看的ORACLE教程是:ORACLE常见错误代码的分析与解决三。nedthismessage,thetabletheapplicationtriedtoaccessdoesnotexistinthedatabase,ortheapplicationdoesnothaveaccesstoit. Action:Checkeachofthefollowing: Thespellingofthetableorviewname. Thataviewisnotspecifiedwhereatableisrequired Thatanexistingtableorviewnameexists. Contactthedatabaseadministratorifthetableneedstobecreatedorifuserorapplicationpriviledesarerequiredtoaccessthetable. Also,ifattemptingtoaccessatableorviewinanotherschema,makecertainthecorrectschemaisreferencedandthataccesstotheobjectisgranted.ORA-01598:rollbacksegment“name”isnotonline Cause:TherollbacksegmentwastakenofflineeithermanuallyorbySMON. Action:CheckthestatusoftherollbacksegmentinDBA_ROLLBACK_SEGS. ORA-1636:rollbacksegment“name”isalreadyonline Cause:Arollbacksegmentcanonlybeusedbyoneinstanceandaninstanceistryingtobringarollbacksegmentonlinethatisalreadyinuse. Action:CheckthatthevaluessetintheinitializationparameterfileforparametersROLLBACK_SEGMENTS,ROLLBACK_SEGMENT_INITIAL,andROLLBACK_SEGMENT_COUNTarecorrectlysetfortheinstancewhiththeproblem,Alsocheckthattheinstanceisusingthecorrectinitializationparameterfile.Makesureyouarenotconfusedaboutthedifferencebetweenprivateandpublicrollbacksegments.SeetheOracle8ServerAdministrator'sGuideformoreinformationaboutusingrollbacksegmentsinparallermode. 上述错误均为我们在使用回滚段时比较常见的问题,ORA-01598指明当前使用的回滚段的状态为“notonline”,不能使用,将它改为“online”状态即可使用;ORA-01636指明当前回滚段已经为“online”状态,可以直接使用,不用再集合它。 ORA-1636signalledduring:alterrollbacksegmentrb00online 我们在做统计时还可能遇到下述问题:一个rollbacksegment的状态为”NeedsRecovery”的现象,这是由于ORACLE回退一个事物表中的没有提交的事物时失败所造成的。通常原因为一个datafile或者tablespace是在offline的状态或者一个undo的目标被破坏或者rollbacksegment被破坏。解决的办法是将所有的tablespace和datafile都置为online状态,如果不能解决则做下面的工作:1$#@62;.在initsid.ora中加入event=”10015tracenamecontextforeverlever10”;2$#@62;.shutdown数据库然后重启;3$#@62;.在$ORACLE_HOME/rdbms/log下,找到startup时生成的tracefile;4$#@62;.在trace文件中,找到下列信息“errorrecoverytx(#,#)object#”;5$#@62;.根据object#(与sys.dba_objects表中的object_id相同)在sys.dba_objects表中查出该object的名字;6$#@62;.将该objectdrop掉;7$#@62;.在init.ora文件中将该rollbacksegment放回rollback_segments参数中,删除event;8$#@62;.shutdown数据库然后重启。此时”NeedsRecovery”的问题应该是完全解决了,否则就是rollbacksegment被破坏了。 ORA-01688:unabletoextendtablename.namepartitionNAMEbyNUMintablespaceNAME 产生原因:指定的tablespace空间已经被占用满,无法扩展。 解决方法:使用“ALTERTABLESPACEADDDATAFILE”命令增加文件系统文件和原始分区,或者增加INITIAL的大小(如:altertablespaceCDRS101de 上一页[1][2][3]下一页 正在看的ORACLE教程是:ORACLE常见错误代码的分析与解决三。faultstorage(next500Mpctincrease1))应该能够解决,否则就是有人使用你的表空间上创建了一个比较大的数据文件导致你的表空间不够用。 一个报错例子如下: ORA-1688:unabletoextendtableRMMCDR.LOCAL_CDRpartitionLOCAL_CDR101by460800intablespaceCDRS101 相应的英文如下: Cause:Anextentcouldnotbeallocatedforatablesegmentintablespace Action:UsetheALTERTABLESPACEADDDATAFILEstatementtoaddoneormorefilestothespecifiedtablespace --------------------------------------------------------------------------------上一页[1][2][3] (编辑:台州站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |