温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

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

发布时间:2020-08-10 11:34:41 来源:ITPUB博客 阅读:209 作者:cow977 栏目:关系型数据库

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).

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI