亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

[AlwaysOn] 創建SQL Server高可用性組T-SQL語法:REPLICA ON子句

發布時間:2020-08-09 12:06:53 來源:ITPUB博客 閱讀:226 作者:cow977 欄目:關系型數據庫

REPLICA ON

指定從1到5個SQL Server實例來承載新可用性組中的可用性副本。Specifies from one to five SQL server instances to host availability replicas in the new availability group. 每個副本都由其服務器實例地址指定,后跟一個WITH(…)子句。Each replica is specified by its server instance address followed by a WITH (...) clause. 至少,必須指定本地服務器實例,該實例將成為初始主副本。Minimally, you must specify your local server instance, which becomes the initial primary replica. 或者,您還可以指定最多四個輔助副本。Optionally, you can also specify up to four secondary replicas.

您需要將每個輔助副本加入到可用性組中。You need to join every secondary replica to the availability group. 有關詳細信息,請參閱alter availability group(Transact-SQL)。For more information, see ALTER AVAILABILITY GROUP (Transact-SQL).

注釋 Note

如果在創建可用性組時指定的輔助副本少于四個,則可以隨時使用alter availability group T-SQL語句指定其他輔助副本。If you specify less than four secondary replicas when you create an availability group, you can an additional secondary replica at any time by using the ALTER AVAILABILITY GROUP Transact-SQL statement. 您還可以使用此語句從現有可用性組中刪除任何輔助副本。You can also use this statement this remove any secondary replica from an existing availability group.

<server_instance> 指定作為副本主機的SQL Server實例的地址。 <server_instance> Specifies the address of the instance of SQL Server that is the host for an replica.地址格式取決于實例是默認實例還是命名實例,以及它是獨立實例還是故障轉移群集實例(FCI),如下所示:The address format depends on whether the instance is the default instance or a named instance and whether it is a standalone instance or a failover cluster instance (FCI), as follows:

{ 'system_name[\instance_name]' | 'FCI_network_name[\instance_name]' }

此地址的組成部分如下:The components of this address are as follows:

system_name

是目標SQL Server實例所在的計算機系統的NetBIOS名稱。Is the NetBIOS name of the computer system on which the target instance of SQL Server resides. 此計算機必須是WSFC節點。This computer must be a WSFC node.

FCI_network_name

用于訪問SQL Server故障轉移群集的網絡名稱。Is the network name that is used to access a SQL Server failover cluster. 如果服務器實例作為SQL Server故障轉移伙伴參與,請使用此選項。Use this if the server instance participates as a SQL Server failover partner. 在FCI服務器實例上執行select @@servername將返回其整個“fci_network_name[\instance_name]”字符串(即完整副本名)。Executing SELECT @@SERVERNAME on an FCI server instance returns its entire ' FCI_network_name[\ instance_name]' string (which is the full replica name).

instance_name

是由系統名稱或FCI網絡名稱托管且已啟用HADR服務的SQL Server實例的名稱。Is the name of an instance of a SQL Server that is hosted by system_name or FCI_network_name and that has HADR service is enabled. 對于默認服務器實例,實例名稱是可選的。For a default server instance, instance_name is optional. 實例名不區分大小寫。The instance name is case insensitive. 在獨立服務器實例上,該值名稱與執行select @@servername返回的值相同。On a stand-alone server instance, this value name is the same as the value returned by executing SELECT @@SERVERNAME.

\

是僅在指定實例名稱時使用的分隔符,以便將其與系統名稱或FCI網絡名稱分隔開。Is a separator used only when specifying instance_name, in order to separate it from system_name or FCI_network_name.

有關WSFC節點和服務器實例的先決條件的信息,請參閱有關“始終在線”可用性組(SQL Server)的先決條件、限制和建議。For information about the prerequisites for WSFC nodes and server instances, see Prerequisites, Restrictions, and Recommendations for Always On Availability Groups (SQL Server).

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

霞浦县| 黔江区| 孙吴县| 沁水县| 胶州市| 容城县| 伊宁县| 灵宝市| 长垣县| 平陆县| 尉犁县| 光山县| 泸溪县| 大竹县| 靖远县| 衡水市| 镇江市| 襄垣县| 武强县| 绥江县| 东兴市| 嘉祥县| 江山市| 肃宁县| 咸宁市| 禹城市| 阿坝| 益阳市| 清镇市| 兴安盟| 石河子市| 胶南市| 年辖:市辖区| 林西县| 大丰市| 大足县| 沅陵县| 南宁市| 平和县| 正镶白旗| 凤翔县|