oracle数据文件误删-rman恢复

SYS@orcl> select * from v$recover_file;

FILE# ONLINE ONLINE_ ERROR CHANGE# TIME CON_ID


8 OFFLINE OFFLINE FILE NOT FOUND 0 0

9 OFFLINE OFFLINE FILE NOT FOUND 0 0

SYS@orcl> select file#,name,status from v$datafile where STATUS='RECOVER';

FILE# NAME STATUS


8 /u01/app/oracle/product/19.0.0/db_1/dbs/TS_SHEB_D_1225 RECOVER

9 /data/ORCL/datafile/TS_SHEB_D_1225 RECOVER

2024-12-25T10:55:55.132155+08:00

ALTER TABLESPACE TS_SHEB_D ADD DATAFILE 'TS_SHEB_D_1225' SIZE 10G AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED

2024-12-25T10:56:17.617328+08:00

Completed: ALTER TABLESPACE TS_SHEB_D ADD DATAFILE 'TS_SHEB_D_1225' SIZE 10G AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED

2024-12-25T10:59:15.725850+08:00

Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_mz00_1143697.trc:

ORA-01110: data file 8: '/u01/app/oracle/product/19.0.0/db_1/dbs/TS_SHEB_D_1225'

ORA-01565: error in identifying file '/u01/app/oracle/product/19.0.0/db_1/dbs/TS_SHEB_D_1225'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 7

Checker run found 1 new persistent data failures

2024-12-25T10:59:31.257959+08:00

ALTER TABLESPACE TS_SHEB_D ADD DATAFILE '/data/ORCL/datafile/TS_SHEB_D_1225' SIZE 10G AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED

2024-12-25T10:59:50.481028+08:00

Completed: ALTER TABLESPACE TS_SHEB_D ADD DATAFILE '/data/ORCL/datafile/TS_SHEB_D_1225' SIZE 10G AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED

2024-12-25T11:00:22.730525+08:00

Errors in file /u01/app/oracle/diag/rdbms/orcl/orcl/trace/orcl_mz00_1155782.trc:

ORA-01110: data file 8: '/u01/app/oracle/product/19.0.0/db_1/dbs/TS_SHEB_D_1225'

ORA-01565: error in identifying file '/u01/app/oracle/product/19.0.0/db_1/dbs/TS_SHEB_D_1225'

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 7

................

................

2024-12-25T11:46:58.700237+08:00

ALTER TABLESPACE TS_SHEB_D ADD DATAFILE '/data/ORCL/datafile/TS_SHEB_D_1225.dbf' SIZE 10G AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED

ORA-1109 signalled during: ALTER TABLESPACE TS_SHEB_D ADD DATAFILE '/data/ORCL/datafile/TS_SHEB_D_1225.dbf' SIZE 10G AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED...

处理

SYS@orcl> alter database datafile '/u01/app/oracle/product/19.0.0/db_1/dbs/TS_SHEB_D_1225' offline drop;

Database altered.

SYS@orcl> alter database datafile '/data/ORCL/datafile/TS_SHEB_D_1225' offline drop;

Database altered.

SYS@orcl> select * from v$recover_file;

FILE# ONLINE ONLINE_ ERROR CHANGE# TIME CON_ID


8 OFFLINE OFFLINE FILE NOT FOUND 0 0

9 OFFLINE OFFLINE FILE NOT FOUND 0 0

处理失败

orcl:/home/oracle@gsdb> rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Thu Jan 9 13:07:11 2025

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.

connected to target database: ORCL (DBID=976140588)

RMAN> run {

set newname for datafile 8 to '/data/ORCL/datafile/TS_SHEB_D_1224.dbf';

restore datafile 8;

switch datafile 8;

recover datafile 8;

}

2> 3> 4> 5> 6>

executing command: SET NEWNAME

Starting restore at 2025-01-09 13:12:17

using target database control file instead of recovery catalog

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=856 device type=DISK

creating datafile file number=8 name=/data/ORCL/datafile/TS_SHEB_D_1224.dbf

restore not done; all files read only, offline, excluded, or already restored

Finished restore at 2025-01-09 13:12:48

datafile 8 switched to datafile copy

input datafile copy RECID=2 STAMP=1189948368 file name=/data/ORCL/datafile/TS_SHEB_D_1224.dbf

Starting recover at 2025-01-09 13:12:48

using channel ORA_DISK_1

starting media recovery

archived log for thread 1 with sequence 226 is already on disk as file /fra/orcl/1_226_1183202479.dbf

archived log for thread 1 with sequence 227 is already on disk as file /fra/orcl/1_227_1183202479.dbf

archived log for thread 1 with sequence 228 is already on disk as file /fra/orcl/1_228_1183202479.dbf

archived log for thread 1 with sequence 229 is already on disk as file /fra/orcl/1_229_1183202479.dbf

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=178

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=179

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241226_244_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241226_244_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

archived log file name=/fra/orcl/1_178_1183202479.dbf thread=1 sequence=178

archived log file name=/fra/orcl/1_179_1183202479.dbf thread=1 sequence=179

media recovery complete, elapsed time: 00:00:00

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=180

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241226_245_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241226_245_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:01

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=181

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241227_247_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241227_247_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=182

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=183

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241227_248_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241227_248_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=184

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=185

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=186

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241229_250_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241229_250_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:25

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=187

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=188

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=189

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241229_251_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241229_251_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=190

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241230_253_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241230_253_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=191

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=192

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241230_254_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241230_254_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=193

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241231_256_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241231_256_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=194

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=195

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20241231_257_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20241231_257_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=196

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=197

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=198

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250101_259_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250101_259_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:25

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=199

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=200

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=201

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=202

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250101_260_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250101_260_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:25

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=203

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250102_262_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250102_262_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=204

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=205

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250102_263_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250102_263_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=206

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250103_265_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250103_265_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=207

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=208

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250103_266_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250103_266_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=209

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=210

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250105_268_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250105_268_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=211

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=212

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=213

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250105_269_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250105_269_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=214

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250106_271_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250106_271_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=215

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=216

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250106_272_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250106_272_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=217

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250107_274_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250107_274_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=218

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=219

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250107_275_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250107_275_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=220

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250108_277_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250108_277_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=221

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=222

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250108_278_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250108_278_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=223

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250109_280_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250109_280_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

channel ORA_DISK_1: starting archived log restore to default destination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=224

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=225

channel ORA_DISK_1: reading from backup piece /backup/orcl/archbackup/ARCHBAK_ORCL_20250109_281_1

channel ORA_DISK_1: piece handle=/backup/orcl/archbackup/ARCHBAK_ORCL_20250109_281_1 tag=ARCH_BAK

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:07

Finished recover at 2025-01-09 13:17:36

RMAN> exit

Recovery Manager complete.

orcl:/home/oracle@gsdb>sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Jan 9 13:17:56 2025

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.3.0.0.0

SYS@orcl> alter database datafile 8 online;

Database altered.

SYS@orcl> exit

Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.3.0.0.0

orcl:/home/oracle@gsdb>rman target /

Recovery Manager: Release 19.0.0.0.0 - Production on Thu Jan 9 13:18:55 2025

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.

connected to target database: ORCL (DBID=976140588)

RMAN> run {

restore datafile 9;

recover datafile 9;

}

2> 3> 4>

Starting restore at 2025-01-09 13:19:03

using target database control file instead of recovery catalog

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=3030 device type=DISK

creating datafile file number=9 name=/data/ORCL/datafile/TS_SHEB_D_1225

restore not done; all files read only, offline, excluded, or already restored

Finished restore at 2025-01-09 13:19:34

Starting recover at 2025-01-09 13:19:34

using channel ORA_DISK_1

starting media recovery

archived log for thread 1 with sequence 178 is already on disk as file /fra/orcl/1_178_1183202479.dbf

archived log for thread 1 with sequence 179 is already on disk as file /fra/orcl/1_179_1183202479.dbf

archived log for thread 1 with sequence 180 is already on disk as file /fra/orcl/1_180_1183202479.dbf

archived log for thread 1 with sequence 181 is already on disk as file /fra/orcl/1_181_1183202479.dbf

archived log for thread 1 with sequence 182 is already on disk as file /fra/orcl/1_182_1183202479.dbf

archived log for thread 1 with sequence 183 is already on disk as file /fra/orcl/1_183_1183202479.dbf

archived log for thread 1 with sequence 184 is already on disk as file /fra/orcl/1_184_1183202479.dbf

archived log for thread 1 with sequence 185 is already on disk as file /fra/orcl/1_185_1183202479.dbf

archived log for thread 1 with sequence 186 is already on disk as file /fra/orcl/1_186_1183202479.dbf

archived log for thread 1 with sequence 187 is already on disk as file /fra/orcl/1_187_1183202479.dbf

archived log for thread 1 with sequence 188 is already on disk as file /fra/orcl/1_188_1183202479.dbf

archived log for thread 1 with sequence 189 is already on disk as file /fra/orcl/1_189_1183202479.dbf

archived log for thread 1 with sequence 190 is already on disk as file /fra/orcl/1_190_1183202479.dbf

archived log for thread 1 with sequence 191 is already on disk as file /fra/orcl/1_191_1183202479.dbf

archived log for thread 1 with sequence 192 is already on disk as file /fra/orcl/1_192_1183202479.dbf

archived log for thread 1 with sequence 193 is already on disk as file /fra/orcl/1_193_1183202479.dbf

archived log for thread 1 with sequence 194 is already on disk as file /fra/orcl/1_194_1183202479.dbf

archived log for thread 1 with sequence 195 is already on disk as file /fra/orcl/1_195_1183202479.dbf

archived log for thread 1 with sequence 196 is already on disk as file /fra/orcl/1_196_1183202479.dbf

archived log for thread 1 with sequence 197 is already on disk as file /fra/orcl/1_197_1183202479.dbf

archived log for thread 1 with sequence 198 is already on disk as file /fra/orcl/1_198_1183202479.dbf

archived log for thread 1 with sequence 199 is already on disk as file /fra/orcl/1_199_1183202479.dbf

