一个TB级Oracle数据库的备份时间及备份记录

WBOY
풀어 주다: 2016-06-07 17:00:36
원래의
1255명이 탐색했습니다.

Linux 系统,整个备份过程大约持续了5个小时左右,备份出来的容量如下:[oracle@sms backup]$ du -sk1448023700 .备份脚本:

昨晚,为一个客户的数据库做了一次临时性的备份留存,数据库的整体容量大约在1.5T左右,一般中低端存储:

SQL*Plus: Release 10.2.0.2.0 - Production on Thu Sep 10 14:27:39 2009

Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options

SQL> select sum(bytes)/1024/1024/1024 GB from v$datafile;

        GB
----------
1527.83266

Linux 系统,,整个备份过程大约持续了5个小时左右,备份出来的容量如下:

[oracle@sms backup]$ du -sk
1448023700      .

备份脚本:

run{
allocate channel d1 type disk maxpiecesize=50G;
allocate channel d2 type disk maxpiecesize=50G;
backup full database filesperset 10 include current controlfile format '/backup/fullbak_%d_%T_%s_%p'
plus archivelog format '/backup/archbak_%d_%T_%s' delete all input;
release channel d1;
release channel d2;
}

备份自9:30开始:

Recovery Manager: Release 10.2.0.2.0 - Production on Wed Sep 9 21:30:23 2009

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

connected to target database: ORADB (DBID=2409970687)

RMAN> run{
2> allocate channel d1 type disk maxpiecesize=50G;
3> allocate channel d2 type disk maxpiecesize=50G;
4> backup full database filesperset 10 include current controlfile format '/backup/fullbak_%d_%T_%s_%p'
5> plus archivelog format '/backup/archbak_%d_%T_%s' delete all input;
6> release channel d1;
7> release channel d2;
8> }
9>
using target database control file instead of recovery catalog
allocated channel: d1
channel d1: sid=819 instance=oradb1 devtype=DISK

allocated channel: d2
channel d2: sid=799 instance=oradb1 devtype=DISK


Starting backup at 09-SEP-09
current log archived
channel d1: starting archive log backupset
channel d1: specifying archive log(s) in backup set
input archive log thread=1 sequence=39695 recid=82786 stamp=697023074
input archive log thread=1 sequence=39696 recid=82789 stamp=697024187

结束时间是 Sep 10 02:43,五个小时左右。

linux

원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
최신 이슈
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿
회사 소개 부인 성명 Sitemap
PHP 중국어 웹사이트:공공복지 온라인 PHP 교육,PHP 학습자의 빠른 성장을 도와주세요!