글
백업대상
Backup&Recovery
2015. 4. 13. 17:52
만약을 위해 백업을 받아야 하는 파일들이 있다.
필수적으로 백업을 받아놓아야 하는 파일은
Data files , Redo log files , Control files
선택적인 파일은
Parameter file , Password file , sqlnet.ora , listener.ora , tnsnames.ora 파일 등.
Datafile 조회
set line 200
col name for a50
select name , status from v$datafile;
Controlfile 조회
col name for a60
select name from v$controlfile;
Redo log file 조회
!vi log.sql
set line 200
col group# for 999
col mb for 999
col member for a45
col seq# for 999
col status for a8
col arc for a5
select a.group#,a.member,b.bytes/1024/1024 MB,b.sequence# "SEQ#",b.status , b.archived "ARC" from v$logfile a, v$log b where a.group#=b.group# order by 1,2
'Backup&Recovery' 카테고리의 다른 글
Controlfile 장애복구 (0) | 2015.04.14 |
---|---|
닫힌백업(cold backup / closed backup) (0) | 2015.04.13 |
Archive log 압축하여 저장공간 줄이기 (0) | 2015.04.13 |
Archive Log mode 로 변경하기 (0) | 2015.04.13 |
Archive Hang 해결 (0) | 2015.04.13 |