[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).
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341