189 8069 5689

[AlwaysOn]创建SQLServer高可用性组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).


网站栏目:[AlwaysOn]创建SQLServer高可用性组T-SQL语法:BACKUP_PRIORITY参数
浏览路径:http://cdxtjz.cn/article/ghpdch.html

其他资讯