首页 > 数据库 > Oracle > 通过duplicat恢复数据库
[oracle@ray114 dbs]$ cat /u01/app/oracle/product/19.3.0/dbhome_1/network/admin/listener.ora # listener.ora Network Configuration File: /u01/app/oracle/product/19.3.0/dbhome_1/network/admin/listener.ora # Generated by Oracle configuration tools. LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ray114)(PORT = 1521)) (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) ) SID_LIST_LISTENER = #红色为监听名称 (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = orcl) (ORACLE_HOME = /u01/app/oracle/product/19.3.0/dbhome_1) (SID_NAME = orcl) ) )
[oracle@ray114 dbs]$ cat ../network/admin/tnsnames.ora orcl = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.114)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) ) pri = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.104)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) )
[oracle@ray104 dbs]$ orapwd password=<sys_pwd> file=orapworcl entries=20 [oracle@ray104 dbs]$ scp orapworcl 192.168.56.114:/u01/app/oracle/product/19.3.0/dbhome_1/dbs/
SQL> create pfile from spfile; *.db_file_name_convert='/u01/app/oracle/oradata/ORCL/','/u01/app/oracle/oradata/ORCLDUP/' *.log_file_name_convert='/u01/app/oracle/oradata/ORCL/','/u01/app/oracle/oradata/ORCLDUP/'
[oracle@ray114 admin]$ rman Recovery Manager: Release 19.0.0.0.0 - Production on Wed Nov 17 16:39:34 2021 Version 19.3.0.0.0 Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved. RMAN> connect target sys/oracle@pri connected to target database: ORCL (DBID=1545174451) RMAN> connect auxiliary sys/oracle@orcl connected to auxiliary database: ORCL (not mounted
oracle@ray114 dbs]$ rman target sys/oracle@pri auxiliary /
Recovery Manager: Release 19.0.0.0.0 - Production on Thu Nov 18 10:25:18 2021
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: ORCL (DBID=1545174451)
connected to auxiliary database: ORCL (not mounted)
RMAN> duplicate target database to orcl from active database nofilenamecheck;
Starting Duplicate Db at 18-NOV-21
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=38 device type=DISK
current log archived
contents of Memory Script:
{
sql clone "alter system set db_name =
''ORCL'' comment=
''Modified by RMAN duplicate'' scope=spfile";
sql clone "alter system set db_unique_name =
''orcl'' comment=
''Modified by RMAN duplicate'' scope=spfile";
shutdown clone immediate;
startup clone force nomount
restore clone from service 'pri' primary controlfile;
alter clone database mount;
}
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''Modified by RMAN duplicate'' scope=spfile
sql statement: alter system set db_unique_name = ''orcl'' comment= ''Modified by RMAN duplicate'' scope=spfile
Oracle instance shut down
Oracle instance started
Total System Global Area 1191179688 bytes
Fixed Size 9135528 bytes
Variable Size 436207616 bytes
Database Buffers 738197504 bytes
Redo Buffers 7639040 bytes
Starting restore at 18-NOV-21
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=34 device type=DISK
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:04
output file name=/u01/app/oracle/oradata/ORCLDUP/control01.ctl
output file name=/u01/app/oracle/oradata/ORCLDUP/control02.ctl
Finished restore at 18-NOV-21
database mounted
contents of Memory Script:
{
set newname for datafile 1 to
"/u01/app/oracle/oradata/ORCLDUP/system01.dbf";
set newname for datafile 2 to
"/u01/app/oracle/oradata/ORCLDUP/pdbseed/system01.dbf";
set newname for datafile 3 to
"/u01/app/oracle/oradata/ORCLDUP/sysaux01.dbf";
set newname for datafile 4 to
"/u01/app/oracle/oradata/ORCLDUP/pdbseed/sysaux01.dbf";
set newname for datafile 5 to
"/u01/app/oracle/oradata/ORCLDUP/undotbs01.dbf";
set newname for datafile 6 to
"/u01/app/oracle/oradata/ORCLDUP/pdbseed/undotbs01.dbf";
set newname for datafile 7 to
"/u01/app/oracle/oradata/ORCLDUP/users01.dbf";
set newname for datafile 8 to
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/system01.dbf";
set newname for datafile 9 to
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/sysaux01.dbf";
set newname for datafile 10 to
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/undotbs01.dbf";
set newname for datafile 11 to
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/users01.dbf";
restore
from nonsparse from service
'pri' clone database
;
sql 'alter system archive log current';
}
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 18-NOV-21
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/ORCLDUP/system01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:25
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00002 to /u01/app/oracle/oradata/ORCLDUP/pdbseed/system01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/ORCLDUP/sysaux01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:25
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/ORCLDUP/pdbseed/sysaux01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:08
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00005 to /u01/app/oracle/oradata/ORCLDUP/undotbs01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00006 to /u01/app/oracle/oradata/ORCLDUP/pdbseed/undotbs01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00006 to /u01/app/oracle/oradata/ORCLDUP/pdbseed/undotbs01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00007 to /u01/app/oracle/oradata/ORCLDUP/users01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00008 to /u01/app/oracle/oradata/ORCLDUP/orclpdb01/system01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00009 to /u01/app/oracle/oradata/ORCLDUP/orclpdb01/sysaux01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00010 to /u01/app/oracle/oradata/ORCLDUP/orclpdb01/undotbs01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:07
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00011 to /u01/app/oracle/oradata/ORCLDUP/orclpdb01/users01.dbf
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
Finished restore at 18-NOV-21
sql statement: alter system archive log current
current log archived
contents of Memory Script:
{
restore clone force from service 'pri'
archivelog from scn 1743565;
switch clone datafile all;
}
executing Memory Script
Starting restore at 18-NOV-21
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=41
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: using network backup set from service pri
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=42
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
Finished restore at 18-NOV-21
datafile 1 switched to datafile copy
input datafile copy RECID=12 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/system01.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=13 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/pdbseed/system01.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=14 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/sysaux01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=15 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/pdbseed/sysaux01.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=16 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/undotbs01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=17 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/pdbseed/undotbs01.dbf
datafile 7 switched to datafile copy
input datafile copy RECID=18 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/users01.dbf
datafile 8 switched to datafile copy
input datafile copy RECID=19 STAMP=1088936888 file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/system01.dbf
datafile 9 switched to datafile copy
input datafile copy RECID=20 STAMP=1088936889 file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/sysaux01.dbf
datafile 10 switched to datafile copy
input datafile copy RECID=21 STAMP=1088936889 file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/undotbs01.dbf
datafile 11 switched to datafile copy
input datafile copy RECID=22 STAMP=1088936889 file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/users01.dbf
contents of Memory Script:
{
set until scn 1743741;
recover
clone database
delete archivelog
;
}
executing Memory Script
executing command: SET until clause
Starting recover at 18-NOV-21
using channel ORA_AUX_DISK_1
starting media recovery
archived log for thread 1 with sequence 41 is already on disk as file /u01/app/arch1_41_1017393715.dbf
archived log for thread 1 with sequence 42 is already on disk as file /u01/app/arch1_42_1017393715.dbf
archived log file name=/u01/app/arch1_41_1017393715.dbf thread=1 sequence=41
archived log file name=/u01/app/arch1_42_1017393715.dbf thread=1 sequence=42
media recovery complete, elapsed time: 00:00:01
Finished recover at 18-NOV-21
contents of Memory Script:
{
delete clone force archivelog all;
}
executing Memory Script
released channel: ORA_AUX_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=79 device type=DISK
deleted archived log
archived log file name=/u01/app/arch1_41_1017393715.dbf RECID=1 STAMP=1088936886
deleted archived log
archived log file name=/u01/app/arch1_42_1017393715.dbf RECID=2 STAMP=1088936887
Deleted 2 objects
Oracle instance started
Total System Global Area 1191179688 bytes
Fixed Size 9135528 bytes
Variable Size 436207616 bytes
Database Buffers 738197504 bytes
Redo Buffers 7639040 bytes
contents of Memory Script:
{
sql clone "alter system set db_name =
''ORCL'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
}
executing Memory Script
sql statement: alter system set db_name = ''ORCL'' comment= ''Reset to original value by RMAN'' scope=spfile
sql statement: alter system reset db_unique_name scope=spfile
Oracle instance started
Total System Global Area 1191179688 bytes
Fixed Size 9135528 bytes
Variable Size 436207616 bytes
Database Buffers 738197504 bytes
Redo Buffers 7639040 bytes
sql statement: CREATE CONTROLFILE REUSE SET DATABASE "ORCL" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 1024
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1 ( '/u01/app/oracle/oradata/ORCLDUP/redo01.log' ) SIZE 200 M REUSE,
GROUP 2 ( '/u01/app/oracle/oradata/ORCLDUP/redo02.log' ) SIZE 200 M REUSE,
GROUP 3 ( '/u01/app/oracle/oradata/ORCLDUP/redo03.log' ) SIZE 200 M REUSE
DATAFILE
'/u01/app/oracle/oradata/ORCLDUP/system01.dbf',
'/u01/app/oracle/oradata/ORCLDUP/pdbseed/system01.dbf',
'/u01/app/oracle/oradata/ORCLDUP/orclpdb01/system01.dbf'
CHARACTER SET AL32UTF8
contents of Memory Script:
{
set newname for tempfile 1 to
"/u01/app/oracle/oradata/ORCLDUP/temp01.dbf";
set newname for tempfile 2 to
"/u01/app/oracle/oradata/ORCLDUP/pdbseed/temp01.dbf";
set newname for tempfile 3 to
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/temp01.dbf";
switch clone tempfile all;
catalog clone datafilecopy "/u01/app/oracle/oradata/ORCLDUP/sysaux01.dbf",
"/u01/app/oracle/oradata/ORCLDUP/pdbseed/sysaux01.dbf",
"/u01/app/oracle/oradata/ORCLDUP/undotbs01.dbf",
"/u01/app/oracle/oradata/ORCLDUP/pdbseed/undotbs01.dbf",
"/u01/app/oracle/oradata/ORCLDUP/users01.dbf",
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/sysaux01.dbf",
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/undotbs01.dbf",
"/u01/app/oracle/oradata/ORCLDUP/orclpdb01/users01.dbf";
switch clone datafile all;
}
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
renamed tempfile 1 to /u01/app/oracle/oradata/ORCLDUP/temp01.dbf in control file
renamed tempfile 2 to /u01/app/oracle/oradata/ORCLDUP/pdbseed/temp01.dbf in control file
renamed tempfile 3 to /u01/app/oracle/oradata/ORCLDUP/orclpdb01/temp01.dbf in control file
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/sysaux01.dbf RECID=1 STAMP=1088936911
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/pdbseed/sysaux01.dbf RECID=2 STAMP=1088936911
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/undotbs01.dbf RECID=3 STAMP=1088936911
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/pdbseed/undotbs01.dbf RECID=4 STAMP=1088936911
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/users01.dbf RECID=5 STAMP=1088936911
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/sysaux01.dbf RECID=6 STAMP=1088936911
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/undotbs01.dbf RECID=7 STAMP=1088936911
cataloged datafile copy
datafile copy file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/users01.dbf RECID=8 STAMP=1088936911
datafile 3 switched to datafile copy
input datafile copy RECID=1 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/sysaux01.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=2 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/pdbseed/sysaux01.dbf
datafile 5 switched to datafile copy
input datafile copy RECID=3 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/undotbs01.dbf
datafile 6 switched to datafile copy
input datafile copy RECID=4 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/pdbseed/undotbs01.dbf
datafile 7 switched to datafile copy
input datafile copy RECID=5 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/users01.dbf
datafile 9 switched to datafile copy
input datafile copy RECID=6 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/sysaux01.dbf
datafile 10 switched to datafile copy
input datafile copy RECID=7 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/undotbs01.dbf
datafile 11 switched to datafile copy
input datafile copy RECID=8 STAMP=1088936911 file name=/u01/app/oracle/oradata/ORCLDUP/orclpdb01/users01.dbf
Reenabling controlfile options for auxiliary database
Executing: alter database force logging
contents of Memory Script:
{
Alter clone database open resetlogs;
}
executing Memory Script
database opened
contents of Memory Script:
{
sql clone "alter pluggable database all open";
}
executing Memory Script
sql statement: alter pluggable database all open
Finished Duplicate Db at 18-NOV-21
RMAN>
[oracle@ray114 dbs]$ sqlplus /nolog SQL*Plus: Release 19.0.0.0.0 - Production on Thu Nov 18 10:39:39 2021 Version 19.3.0.0.0 Copyright (c) 1982, 2019, Oracle. All rights reserved. SQL> conn / as sysdba Connected. SQL> set linesize 500 SQL> col group# for 999 SQL> col mb for 9999 SQL> col member for a60 SQL> col thread# for 999 SQL> col archived for a10 SQL> select a.group#,a.BYTES/1024/1024 mb,b.MEMBER,a.thread#,a.sequence#,a.members,a.archived,a.status,a.first_time,a.next_time from gv$log a,gv$logfile b where a.GROUP#=b.GROUP# 2 group by a.group#,a.thread#,a.BYTES/1024/1024,b.MEMBER,a.sequence#,a.members,a.archived,a.status,a.first_time,a.next_time order by group#; GROUP# MB MEMBER THREAD# SEQUENCE# MEMBERS ARCHIVED STATUS FIRST_TIME NEXT_TIME ------ ----- ------------------------------------------------------------ ------- ---------- ---------- ---------- ---------------- ------------------ ------------------ 1 200 /u01/app/oracle/oradata/ORCLDUP/redo01.log 1 1 1 NO CURRENT 18-NOV-21 2 200 /u01/app/oracle/oradata/ORCLDUP/redo02.log 1 0 1 YES UNUSED 3 200 /u01/app/oracle/oradata/ORCLDUP/redo03.log 1 0 1 YES UNUSED SQL> alter system switch logfile; System altered. SQL> set linesize 500 SQL> col group# for 999 SQL> col mb for 9999 SQL> col member for a60 SQL> col thread# for 999 SQL> col archived for a10 SQL> select a.group#,a.BYTES/1024/1024 mb,b.MEMBER,a.thread#,a.sequence#,a.members,a.archived,a.status,a.first_time,a.next_time from gv$log a,gv$logfile b where a.GROUP#=b.GROUP# 2 group by a.group#,a.thread#,a.BYTES/1024/1024,b.MEMBER,a.sequence#,a.members,a.archived,a.status,a.first_time,a.next_time order by group#; GROUP# MB MEMBER THREAD# SEQUENCE# MEMBERS ARCHIVED STATUS FIRST_TIME NEXT_TIME ------ ----- ------------------------------------------------------------ ------- ---------- ---------- ---------- ---------------- ------------------ ------------------ 1 200 /u01/app/oracle/oradata/ORCLDUP/redo01.log 1 1 1 YES ACTIVE 18-NOV-21 18-NOV-21 2 200 /u01/app/oracle/oradata/ORCLDUP/redo02.log 1 2 1 NO CURRENT 18-NOV-21 3 200 /u01/app/oracle/oradata/ORCLDUP/redo03.log 1 0 1 YES UNUSED SQL> !ls -lh /u01/app/arch total 5.3M -rw-r-----. 1 oracle oinstall 5.3M Nov 18 10:40 1_1_1088936912.dbf
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28572479/viewspace-2842822/ ,如需转载,请注明出处,否则将追究法律责任。