TiDB中文技术文档的水平扩展和高可用特点,首先需要了解 TiDB 的整体架构。 TiDB 集群主要分为三个组件: TiDB Server 负责接收 SQL 请求,处理 SQL 相关的逻辑,并通过 PD 找到存储计算所需数据的 TiKV 地址, 与 TiKV 交互获取数据,最终返回结果。 TiDB Server 是无状态的,其本身并不存储数据,只负责计算,可以无限水平扩展,可以通过负载均衡组件(如 LVS、HAProxy 集群进行调度和负载均衡(如数据的迁移、Raft group leader 的迁 移等);三是分配全局唯一且递增的事务 ID。 PD 是一个集群,需要部署奇数个节点,一般线上推荐至少部署 3 个节点。 TiKV Server 负责存储数据,从外部看 TiKV 是一个分布式的提供事务的 Key-Value 存储引擎。存储数据的基 本单位是 Region,每个 Region 负责存储一个 Key Range (从 StartKey 为单位进行调度。 TiDB Server PD Server TiKV Server 核心特性 水平扩展 README - 12 - 本文档使用 书栈(BookStack.CN) 构建 无限水平扩展是 TiDB 的一大特点,这里说的水平扩展包括两方面:计算能力和存储能力。TiDB Server 负责处理 SQL 请求,随着业务的增长,可以简单的添加 TiDB Server 节点,提高整体的处理能力,提供更高的吞吐。TiKV0 码力 | 444 页 | 4.89 MB | 6 月前3
TiDB v6.1 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 538 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 539 · · · · 1040 10.12.2 Cannot start tidb-server · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1040 10.12.3 Cannot start tikv-server · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1041 10.12.4 Cannot start pd-server · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1041 10.12.5 The TiDB/TiKV/PD process aborts unexpectedly·0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v7.5 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 602 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 603 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3131 14.6 Server Status Variables · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4845 15.8.3 TiDB server management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4847 15.8.4 TiKV server management · · · · · · · · · · · · · · ·0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v6.5 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 607 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 607 · · · · · · · · · · · 4436 15.8.3 TiDB server management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4438 15.8.4 TiKV server management · · · · · · · · · · · · · · · · · · · · · · · · · · · 4448 15.10.2 Does TiDB support modifying the MySQL version string of the server to a specific one that is required by the security vulnerability scanning tool?· · · · · · · · ·0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v7.6 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 615 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 615 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3171 14.6 Server Status Variables · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4917 15.8.3 TiDB server management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4919 15.8.4 TiKV server management · · · · · · · · · · · · · · ·0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.1 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 621 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 621 · · · · · · · · · · 4674 15.8.3 TiDB server management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4676 22 15.8.4 TiKV server management · · · · · · · · · · · · · · · · · · · · · · · · · · 4686 15.10.2 Does TiDB support modifying the MySQL version string of the server to a specific one that is required by the security vulnerability scanning tool?· · · · · · · · ·0 码力 | 5716 页 | 104.74 MB | 1 年前3
TiDB v5.4 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 114 4.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 114 · · · · · 578 8.11.2 Cannot start tidb-server · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 578 8.11.3 Cannot start tikv-server · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 579 8.11.4 Cannot start pd-server · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 579 8.11.5 The TiDB/TiKV/PD process aborts unexpectedly·0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v8.4 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 695 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 696 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3373 14.6 Server Status Variables · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 5268 15.8.3 TiDB server management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 5270 15.8.4 TiKV server management · · · · · · · · · · · · · · ·0 码力 | 6705 页 | 110.86 MB | 10 月前3
TiDB v8.5 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 700 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 701 and Principles of TiCDC · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1025 7.5.5 TiCDC Server Configurations· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1033 7.5.6 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3389 14.6 Server Status Variables · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 Documentationrecommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 611 5.1.3 Server recommendations · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 611 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3335 14.6 Server Status Variables · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 5188 15.8.3 TiDB server management · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 5190 15.8.4 TiKV server management · · · · · · · · · · · · · · ·0 码力 | 6549 页 | 108.77 MB | 10 月前3
共 46 条
- 1
- 2
- 3
- 4
- 5













