DBA가 되고 싶은 병아리

Oracle 백업과 복구 (2 -1) 본문

Oracle Study/Oracle Engineer

Oracle 백업과 복구 (2 -1)

미스틱스 2014. 11. 6. 16:41

정상적으로 기동되어 있을 경우

 

***************************************************************************
DATA FILE RECORDS
***************************************************************************
 (size = 428, compat size = 428, section max = 100, section in-use = 5,
  last-recid= 9, old-recno = 0, last-recno = 0)
 (extent = 1, blkno = 11, numrecs = 100)
DATA FILE #1:
  (name #7) /u02/oradata/orcl/system01.dbf
creation size=0 block size=8192 status=0xe head=7 tail=7 dup=1
 tablespace 0, index=1 krfil=1 prev_file=0
 unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00
 Checkpoint cnt:49 scn: 0x0000.00075b05 11/06/2014 14:52:17 <현재 SCN>
 Stop scn: 0xffff.ffffffff 11/06/2014 14:52:11 <작업 후 추가되는 SCN>
 Creation Checkpointed at scn:  0x0000.00000009 06/30/2005 19:10:11
 thread:0 rba:(0x0.0.0)
 enabled  threads:  00000000 00000000 00000000 00000000 00000000 00000000
  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

 

데이터 파일이 정상적인 경우에는 위와 같은 형태로 저장이 된다. 복구를위해서는 Redo Log File을 참조한다.

따라서 아래와 같이 정상적으로 종료될 경우는 다음과 같이 확인이 됩니다.

 

정상적으로 종료된 후 재 기동 되었을 경우

***************************************************************************
DATA FILE RECORDS
***************************************************************************
 (size = 428, compat size = 428, section max = 100, section in-use = 5,
  last-recid= 9, old-recno = 0, last-recno = 0)
 (extent = 1, blkno = 11, numrecs = 100)
DATA FILE #1:
  (name #7) /u01/app/oracle/oradata/orcl/system01.dbf
creation size=0 block size=8192 status=0xe head=7 tail=7 dup=1
 tablespace 0, index=1 krfil=1 prev_file=0
 unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00

 Checkpoint cnt:58 scn: 0x0000.00082aac 11/10/2014 12:50:36

DATA FILE #2:
  (name #6) /u01/app/oracle/oradata/orcl/undotbs01.dbf
creation size=0 block size=8192 status=0xe head=6 tail=6 dup=1
 tablespace 1, index=2 krfil=2 prev_file=0
 unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00
 Checkpoint cnt:21 scn: 0x0000.00082aac 11/10/2014 12:50:36
 Stop scn: 0xffff.ffffffff 11/05/2014 15:59:31
 Creation Checkpointed at scn:  0x0000.0006c6af 06/30/2005 19:55:01

위와 같이 체크 포인트가 변경되는 것을 알 수 있다. 각각의 데이터 파일의 체크포인트도 동일하게 기록된다.

'Oracle Study > Oracle Engineer' 카테고리의 다른 글

JOB, SCHEDULES 개념 정리(오라클 잡, 스케줄) (펌)  (0) 2021.04.28
Flashback menual 10g  (0) 2015.01.13
Oracle 백업과 복구 (1)  (0) 2014.11.06
オラクル起動までのプロセス  (0) 2014.11.05
최근 시간표  (0) 2011.09.19