 TiDB中文技术文档Docker 部署方案 本篇将展示如何在多台主机上使用 Docker 部署一个 TiDB 集群。 阅读本章前,请先确保阅读 TiDB 整体架构 及 部署建议。 Docker 可以方便地在 Linux / Mac OS / Windows 平台安装,安装方法请参考 Docker 官方文档。 部署 TiDB 集群主要包括 3 个服务组件: TiDB TiKV PD 对应的最新 Docker 镜像可以通过 Docker 文件即可以使用。 1. curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash 如果是 Mac 系统,也可以通过 Homebrew 安装: 1. brew install kubernetes-helm 2. 下载 tidb-docker-compose 1. git clone https://github0 码力 | 444 页 | 4.89 MB | 6 月前3 TiDB中文技术文档Docker 部署方案 本篇将展示如何在多台主机上使用 Docker 部署一个 TiDB 集群。 阅读本章前,请先确保阅读 TiDB 整体架构 及 部署建议。 Docker 可以方便地在 Linux / Mac OS / Windows 平台安装,安装方法请参考 Docker 官方文档。 部署 TiDB 集群主要包括 3 个服务组件: TiDB TiKV PD 对应的最新 Docker 镜像可以通过 Docker 文件即可以使用。 1. curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash 如果是 Mac 系统,也可以通过 Homebrew 安装: 1. brew install kubernetes-helm 2. 下载 tidb-docker-compose 1. git clone https://github0 码力 | 444 页 | 4.89 MB | 6 月前3
 TiDB v5.2 Documentationfeature) #2411 2.2.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 2.2.3 Feature Enhancements • Tools – TiCDC * Add the binary MQ format deploy your TiDB database by either of the following methods: • Deploy a local test cluster (for Mac and Linux) • Simulate production deployment on a single machine (for Linux only) Note: • TiDB, TiUP Deploy a local test cluster • Scenario: Quickly deploy a local TiDB cluster for testing using a single Mac or Linux server. By deploying such a cluster, you can learn the basic architecture of TiDB and the0 码力 | 2848 页 | 47.90 MB | 1 年前3 TiDB v5.2 Documentationfeature) #2411 2.2.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 2.2.3 Feature Enhancements • Tools – TiCDC * Add the binary MQ format deploy your TiDB database by either of the following methods: • Deploy a local test cluster (for Mac and Linux) • Simulate production deployment on a single machine (for Linux only) Note: • TiDB, TiUP Deploy a local test cluster • Scenario: Quickly deploy a local TiDB cluster for testing using a single Mac or Linux server. By deploying such a cluster, you can learn the basic architecture of TiDB and the0 码力 | 2848 页 | 47.90 MB | 1 年前3
 TiDB v5.2 中文手册TiCDC 任务进行管理,在 Kubernetes 以及本地部署环境下提供更友好的运维方 式。(实验特性) #2411 31 2.2.2.6 部署及运维 支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 2.2.3 功能增强 • Tools – TiCDC * 新增专为 TiDB 设计的比基于 JSON 的开放协议更紧凑的二进制 MQ 格式 快速上手 3.1 TiDB 数据库快速上手指南 本指南介绍如何快速上手体验 TiDB 数据库。对于非生产环境,你可以选择以下任意一种方式部署 TiDB 数据库: • 部署本地测试集群(支持 Mac 和 Linux) • 在单机上模拟部署生产环境集群(支持 Linux) 注意: • TiDB、TiUP 及 TiDB Dashboard 默认会收集使用情况信息,并将这些信息分享给 PingCAP 上部署 TiDB,请参考快速上手 TiDB Operator。 – 如需在云上管理 TiDB,请参考 TiDB Cloud 快速上手指南。 3.1.1 部署本地测试集群 • 适用场景:利用本地 Mac 或者单机 Linux 环境快速部署 TiDB 测试集群,体验 TiDB 集群的基本架构,以及 TiDB、TiKV、PD、监控等基础组件的运行。 TiDB 是一个分布式系统。最基础的 TiDB 测试集群通常由0 码力 | 2259 页 | 48.16 MB | 1 年前3 TiDB v5.2 中文手册TiCDC 任务进行管理,在 Kubernetes 以及本地部署环境下提供更友好的运维方 式。(实验特性) #2411 31 2.2.2.6 部署及运维 支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 2.2.3 功能增强 • Tools – TiCDC * 新增专为 TiDB 设计的比基于 JSON 的开放协议更紧凑的二进制 MQ 格式 快速上手 3.1 TiDB 数据库快速上手指南 本指南介绍如何快速上手体验 TiDB 数据库。对于非生产环境,你可以选择以下任意一种方式部署 TiDB 数据库: • 部署本地测试集群(支持 Mac 和 Linux) • 在单机上模拟部署生产环境集群(支持 Linux) 注意: • TiDB、TiUP 及 TiDB Dashboard 默认会收集使用情况信息,并将这些信息分享给 PingCAP 上部署 TiDB,请参考快速上手 TiDB Operator。 – 如需在云上管理 TiDB,请参考 TiDB Cloud 快速上手指南。 3.1.1 部署本地测试集群 • 适用场景:利用本地 Mac 或者单机 Linux 环境快速部署 TiDB 测试集群,体验 TiDB 集群的基本架构,以及 TiDB、TiKV、PD、监控等基础组件的运行。 TiDB 是一个分布式系统。最基础的 TiDB 测试集群通常由0 码力 | 2259 页 | 48.16 MB | 1 年前3
 TiDB v5.1 Documentationdeploy your TiDB database by either of the following methods: • Deploy a local test cluster (for Mac and Linux) • Simulate production deployment on a single machine (for Linux only) Note: • TiDB, TiUP Deploy a local test cluster • Scenario: Quickly deploy a local TiDB cluster for testing using a single Mac or Linux server. By deploying such a cluster, you can learn the basic architecture of TiDB and the Apple M1 chip. Therefore, the tiup playground command cur- rently cannot be executed on the local Mac machine that uses the Apple M1 chip. As a distributed system, a basic TiDB test cluster usually consists0 码力 | 2745 页 | 47.65 MB | 1 年前3 TiDB v5.1 Documentationdeploy your TiDB database by either of the following methods: • Deploy a local test cluster (for Mac and Linux) • Simulate production deployment on a single machine (for Linux only) Note: • TiDB, TiUP Deploy a local test cluster • Scenario: Quickly deploy a local TiDB cluster for testing using a single Mac or Linux server. By deploying such a cluster, you can learn the basic architecture of TiDB and the Apple M1 chip. Therefore, the tiup playground command cur- rently cannot be executed on the local Mac machine that uses the Apple M1 chip. As a distributed system, a basic TiDB test cluster usually consists0 码力 | 2745 页 | 47.65 MB | 1 年前3
 TiDB v5.3 Documentationdeploy your TiDB database by either of the following methods: • Deploy a local test cluster (for Mac and Linux) • Simulate production deployment on a single machine (for Linux only) Note: • TiDB, TiUP Deploy a local test cluster • Scenario: Quickly deploy a local TiDB cluster for testing using a single Mac or Linux server. By deploying such a cluster, you can learn the basic architecture of TiDB and the feature) #2411 14.4.5.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 14.4.5.3 Feature Enhancements • Tools – TiCDC * Add the binary MQ0 码力 | 2996 页 | 49.30 MB | 1 年前3 TiDB v5.3 Documentationdeploy your TiDB database by either of the following methods: • Deploy a local test cluster (for Mac and Linux) • Simulate production deployment on a single machine (for Linux only) Note: • TiDB, TiUP Deploy a local test cluster • Scenario: Quickly deploy a local TiDB cluster for testing using a single Mac or Linux server. By deploying such a cluster, you can learn the basic architecture of TiDB and the feature) #2411 14.4.5.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 14.4.5.3 Feature Enhancements • Tools – TiCDC * Add the binary MQ0 码力 | 2996 页 | 49.30 MB | 1 年前3
 TiDB v5.1 中文手册快速上手 3.1 TiDB 数据库快速上手指南 本指南介绍如何快速上手体验 TiDB 数据库。对于非生产环境,你可以选择以下任意一种方式部署 TiDB 数据库: • 部署本地测试集群(支持 Mac 和 Linux) • 在单机上模拟部署生产环境集群(支持 Linux) 注意: • TiDB、TiUP 及 TiDB Dashboard 默认会收集使用情况信息,并将这些信息分享给 PingCAP 3.1.1 部署本地测试集群 • 适用场景:利用本地 Mac 或者单机 Linux 环境快速部署 TiDB 测试集群,体验 TiDB 集群的基本架构,以及 TiDB、TiKV、PD、监控等基础组件的运行。 注意: 由于部分 TiDB 组件尚未发布支持 Apple M1 芯片的版本,暂不支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 TiDB 的旧值时 TiKV 可能会 panic 的问题 #9569 – 修复使用不同配置的连接拉取同一个 Region 的变更时旧值配置不匹配的问题 #9565 – 修复 TiVK 运行在网络接口缺少 MAC 地址的设备上会崩溃的问题(自 v4.0.9 引入)#9516 – 修复 TiKV 在备份大 Region 时会内存溢出的问题 #9448 – 修复 region-split-check-diff0 码力 | 2189 页 | 47.96 MB | 1 年前3 TiDB v5.1 中文手册快速上手 3.1 TiDB 数据库快速上手指南 本指南介绍如何快速上手体验 TiDB 数据库。对于非生产环境,你可以选择以下任意一种方式部署 TiDB 数据库: • 部署本地测试集群(支持 Mac 和 Linux) • 在单机上模拟部署生产环境集群(支持 Linux) 注意: • TiDB、TiUP 及 TiDB Dashboard 默认会收集使用情况信息,并将这些信息分享给 PingCAP 3.1.1 部署本地测试集群 • 适用场景:利用本地 Mac 或者单机 Linux 环境快速部署 TiDB 测试集群,体验 TiDB 集群的基本架构,以及 TiDB、TiKV、PD、监控等基础组件的运行。 注意: 由于部分 TiDB 组件尚未发布支持 Apple M1 芯片的版本,暂不支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 TiDB 的旧值时 TiKV 可能会 panic 的问题 #9569 – 修复使用不同配置的连接拉取同一个 Region 的变更时旧值配置不匹配的问题 #9565 – 修复 TiVK 运行在网络接口缺少 MAC 地址的设备上会崩溃的问题(自 v4.0.9 引入)#9516 – 修复 TiKV 在备份大 Region 时会内存溢出的问题 #9448 – 修复 region-split-check-diff0 码力 | 2189 页 | 47.96 MB | 1 年前3
 TiDB v5.3 中文手册快速上手 3.1 TiDB 数据库快速上手指南 本指南介绍如何快速上手体验 TiDB 数据库。对于非生产环境,你可以选择以下任意一种方式部署 TiDB 数据库: • 部署本地测试集群(支持 Mac 和 Linux) • 在单机上模拟部署生产环境集群(支持 Linux) 注意: • TiDB、TiUP 及 TiDB Dashboard 默认会收集使用情况信息,并将这些信息分享给 PingCAP 观看下面的培训视频(时长 15 分钟)。注意本视频只作为学习参考,如需了解TiUP 的具体使用方法和TiDB 快 速上手具体操作步骤,请以文档内容为准。 3.1.1 部署本地测试集群 • 适用场景:利用本地 Mac 或者单机 Linux 环境快速部署 TiDB 测试集群,体验 TiDB 集群的基本架构,以及 TiDB、TiKV、PD、监控等基础组件的运行。 TiDB 是一个分布式系统。最基础的 TiDB 测试集群通常由 TiCDC 任务进行管理,在 Kubernetes 以及本地部署环境下提供更友好的运维方 式。(实验特性) #2411 14.4.5.2.6 部署及运维 支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 14.4.5.3 功能增强 • Tools – TiCDC * 新增专为 TiDB 设计的比基于 JSON 的开放协议更紧凑的二进制 MQ0 码力 | 2374 页 | 49.52 MB | 1 年前3 TiDB v5.3 中文手册快速上手 3.1 TiDB 数据库快速上手指南 本指南介绍如何快速上手体验 TiDB 数据库。对于非生产环境,你可以选择以下任意一种方式部署 TiDB 数据库: • 部署本地测试集群(支持 Mac 和 Linux) • 在单机上模拟部署生产环境集群(支持 Linux) 注意: • TiDB、TiUP 及 TiDB Dashboard 默认会收集使用情况信息,并将这些信息分享给 PingCAP 观看下面的培训视频(时长 15 分钟)。注意本视频只作为学习参考,如需了解TiUP 的具体使用方法和TiDB 快 速上手具体操作步骤,请以文档内容为准。 3.1.1 部署本地测试集群 • 适用场景:利用本地 Mac 或者单机 Linux 环境快速部署 TiDB 测试集群,体验 TiDB 集群的基本架构,以及 TiDB、TiKV、PD、监控等基础组件的运行。 TiDB 是一个分布式系统。最基础的 TiDB 测试集群通常由 TiCDC 任务进行管理,在 Kubernetes 以及本地部署环境下提供更友好的运维方 式。(实验特性) #2411 14.4.5.2.6 部署及运维 支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 14.4.5.3 功能增强 • Tools – TiCDC * 新增专为 TiDB 设计的比基于 JSON 的开放协议更紧凑的二进制 MQ0 码力 | 2374 页 | 49.52 MB | 1 年前3
 TiDB v6.1 DocumentationProcess SQL statements before executing the source command: sed -i "" '1d' gatherGlobalStats.sql --- mac sed -i '1d' gatherGlobalStats.sql --- linux SET session tidb_partition_prune_mode = dynamic; source feature) #2411 16.9.5.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 16.9.5.3 Feature Enhancements • Tools • TiCDC • Add the binary MQ issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) #9516 • Fix the issue of TiKV OOM when backing up a huge Region #94480 码力 | 4487 页 | 84.44 MB | 1 年前3 TiDB v6.1 DocumentationProcess SQL statements before executing the source command: sed -i "" '1d' gatherGlobalStats.sql --- mac sed -i '1d' gatherGlobalStats.sql --- linux SET session tidb_partition_prune_mode = dynamic; source feature) #2411 16.9.5.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 16.9.5.3 Feature Enhancements • Tools • TiCDC • Add the binary MQ issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) #9516 • Fix the issue of TiKV OOM when backing up a huge Region #94480 码力 | 4487 页 | 84.44 MB | 1 年前3
 TiDB v6.5 DocumentationProcess SQL statements before executing the source command: sed -i "" '1d' gatherGlobalStats.sql --- mac sed -i '1d' gatherGlobalStats.sql --- linux SET session tidb_partition_prune_mode = dynamic; source feature) #2411 16.13.5.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 16.13.5.3 Feature Enhancements • Tools • TiCDC • Add the binary issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) #9516 • Fix the issue of TiKV OOM when backing up a huge Region #94480 码力 | 5282 页 | 99.69 MB | 1 年前3 TiDB v6.5 DocumentationProcess SQL statements before executing the source command: sed -i "" '1d' gatherGlobalStats.sql --- mac sed -i '1d' gatherGlobalStats.sql --- linux SET session tidb_partition_prune_mode = dynamic; source feature) #2411 16.13.5.2.6 Deployment and operations Support running the tiup playground command on Mac computers with Apple M1 chips. 16.13.5.3 Feature Enhancements • Tools • TiCDC • Add the binary issue that occurs when running a TiKV cluster on a machine with a network interface that lacks the MAC address (introduced in v4.0.9) #9516 • Fix the issue of TiKV OOM when backing up a huge Region #94480 码力 | 5282 页 | 99.69 MB | 1 年前3
 TiDB v6.1 中文手册gatherGlobalStats.sql 4. 执行批量更新: 在运行 source 命令之前处理 SQL 文件: sed -i "" '1d' gatherGlobalStats.sql --- mac sed -i '1d' gatherGlobalStats.sql --- linux SET session tidb_partition_prune_mode = dynamic; source TiCDC 任务进行管理,在 Kubernetes 以及本地部署环境下提供更友好的运维方 式。(实验特性) #2411 16.9.5.2.6 部署及运维 支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 16.9.5.3 功能增强 • Tools – TiCDC * 新增专为 TiDB 设计的比基于 JSON 的开放协议更紧凑的二进制 MQ 的旧值时 TiKV 可能会 panic 的问题 #9569 – 修复使用不同配置的连接拉取同一个 Region 的变更时旧值配置不匹配的问题 #9565 – 修复 TiVK 运行在网络接口缺少 MAC 地址的设备上会崩溃的问题(自 v4.0.9 引入)#9516 – 修复 TiKV 在备份大 Region 时会内存溢出的问题 #9448 – 修复 region-split-check-diff0 码力 | 3572 页 | 84.36 MB | 1 年前3 TiDB v6.1 中文手册gatherGlobalStats.sql 4. 执行批量更新: 在运行 source 命令之前处理 SQL 文件: sed -i "" '1d' gatherGlobalStats.sql --- mac sed -i '1d' gatherGlobalStats.sql --- linux SET session tidb_partition_prune_mode = dynamic; source TiCDC 任务进行管理,在 Kubernetes 以及本地部署环境下提供更友好的运维方 式。(实验特性) #2411 16.9.5.2.6 部署及运维 支持在使用 Apple M1 芯片的本地 Mac 机器上使用 tiup playground 命令。 16.9.5.3 功能增强 • Tools – TiCDC * 新增专为 TiDB 设计的比基于 JSON 的开放协议更紧凑的二进制 MQ 的旧值时 TiKV 可能会 panic 的问题 #9569 – 修复使用不同配置的连接拉取同一个 Region 的变更时旧值配置不匹配的问题 #9565 – 修复 TiVK 运行在网络接口缺少 MAC 地址的设备上会崩溃的问题(自 v4.0.9 引入)#9516 – 修复 TiKV 在备份大 Region 时会内存溢出的问题 #9448 – 修复 region-split-check-diff0 码力 | 3572 页 | 84.36 MB | 1 年前3
共 31 条
- 1
- 2
- 3
- 4













