[AlwaysOn] 建立SQL Server高可用性組T-SQL語法:BACKUP_PRIORITY引數

cow977發表於2019-08-19

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 .


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/81227/viewspace-2654072/,如需轉載,請註明出處,否則將追究法律責任。

相關文章