oracle按日期备份表数据,一个TB级数据库的备份时间及备份记录

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

6ee5639a40442445944d63b514b2dd02.png

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.83266Linux系统,整个备份过程大约持续了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,五个小时左右。

记录一下供参考。

-The End-

By eygle on 2009-09-12 09:30 |

Comments (10) |

Backup&Recovery | 2396 |

10 Comments

俺手里最大这个6.4T,每周六全备一跑近一整天

俺手里最大这个6.4T,每周六全备一跑近一整天

俺手里最大这个6.4T,每周六全备一跑近一整天

backup as compressed backupset database

75M/s

算是快的了!

存储多少块盘啊?

备份在NAS上还是?

我是用LEGATO备份到磁带上SUN SL500,3000GB的DB,200多MB/s,全备要4个小时。

最近搞了几个26TB的,没有个一周备不下来。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值