From 7bb0f8bff2b8b72c6f2b631212a56cf9425e4c79 Mon Sep 17 00:00:00 2001 From: lilin90 Date: Thu, 28 May 2020 16:23:46 +0800 Subject: [PATCH 1/3] index: udpate the index file --- _index.md | 116 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 81 insertions(+), 35 deletions(-) diff --git a/_index.md b/_index.md index 0afed653de24..f004aee42364 100755 --- a/_index.md +++ b/_index.md @@ -1,65 +1,111 @@ --- title: TiDB 简介 +summary: 了解 TiDB 数据库。 category: introduction --- # TiDB 简介 -TiDB 是 PingCAP 公司设计的开源分布式 HTAP (Hybrid Transactional and Analytical Processing) 数据库,结合了传统的 RDBMS 和 NoSQL 的最佳特性。TiDB 兼容 MySQL,支持无限的水平扩展,具备强一致性和高可用性。TiDB 的目标是为 OLTP (Online Transactional Processing) 和 OLAP (Online Analytical Processing) 场景提供一站式的解决方案。 +TiDB 是 PingCAP 公司自主设计、研发的开源分布式关系型数据库,是一款同时支持在线事务处理与在线分析处理 (Hybrid Transactional and Analytical Processing, HTAP)的融合型分布式数据库产品,具备水平扩容或者缩容、金融级高可用、实时 HTAP、云原生的分布式数据库、兼容 MySQL 5.7 协议和 MySQL 生态等重要特性。目标是为用户提供一站式 OLTP (Online Transactional Processing)、OLAP (Online Analytical Processing)、HTAP 解决方案。TiDB 适合高可用、强一致要求较高、数据规模较大等各种应用场景。 -TiDB 具备如下特性: + + + 关于 TiDB -- 高度兼容 MySQL + - [TiDB 简介](/overview.md) + - [基本功能](/basic-features.md) + - [与 MySQL 的兼容性](/mysql-compatibility.md) + - [使用限制](/tidb-limitations.md) + - [荣誉列表](/credits.md) - [大多数情况下](/mysql-compatibility.md),无需修改代码即可从 MySQL 轻松迁移至 TiDB,分库分表后的 MySQL 集群亦可通过 TiDB 工具进行实时迁移。 + -- 水平弹性扩展 + + 快速上手 - 通过简单地增加新节点即可实现 TiDB 的水平扩展,按需扩展吞吐或存储,轻松应对高并发、海量数据场景。 + - [快速上手指南](/quick-start-with-tidb.md) + - [SQL 基本操作](/basic-sql-operations.md) -- 分布式事务 + - TiDB 100% 支持标准的 ACID 事务。 + + 部署集群 -- 真正金融级高可用 + - [软硬件环境需求](/hardware-and-software-requirements.md) + - [环境与系统配置检查](/check-before-deployment.md) + - [使用 TiUP 部署(推荐)](/production-deployment-using-tiup.md) + - [使用 TiUP 离线部署(推荐)](/production-offline-deployment-using-tiup.md) + - [验证集群状态](/post-installation-check.md) - 相比于传统主从 (M-S) 复制方案,基于 Raft 的多数派选举协议可以提供金融级的 100% 数据强一致性保证,且在不丢失大多数副本的前提下,可以实现故障的自动恢复 (auto-failover),无需人工介入。 + -- 一站式 HTAP 解决方案 + + 数据迁移 - TiDB 作为典型的 OLTP 行存数据库,同时兼具强大的 OLAP 性能,配合 TiSpark,可提供一站式 HTAP 解决方案,一份存储同时处理 OLTP & OLAP,无需传统繁琐的 ETL 过程。 + - [支持的数据迁移路径](/data-migration-route.md) + - [从 Mydumper 文件迁移](/migrate-from-mysql-mydumper-files.md) + - [从 Aurora MySQL 迁移](/migrate-from-aurora-mysql-database.md) + - [从 CSV 文件迁移](/tidb-lightning/migrate-from-csv-using-tidb-lightning.md) + - [从 SQL 文件迁移](/migrate-from-mysql-mydumper-files.md) -- 云原生 SQL 数据库 + - TiDB 是为云而设计的数据库,支持公有云、私有云和混合云,使部署、配置和维护变得十分简单。 + + 运维操作 -TiDB 的设计目标是 100% 的 OLTP 场景和 80% 的 OLAP 场景,更复杂的 OLAP 分析可以通过 [TiSpark 项目](/tispark-overview.md)来完成。 + - [升级 TiDB 版本](/upgrade-tidb-using-tiup.md) + - [扩容与缩容](/scale-tidb-using-tiup.md) + - [备份与恢复](/br/backup-and-restore-tool.md) + - [TiCDC 运维操作及任务管理](/ticdc/manage-ticdc.md) + - [TiUP 常用运维操作](/maintain-tidb-using-tiup.md) + - [TiFlash 常用运维操作](/tiflash/maintain-tiflash.md) -TiDB 对业务没有任何侵入性,能优雅的替换传统的数据库中间件、数据库分库分表等 Sharding 方案。同时它也让开发运维人员不用关注数据库 Scale 的细节问题,专注于业务开发,极大的提升研发的生产力。 + -三篇文章了解 TiDB 技术内幕: + + 监控告警 -- [说存储](https://pingcap.com/blog-cn/tidb-internal-1/) -- [说计算](https://pingcap.com/blog-cn/tidb-internal-2/) -- [谈调度](https://pingcap.com/blog-cn/tidb-internal-3/) + - [监控框架概述](/tidb-monitoring-framework.md) + - [监控 API](/tidb-monitoring-api.md) + - [部署监控](/deploy-monitoring-services.md) + - [TiDB 集群报警规则与处理方法](/alert-rules.md) + - [TiFlash 报警规则与处理方法](/tiflash/tiflash-alert-rules.md) -## 部署方式 + -TiDB 可以部署在本地和云平台上,支持公有云、私有云和混合云。你可以根据实际场景或需求,选择相应的方式来部署 TiDB 集群: + + 故障诊断 -- [使用 TiUP 部署](/production-deployment-using-tiup.md):如果用于生产环境,推荐使用 TiUP 部署 TiDB 集群。 -- [使用 Docker Compose 部署](/deploy-test-cluster-using-docker-compose.md):如果你只是想测试 TiDB、体验 TiDB 的特性,或者用于开发环境,可以使用 Docker Compose 在本地快速部署 TiDB 集群。该部署方式不适用于生产环境。 -- [使用 Docker 部署](/test-deployment-using-docker.md):你可以使用 Docker 部署 TiDB 集群,但该部署方式不适用于生产环境。 -- [使用 TiDB Operator 部署](https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/deploy-tidb-operator/):使用 TiDB Operator 在 Kubernetes 集群上部署生产就绪的 TiDB 集群,支持[部署到 AWS EKS](https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/deploy-on-aws-eks/)、[部署到谷歌云 GKE (beta)](https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/deploy-on-gcp-gke/)、[部署到阿里云 ACK](https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/deploy-on-alibaba-cloud/) 等。 -- [使用 TiDB Operator 部署到 Minikube](https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/deploy-tidb-from-kubernetes-minikube/):你可以使用 TiDB Operator 将 TiDB 集群部署到本地 Minikube 启动的 Kubernetes 集群中。该部署方式不适用于生产环境。 -- [使用 TiDB Operator 部署到 kind](https://pingcap.com/docs-cn/tidb-in-kubernetes/stable/deploy-tidb-from-kubernetes-kind/):你可以使用 TiDB Operator 将 TiDB 集群部署到以 kind 方式启动的 Kubernetes 本地集群中。该部署方式不适用于生产环境。 + - [定位慢查询](/identify-slow-queries.md) + - [SQL 诊断](/system-tables/system-table-sql-diagnostics.md) + - [热点问题处理](/troubleshoot-hot-spot-issues.md) + - [磁盘 I/O 过高](/troubleshoot-high-disk-io.md) + - [TiCDC 常见问题](/ticdc/troubleshoot-ticdc.md) + - [TiFlash 常见问题](/tiflash/troubleshoot-tiflash.md) -## 项目源码 + -TiDB 集群所有组件的源码均可从 GitHub 上直接访问: + + 参考指南 -- [TiDB](https://github.com/pingcap/tidb) -- [TiKV](https://github.com/tikv/tikv) -- [PD](https://github.com/pingcap/pd) -- [TiSpark](https://github.com/pingcap/tispark) -- [TiDB Operator](https://github.com/pingcap/tidb-operator) + - [TiDB 架构](/tidb-architecture.md) + - [监控指标](/grafana-overview-dashboard.md) + - [安全加固](/enable-tls-between-clients.md) + - [权限管理](/privilege-management.md) + - [基于角色的访问控制](/role-based-access-control.md) + - [证书鉴权](/certificate-authentication.md) + + + + + FAQ + + - [产品 FAQ](/faq/tidb-faq.md) + - [高可用 FAQ](/faq/high-availability-faq.md) + - [SQL FAQ](/faq/sql-faq.md) + - [部署运维 FAQ](/faq/deploy-and-maintain-faq.md) + - [升级 FAQ](/faq/upgrade-faq.md) + - [迁移 FAQ](/faq/migration-tidb-faq.md) + + + From 29490df5c2ed6c837c87da0f3e9bd3edcfad51f8 Mon Sep 17 00:00:00 2001 From: lilin90 Date: Thu, 28 May 2020 16:30:30 +0800 Subject: [PATCH 2/3] Fix lint --- _index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_index.md b/_index.md index f004aee42364..a998726dd5d4 100755 --- a/_index.md +++ b/_index.md @@ -4,6 +4,8 @@ summary: 了解 TiDB 数据库。 category: introduction --- + + # TiDB 简介 TiDB 是 PingCAP 公司自主设计、研发的开源分布式关系型数据库,是一款同时支持在线事务处理与在线分析处理 (Hybrid Transactional and Analytical Processing, HTAP)的融合型分布式数据库产品,具备水平扩容或者缩容、金融级高可用、实时 HTAP、云原生的分布式数据库、兼容 MySQL 5.7 协议和 MySQL 生态等重要特性。目标是为用户提供一站式 OLTP (Online Transactional Processing)、OLAP (Online Analytical Processing)、HTAP 解决方案。TiDB 适合高可用、强一致要求较高、数据规模较大等各种应用场景。 From f2c70d79c1afba8b2eea9defb6cbe67723943de7 Mon Sep 17 00:00:00 2001 From: lilin90 Date: Thu, 28 May 2020 17:06:19 +0800 Subject: [PATCH 3/3] Update indentation --- _index.md | 146 +++++++++++++++++++++++++++--------------------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/_index.md b/_index.md index a998726dd5d4..cec1d211f05e 100755 --- a/_index.md +++ b/_index.md @@ -11,103 +11,103 @@ category: introduction TiDB 是 PingCAP 公司自主设计、研发的开源分布式关系型数据库,是一款同时支持在线事务处理与在线分析处理 (Hybrid Transactional and Analytical Processing, HTAP)的融合型分布式数据库产品,具备水平扩容或者缩容、金融级高可用、实时 HTAP、云原生的分布式数据库、兼容 MySQL 5.7 协议和 MySQL 生态等重要特性。目标是为用户提供一站式 OLTP (Online Transactional Processing)、OLAP (Online Analytical Processing)、HTAP 解决方案。TiDB 适合高可用、强一致要求较高、数据规模较大等各种应用场景。 - - 关于 TiDB + +关于 TiDB - - [TiDB 简介](/overview.md) - - [基本功能](/basic-features.md) - - [与 MySQL 的兼容性](/mysql-compatibility.md) - - [使用限制](/tidb-limitations.md) - - [荣誉列表](/credits.md) +- [TiDB 简介](/overview.md) +- [基本功能](/basic-features.md) +- [与 MySQL 的兼容性](/mysql-compatibility.md) +- [使用限制](/tidb-limitations.md) +- [荣誉列表](/credits.md) - + - - 快速上手 + +快速上手 - - [快速上手指南](/quick-start-with-tidb.md) - - [SQL 基本操作](/basic-sql-operations.md) +- [快速上手指南](/quick-start-with-tidb.md) +- [SQL 基本操作](/basic-sql-operations.md) - + - - 部署集群 + +部署集群 - - [软硬件环境需求](/hardware-and-software-requirements.md) - - [环境与系统配置检查](/check-before-deployment.md) - - [使用 TiUP 部署(推荐)](/production-deployment-using-tiup.md) - - [使用 TiUP 离线部署(推荐)](/production-offline-deployment-using-tiup.md) - - [验证集群状态](/post-installation-check.md) +- [软硬件环境需求](/hardware-and-software-requirements.md) +- [环境与系统配置检查](/check-before-deployment.md) +- [使用 TiUP 部署(推荐)](/production-deployment-using-tiup.md) +- [使用 TiUP 离线部署(推荐)](/production-offline-deployment-using-tiup.md) +- [验证集群状态](/post-installation-check.md) - + - - 数据迁移 + +数据迁移 - - [支持的数据迁移路径](/data-migration-route.md) - - [从 Mydumper 文件迁移](/migrate-from-mysql-mydumper-files.md) - - [从 Aurora MySQL 迁移](/migrate-from-aurora-mysql-database.md) - - [从 CSV 文件迁移](/tidb-lightning/migrate-from-csv-using-tidb-lightning.md) - - [从 SQL 文件迁移](/migrate-from-mysql-mydumper-files.md) +- [支持的数据迁移路径](/data-migration-route.md) +- [从 Mydumper 文件迁移](/migrate-from-mysql-mydumper-files.md) +- [从 Aurora MySQL 迁移](/migrate-from-aurora-mysql-database.md) +- [从 CSV 文件迁移](/tidb-lightning/migrate-from-csv-using-tidb-lightning.md) +- [从 SQL 文件迁移](/migrate-from-mysql-mydumper-files.md) - + - - 运维操作 + +运维操作 - - [升级 TiDB 版本](/upgrade-tidb-using-tiup.md) - - [扩容与缩容](/scale-tidb-using-tiup.md) - - [备份与恢复](/br/backup-and-restore-tool.md) - - [TiCDC 运维操作及任务管理](/ticdc/manage-ticdc.md) - - [TiUP 常用运维操作](/maintain-tidb-using-tiup.md) - - [TiFlash 常用运维操作](/tiflash/maintain-tiflash.md) +- [升级 TiDB 版本](/upgrade-tidb-using-tiup.md) +- [扩容与缩容](/scale-tidb-using-tiup.md) +- [备份与恢复](/br/backup-and-restore-tool.md) +- [TiCDC 运维操作及任务管理](/ticdc/manage-ticdc.md) +- [TiUP 常用运维操作](/maintain-tidb-using-tiup.md) +- [TiFlash 常用运维操作](/tiflash/maintain-tiflash.md) - + - - 监控告警 + +监控告警 - - [监控框架概述](/tidb-monitoring-framework.md) - - [监控 API](/tidb-monitoring-api.md) - - [部署监控](/deploy-monitoring-services.md) - - [TiDB 集群报警规则与处理方法](/alert-rules.md) - - [TiFlash 报警规则与处理方法](/tiflash/tiflash-alert-rules.md) +- [监控框架概述](/tidb-monitoring-framework.md) +- [监控 API](/tidb-monitoring-api.md) +- [部署监控](/deploy-monitoring-services.md) +- [TiDB 集群报警规则与处理方法](/alert-rules.md) +- [TiFlash 报警规则与处理方法](/tiflash/tiflash-alert-rules.md) - + - - 故障诊断 + +故障诊断 - - [定位慢查询](/identify-slow-queries.md) - - [SQL 诊断](/system-tables/system-table-sql-diagnostics.md) - - [热点问题处理](/troubleshoot-hot-spot-issues.md) - - [磁盘 I/O 过高](/troubleshoot-high-disk-io.md) - - [TiCDC 常见问题](/ticdc/troubleshoot-ticdc.md) - - [TiFlash 常见问题](/tiflash/troubleshoot-tiflash.md) +- [定位慢查询](/identify-slow-queries.md) +- [SQL 诊断](/system-tables/system-table-sql-diagnostics.md) +- [热点问题处理](/troubleshoot-hot-spot-issues.md) +- [磁盘 I/O 过高](/troubleshoot-high-disk-io.md) +- [TiCDC 常见问题](/ticdc/troubleshoot-ticdc.md) +- [TiFlash 常见问题](/tiflash/troubleshoot-tiflash.md) - + - - 参考指南 + +参考指南 - - [TiDB 架构](/tidb-architecture.md) - - [监控指标](/grafana-overview-dashboard.md) - - [安全加固](/enable-tls-between-clients.md) - - [权限管理](/privilege-management.md) - - [基于角色的访问控制](/role-based-access-control.md) - - [证书鉴权](/certificate-authentication.md) +- [TiDB 架构](/tidb-architecture.md) +- [监控指标](/grafana-overview-dashboard.md) +- [安全加固](/enable-tls-between-clients.md) +- [权限管理](/privilege-management.md) +- [基于角色的访问控制](/role-based-access-control.md) +- [证书鉴权](/certificate-authentication.md) - + - - FAQ + +FAQ - - [产品 FAQ](/faq/tidb-faq.md) - - [高可用 FAQ](/faq/high-availability-faq.md) - - [SQL FAQ](/faq/sql-faq.md) - - [部署运维 FAQ](/faq/deploy-and-maintain-faq.md) - - [升级 FAQ](/faq/upgrade-faq.md) - - [迁移 FAQ](/faq/migration-tidb-faq.md) +- [产品 FAQ](/faq/tidb-faq.md) +- [高可用 FAQ](/faq/high-availability-faq.md) +- [SQL FAQ](/faq/sql-faq.md) +- [部署运维 FAQ](/faq/deploy-and-maintain-faq.md) +- [升级 FAQ](/faq/upgrade-faq.md) +- [迁移 FAQ](/faq/migration-tidb-faq.md) - +