用隱含引數強制開啟了乙個損壞的資料庫!

2021-05-22 20:48:15 字數 4382 閱讀 3738

sql> recover  database using backup controlfile;

ora-00279: change 8432224659950 generated at 01/17/2010 19:27:30 needed for

thread 2

ora-00289: suggestion : /oraarchive/rpts/rpts_t2_s50307_r627534239.dbf

ora-00280: change 8432224659950 for thread 2 is in sequence #50307

specify log:

/oradata4/rpts/redo2/redo2_13.log

ora-00279: change 8432224659950 generated at 01/17/2010 19:11:28 needed for

thread 1

ora-00289: suggestion : /oraarchive/rpts/rpts_t1_s42412_r627534239.dbf

ora-00280: change 8432224659950 for thread 1 is in sequence #42412

specify log:

"/oradata1/rpts/redo1/redo1_11.log "

ora-00279: change 8432224659950 generated at 01/17/2010 19:19:40 needed for

thread 3

specify log:

/oraredo3/rpts/redo3_14.log

ora-00328: archived log ends at change 8432223302787, need later change

8432224659950

ora-00334: archived log: '/oraredo3/rpts/redo3_14.log'

sql> recover  database using backup controlfile until scn 8432224659950;

ora-00277: illegal option to the until recovery flag scn

sql> recover database using backup controlfile until cancel;

ora-00279: change 8432224659950 generated at 01/17/2010 19:27:30 needed for

thread 2

ora-00289: suggestion : /oraarchive/rpts/rpts_t2_s50307_r627534239.dbf

ora-00280: change 8432224659950 for thread 2 is in sequence #50307

specify log:

auto

ora-00308: cannot open archived log

'/oraarchive/rpts/rpts_t2_s50307_r627534239.dbf'

ora-27037: unable to obtain file status

svr4 error: 2: no such file or directory

additional information: 3

ora-00308: cannot open archived log

'/oraarchive/rpts/rpts_t2_s50307_r627534239.dbf'

ora-27037: unable to obtain file status

svr4 error: 2: no such file or directory

additional information: 3

ora-01547: warning: recover succeeded but open resetlogs would get error below

ora-01194: file 1 needs more recovery to be consistent

ora-01110: data file 1: '/oradata1/rpts/system01.dbf'

sql> alter system set "_allow_resetlogs_corruption"=false scope=spfile;

system altered.

sql> alter system set "_allow_resetlogs_corruption"=true scope=spfile;

system altered.

sql> shutdown imedaite

sp2-0717: illegal shutdown option

sql> shutdown immediate;

ora-01109: database not open

database dismounted.

oracle instance shut down.

sql> startup

ora-32004: obsolete and/or deprecated parameter(s) specified

oracle instance started.

total system global area 1.0737e+10 bytes

fixed size                  2047928 bytes

variable size            1493172296 bytes

database buffers         9227468800 bytes

redo buffers               14729216 bytes

database mounted.

ora-01589: must use resetlogs or noresetlogs option for database open

sql> alter database open resetlogs;

alter database open resetlogs

*error at line 1:

ora-03113: end-of-file on communication channel

sql*plus: release 10.2.0.3.0 - production on tue jan 19 03:41:03 2010

connected to an idle instance.

sql> startup nomount

ora-32004: obsolete and/or deprecated parameter(s) specified

oracle instance started.

total system global area 1.0737e+10 bytes

fixed size                  2047928 bytes

variable size            1493172296 bytes

database buffers         9227468800 bytes

redo buffers               14729216 bytes

sql> show parameter spfile

system altered.

sql> shutdown immediate

ora-01507: database not mounted

oracle instance shut down.

sql> startup

ora-32004: obsolete and/or deprecated parameter(s) specified

oracle instance started.

total system global area 1.0737e+10 bytes

fixed size                  2047928 bytes

variable size            1493172296 bytes

database buffers         9227468800 bytes

redo buffers               14729216 bytes

database mounted.

database opened.

sql>

sql>

sql>

sql> select status from v$instance;

status

------------

open

類中函式的乙個隱含引數 this指標

我們需要來看一段 感受一下。include using namespace std class student private char name 20 char gender 5 int age age int main 所以上面那個函式引數加完整的話應該為 initstudent const t...

用docker開啟乙個臨時ftpd

用docker開啟乙個臨時ftpd 金慶的專欄 2017.10 在 docker hub 上搜 ftpd,找到星數最多的 pure ftpd 根據其中的指示開啟 1.啟動 docker docker run d name ftpd server p 21 21 p 30000 30009 30000...

Django乙個比較隱含的函式url

來自 django下有乙個比較隱含的函式url,在django conf urls defaults模組中,雖然只有短短的10行 但功能卻很了得。起初初學django,並沒有發現它,templates的鏈結位址都是根據urlpatterns定義的位址,拼湊成位址字串,很難看,而且templates裡...