这个怎么理解,有点长

[复制链接]
查看11 | 回复4 | 2006-5-12 15:15:27 | 显示全部楼层 |阅读模式
Assume that the database contains 50 datafiles spread across 6 disks, and the operating system is able to deliver this disk contention information to the server. You configure a single sbt channel and then run the following command:
BACKUP DATABASE;

RMAN uses the advanced algorithm. The basic algorithm indicates that because you did not specify FILESPERSET or MAXSETSIZE, RMAN should produce a single backup set. The advanced algorithm also looks at DISKRATIO, which in this case defaults to 4. Hence, each backup set must contain datafiles from at least four disks. Because RMAN is only producing one backup set containing all datafiles from all six disks, DISKRATIO makes no difference.

RMAN 使用高级算法.基础算法的使用是因为没有指定FILESPERSET or MAXSETSIZE,RMAN 应该产生一个单独的备份集,高级算法也看DISKRATIO,而DISKRATIO在此处是4,因此,没一个备份集必须包括从4个磁盘中的一个数据文件,因为,RMAN 仅仅产生一个包含6个磁盘所有数据文件的备份集,DISKRATIO 没有区别

 靠  这都是什么和什么呀


回复

使用道具 举报

千问 | 2006-5-12 15:15:27 | 显示全部楼层
Number and Size of Backup Sets: Advanced Algorithm
The advanced algorithm determines the number and size of backup sets by using the same factors described in "Number and Size of Backup Sets: Basic Algorithm". The difference is that the advanced algorithm is also influenced by the DISKRATIO parameter. If DISKRATIO=n, then each backup set must read data from at least n disk drives. RMAN uses file location information obtained from the database server to determine which datafiles are on which disk drives.
If you set FILESPERSET but not DISKRATIO, then DISKRATIO defaults to the same value as FILESPERSET. If you specify neither parameter, then DISKRATIO defaults to 4. RMAN compares the DISKRATIO value to the actual number of devices involved in the backup and uses the lowest value. For example, if DISKRATIO=4 and the datafiles are located on three disks, then RMAN attempts to distribute the datafiles into three backup sets.
Assume that the database contains 50 datafiles spread across 6 disks, and the operating system is able to deliver this disk contention information to the server. You configure a single sbt channel and then run the following command:
BACKUP DATABASE;

RMAN uses the advanced algorithm. The basic algorithm indicates that because you did not specify FILESPERSET or MAXSETSIZE, RMAN should produce a single backup set. The advanced algorithm also looks at DISKRATIO, which in this case defaults to 4. Hence, each backup set must contain datafiles from at least four disks. Because RMAN is only producing one backup set containing all datafiles from all six disks, DISKRATIO makes no difference.
Assume that you change the backup command as follows:
BACKUP DATABASE FILESPERSET 5;

In this case, the basic algorithm produces ten backup sets. The advanced algorithm also factors in DISKRATIO, which here defaults to 5 (the same value as FILESPERSET). Hence, the advanced algorithm dictates that each of the 10 backup sets must contain datafiles from at least 5 of the 6 disks.
Note that the advanced algorithm also recognizes node affinity. Node affinity is only used when you allocate channels on different nodes in a Real Application Clusters configuration, and RMAN detects that it is more efficient to read specific datafiles from one node than another.

这个是全文,请RMAN大牛指点一二
回复

使用道具 举报

千问 | 2006-5-12 15:15:27 | 显示全部楼层
你在看advanced backup & recovery?
如果基础不是很好的话,这些比较偏的东西就可以跳过了。重要的是日常的各种备份,恢复方法要熟悉并且实践操作过。
你现在看的东西,很多没有环境不好理解的。比如涉及到磁带使用,多个磁盘之类。打好基础,这些较高阶的看得多自然就明白了。
回复

使用道具 举报

千问 | 2006-5-12 15:15:27 | 显示全部楼层
rman 的在线文档,都看了N多遍,有些地方还是不明白,估计这些地方,明白的也没有几个
回复

使用道具 举报

千问 | 2006-5-12 15:15:27 | 显示全部楼层
还是那句话,各种备份,恢复手段是不是足够熟悉了?那些不弄好看这些有点买椟还珠的感觉。
其实也不用看得太神秘,这大段话讲了半天无非就是说FILESPERSET,DISKRATIO,物理磁盘数等等参数存在的情况下,rman怎么决定number and size of backup set。需要花那么多功夫麽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行