[AlwaysOn]創(chuàng)建SQLServer高可用性組T-SQL語法:FAILOVER_MODE參數(shù)

FAILOVER_MODE = { AUTOMATIC | MANUAL }

專注于為中小企業(yè)提供成都網(wǎng)站設(shè)計(jì)、做網(wǎng)站服務(wù),電腦端+手機(jī)端+微信端的三站合一,更高效的管理,為中小企業(yè)赤坎免費(fèi)做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動了1000多家企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實(shí)現(xiàn)規(guī)模擴(kuò)充和轉(zhuǎn)變。

指定要定義的可用性副本的故障轉(zhuǎn)移模式。Specifies the failover mode of the availability replica that you are defining.

自動 AUTOMATIC

啟用自動故障轉(zhuǎn)移。Enables automatic failover. 只有當(dāng)您還指定了可用性模式為同步提交模式時(shí),才支持此選項(xiàng)。This option is supported only if you also specify AVAILABILITY_MODE = SYNCHRONOUS_COMMIT. 可以為兩個(gè)可用性副本(包括主副本)指定自動。You can specify AUTOMATIC for two availability replicas, including the primary replica.

注釋 Note

SQL Server 故障轉(zhuǎn)移群集實(shí)例(FCI)不支持按可用性組進(jìn)行自動故障轉(zhuǎn)移,因此只能為手動故障轉(zhuǎn)移配置由FCI承載的任何可用性副本。SQL Server Failover Cluster Instances (FCIs) do not support automatic failover by availability groups, so any availability replica that is hosted by an FCI can only be configured for manual failover.

手動 MANUAL

啟用數(shù)據(jù)庫管理員計(jì)劃的手動故障轉(zhuǎn)移或強(qiáng)制的手動故障轉(zhuǎn)移(通常稱為強(qiáng)制故障轉(zhuǎn)移)。Enables planned manual failover or forced manual failover (typically called forced failover) by the database administrator.

FAILOVER_MODE 子句是必需的。The FAILOVER_MODE clause is required. 在不同的條件下,支持兩種類型的手動故障轉(zhuǎn)移:不丟失數(shù)據(jù)的手動故障轉(zhuǎn)移和強(qiáng)制故障轉(zhuǎn)移(可能丟失數(shù)據(jù))。The two types of manual failover, manual failover without data loss and forced failover (with possible data loss), are supported under different conditions. 有關(guān)詳細(xì)信息,請參閱故障轉(zhuǎn)移和故障轉(zhuǎn)移模式(始終在可用性組上)。For more information, see Failover and Failover Modes (Always On Availability Groups).

分享文章:[AlwaysOn]創(chuàng)建SQLServer高可用性組T-SQL語法:FAILOVER_MODE參數(shù)
當(dāng)前網(wǎng)址:http://muchs.cn/article8/pisdop.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站維護(hù)虛擬主機(jī)、面包屑導(dǎo)航企業(yè)建站、搜索引擎優(yōu)化、微信小程序

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

成都做網(wǎng)站