tencent cloud

TencentDB for SQL Server

문서TencentDB for SQL ServerProduct IntroductionProduct ArchitectureTwo-Node (Formerly High Availability/Cluster Edition)

Two-Node (Formerly High Availability/Cluster Edition)

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-11-20 15:33:14
TencentDB for SQL Server two-node instances support SQL Server 2008 R2, 2012, 2014, 2016, 2017, 2019 Enterprise, The versions supported by the dual-node cloud disk instance encompass SQL Server 2008 R2, 2012, 2014, 2016, 2017, 2019, and 2022 Enterprise.The primary/replica architecture varies by version in the following two scenarios.

Scenario 1

SQL Server 2008 R2, 2012, 2014, 2016 Enterprise: The primary/replica architecture of a two-node instance consists of one primary database and one mirror database deployed across racks/AZs. Each database corresponds to a monitoring agent that monitors the database through heartbeat in real time. Its architecture displayed in the console is shown in the following figure.

Tencent Cloud management cluster: It consists of the independently deployed decision-making and scheduling cluster as well as configuration cluster. As the management and scheduling hub of clusters, it manages the normal operations of database node groups, access gateway clusters, and COS.
COS: It provides data disaster recovery and cold backup services.
Access gateway cluster: It provides a unique IP externally, so that even if data nodes are switched, the IP for users to connect to the instance stays unchanged.
The scaling of read-only instances is implemented through the publish/subscribe model.
Note:
A mirror has a complete copy of data but does not provide read/write services by itself; instead, it implements data sync by receiving update logs from the principal and allows the creation of snapshots for reporting. In a mirror cluster, data sync between the principal and mirror relies on transaction logs. SQL Server's transaction logs are at the database level rather than instance level, and each database has separate transaction logs, so SQL Server mirroring is implemented at the database level.


Scenario 2

SQL Server 2017, 2019, or 2022 Enterprise: The primary/replica architecture of a two-node instance adopts the Always On architecture, including one primary and one replica deployed across racks/AZs. Each database corresponds to a monitoring agent that monitors the database through heartbeat in real time. Its architecture displayed in the console is shown in the following figure.

Tencent Cloud management cluster: It consists of the independently deployed decision-making and scheduling cluster as well as configuration cluster. As the management and scheduling hub of clusters, it manages the normal operations of database node groups, access gateway clusters, and COS.
COS: It provides data disaster recovery and cold backup services.
Access gateway cluster: It provides a unique IP externally, so that even if data nodes are switched, the IP for users to connect to the instance stays unchanged.
Note:
Basic sync process of Always On: The logs (commits and log block writes) of the primary node will be flushed from the log cache to the disk. At the same time, the Log Capture thread of the primary node will also send the logs to all other replica nodes, and the Log Receive threads of the corresponding nodes will also flush the received logs from the log cache to the disk. Eventually, the Redo thread flushes these logs to the data file.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백