archived log for thread 1 with sequence 200 is already on disk as file /fra/orcl/1_200_1183202479.dbf

archived log for thread 1 with sequence 201 is already on disk as file /fra/orcl/1_201_1183202479.dbf

archived log for thread 1 with sequence 202 is already on disk as file /fra/orcl/1_202_1183202479.dbf

archived log for thread 1 with sequence 203 is already on disk as file /fra/orcl/1_203_1183202479.dbf

archived log for thread 1 with sequence 204 is already on disk as file /fra/orcl/1_204_1183202479.dbf

archived log for thread 1 with sequence 205 is already on disk as file /fra/orcl/1_205_1183202479.dbf

archived log for thread 1 with sequence 206 is already on disk as file /fra/orcl/1_206_1183202479.dbf

archived log for thread 1 with sequence 207 is already on disk as file /fra/orcl/1_207_1183202479.dbf

archived log for thread 1 with sequence 208 is already on disk as file /fra/orcl/1_208_1183202479.dbf

archived log for thread 1 with sequence 209 is already on disk as file /fra/orcl/1_209_1183202479.dbf

archived log for thread 1 with sequence 210 is already on disk as file /fra/orcl/1_210_1183202479.dbf

archived log for thread 1 with sequence 211 is already on disk as file /fra/orcl/1_211_1183202479.dbf

archived log for thread 1 with sequence 212 is already on disk as file /fra/orcl/1_212_1183202479.dbf

archived log for thread 1 with sequence 213 is already on disk as file /fra/orcl/1_213_1183202479.dbf

archived log for thread 1 with sequence 214 is already on disk as file /fra/orcl/1_214_1183202479.dbf

archived log for thread 1 with sequence 215 is already on disk as file /fra/orcl/1_215_1183202479.dbf

archived log for thread 1 with sequence 216 is already on disk as file /fra/orcl/1_216_1183202479.dbf

archived log for thread 1 with sequence 217 is already on disk as file /fra/orcl/1_217_1183202479.dbf

archived log for thread 1 with sequence 218 is already on disk as file /fra/orcl/1_218_1183202479.dbf

archived log for thread 1 with sequence 219 is already on disk as file /fra/orcl/1_219_1183202479.dbf

archived log for thread 1 with sequence 220 is already on disk as file /fra/orcl/1_220_1183202479.dbf

archived log for thread 1 with sequence 221 is already on disk as file /fra/orcl/1_221_1183202479.dbf

archived log for thread 1 with sequence 222 is already on disk as file /fra/orcl/1_222_1183202479.dbf

archived log for thread 1 with sequence 223 is already on disk as file /fra/orcl/1_223_1183202479.dbf

archived log for thread 1 with sequence 224 is already on disk as file /fra/orcl/1_224_1183202479.dbf

archived log for thread 1 with sequence 225 is already on disk as file /fra/orcl/1_225_1183202479.dbf

archived log for thread 1 with sequence 226 is already on disk as file /fra/orcl/1_226_1183202479.dbf

archived log for thread 1 with sequence 227 is already on disk as file /fra/orcl/1_227_1183202479.dbf

archived log for thread 1 with sequence 228 is already on disk as file /fra/orcl/1_228_1183202479.dbf

archived log for thread 1 with sequence 229 is already on disk as file /fra/orcl/1_229_1183202479.dbf

archived log file name=/fra/orcl/1_178_1183202479.dbf thread=1 sequence=178

archived log file name=/fra/orcl/1_179_1183202479.dbf thread=1 sequence=179

media recovery complete, elapsed time: 00:00:00

Finished recover at 2025-01-09 13:19:35

RMAN> exit

Recovery Manager complete.

orcl:/home/oracle@gsdb>sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Jan 9 13:20:44 2025

Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle. All rights reserved.

Connected to:

Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production

Version 19.3.0.0.0

SYS@orcl> alter database datafile 9 online;

Database altered.

相关推荐
NineData7 分钟前
NineData云原生智能数据管理平台新功能发布|2024年12月版
数据库·sql·算法·云原生·oracle·devops·ninedata
xsh8014424224 分钟前
Java Spring Boot监听事件和处理事件
java·前端·数据库
焱焱枫26 分钟前
Oracle Database 23ai 新特性: UPDATE 和 DELETE 语句的直接联接
数据库·oracle
kikyo哎哟喂30 分钟前
InnoDB存储引擎对MVCC的实现
数据库
IvorySQL31 分钟前
IvorySQL 4.0 之兼容 Oracle 包功能设计思路解读
数据库
睿思达DBA_WGX32 分钟前
Oracle Dataguard(主库为双节点集群)配置详解(2):备库安装 Oracle 软件
数据库·oracle
diffiii32 分钟前
Mongodb基础sqL
sql·mongodb·oracle
一只栖枝32 分钟前
Oracle OCP考试常见问题之线上考试流程
数据库·oracle·开闭原则·ocp
是萝卜干呀40 分钟前
Backend - C# EF Core 执行迁移 Migrate
数据库·dotnet·迁移·migration·migrate·dotnet-ef
天堂的恶魔9461 小时前
MySQL —— 在CentOS9下安装MySQL
数据库·mysql