[AlwaysOn] 创建SQL Server高可用性组T-SQL语法:BACKUP_PRIORITY参数

BACKUP_PRIORITY = n

指定此副本相对于同一可用性组中的其他副本执行备份的优先级。Specifies your priority for performing backups on this replica relative to the other replicas in the same availability group. 该值是0到100之间的整数。The value is an integer in the range of 0..100. 这些值具有以下含义:These values have the following meanings:

l   1 到100表示可以选择可用性副本执行备份。1..100 indicates that the availability replica could be chosen for performing backups. 1表示最低优先级,100表示最高优先级。1 indicates the lowest priority, and 100 indicates the highest priority. 如果备份优先级设置为1,那么只有在当前没有更高优先级的可用性副本可用时,才选择该可用性副本来执行备份。If BACKUP_PRIORITY = 1, the availability replica would be chosen for performing backups only if no higher priority availability replicas are currently available.

l   表示此可用性副本不用于执行备份。0 indicates that this availability replica is not for performing backups. 例如,对于您从不希望备份故障转移到的远程可用性副本,这很有用。This is useful, for example, for a remote availability replica to which you never want backups to fail over.

有关详细信息,请参阅活动辅助副本:辅助副本上的备份(始终在可用性组上)。For more information, see Active Secondaries: Backup on Secondary Replicas (Always On Availability Groups) .


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/81227/viewspace-2654072/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/81227/viewspace-2654072/

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值