|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
对于insert操作,只需要把event_type改成DELETE_ROWS_EVENT;对于delete操作,改成WRITE_ROWS_EVENT恢复|数据SQL>startup
ORACLEinstancestarted.
TotalSystemGlobalArea73109664bytes
FixedSize73888bytes
VariableSize56086528bytes
DatabaseBuffers16777216bytes
RedoBuffers172032bytes
Databasemounted.
ORA-03113:end-of-fileoncommunicationchannel
我的情况是linux9oracle8.1.7.4
呈现成绩确当时是,一台呆板连到下面做insertinto操纵,数据也许有63万条。
正在实行的过程当中由于到了上班的工夫,服务器设置的准时主动关机的功效,服务器
在五点半的时分关机,招致insertinto操纵中止,等服务器起来以后,提醒一个表数据文件有成绩,我就实行了
shutdownimmediate
startupmount
recoverdatafile/datafile.dbf
提醒恢复乐成
startup
就呈现下面的毛病提醒
终究弄定了,接纳的步骤是把,遭到影响的表空间何数据文件drop失落
SQL>startup
ORACLEinstancestarted.
TotalSystemGlobalArea73109664bytes
FixedSize73888bytes
VariableSize56086528bytes
DatabaseBuffers16777216bytes
RedoBuffers172032bytes
Databasemounted.
ORA-03113:end-of-fileoncommunicationchannel
SQL>connsystem/managerassysdba
Connected.
SQL>selectnamefromdatafiles
2;
selectnamefromdatafiles
*
ERRORatline1:
ORA-01219:databasenotopen:queriesallowedonfixedtables/viewsonly
SQL>selectnamefromv$datafile
2;
NAME
--------------------------------------------------------------------------------
/u01/oradata/EMCDB/system01.dbf
/u01/oradata/EMCDB/tools01.dbf
/u01/oradata/EMCDB/rbs01.dbf
/u01/oradata/EMCDB/temp01.dbf
/u01/oradata/EMCDB/users01.dbf
/u01/oradata/EMCDB/indx01.dbf
/u01/oradata/EMCDB/drsys01.dbf
/u01/oradata/EMCDB/EMCBASE.dbf
/home/oracle/test.dbf
/home/adonis/dwbx_wmstat.dbf
//home/adonis/iwbx_wmindx.dbf
11rowsselected.
SQL>alterdatabasedatafile//home/adonis/iwbx_wmindx.dbfoffline
2;
alterdatabasedatafile//home/adonis/iwbx_wmindx.dbfoffline
*
ERRORatline1:
ORA-01145:offlineimmediatedisallowedunlessmediarecoveryenabled
SQL>alterdatabasedatafile//home/adonis/iwbx_wmindx.dbfofflinedrop;
Databasealtered.
SQL>alterdatabasedatafile/home/adonis/dwbx_wmstat.dbfofflinedrop;
Databasealtered.
SQL>alterdatabaseopen;
alterdatabaseopen
*
ERRORatline1:
ORA-03113:end-of-fileoncommunicationchannel
SQL>selectnamefromv$tablespace;
selectnamefromv$tablespace
*
ERRORatline1:
ORA-03114:notconnectedtoORACLE
SQL>connectsystem/managerassysdba;
Connected.
SQL>selectnamefromv$tablespace;
NAME
------------------------------
SYSTEM
TEMP
RBS
INDX
USERS
DRSYS
TOOLS
EMCBASE
TEST_USER
DWBX_WMSTAT
IWBX_WMINDX
11rowsselected.
SQL>alterdatabasetablespaceDWBX_WMSTAToffline;
alterdatabasetablespaceDWBX_WMSTAToffline
*
ERRORatline1:
ORA-02231:missingorinvalidoptiontoALTERDATABASE
SQL>droptablespaceDWBX_WMSTAT;
droptablespaceDWBX_WMSTAT
*
ERRORatline1:
ORA-01549:tablespacenotempty,useINCLUDINGCONTENTSoption
SQL>droptablespaceDWBX_WMSTATINCLUDINGCONTENTS;
Tablespacedropped.
SQL>droptablespaceIWBX_WMINDXINCLUDINGCONTENTS;
Tablespacedropped.
SQL>alterdatabaseopen
2;
alterdatabaseopen
*
ERRORatline1:
ORA-01531:adatabasealreadyopenbytheinstance
databaseopensuccess!!!!!
MySQL是一个开放源码的小型关联式数据库管理系统,开发者为瑞典MySQLAB公司。目前MySQL被广泛地应用在Internet上的中小型网站中。 |
|