Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: move remaining files to dev folder #1458

Merged
merged 16 commits into from
Jun 19, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
move remaining files to dev folder
  • Loading branch information
dcalvin committed Jun 15, 2019
commit e9b60e02430a91252b21e1cc4e46988b5002d499
136 changes: 68 additions & 68 deletions TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

## 目录

+ [关于 TiDB](overview.md)
+ [关于 TiDB](dev/overview.md)
+ 主要概念
- [整体架构](architecture.md)
+ [核心特性](key-features.md)
- [水平扩展](key-features.md#水平扩展)
- [高可用](key-features.md#高可用)
- [整体架构](dev/architecture.md)
+ [核心特性](dev/key-features.md)
- [水平扩展](dev/key-features.md#水平扩展)
- [高可用](dev/key-features.md#高可用)
+ 操作指南
+ 快速上手
+ 创建本地集群
Expand Down Expand Up @@ -43,7 +43,7 @@
- [全量迁移](dev/how-to/migrate/from-mysql.md)
- [增量复制](dev/how-to/migrate/incrementally-from-mysql.md)
- [从 Amazon Aurora MySQL 迁移数据](dev/how-to/migrate/from-aurora.md)
- [从 CSV 迁移](tools/lightning/csv.md)
- [从 CSV 迁移](dev/tools/lightning/csv.md)
+ 运维
- [Ansible 常见运维操作](dev/how-to/maintain/ansible-operations.md)
+ [备份与恢复](dev/how-to/maintain/backup-and-restore.md)
Expand All @@ -54,15 +54,15 @@
- [升级至 TiDB 3.0](dev/how-to/upgrade/from-previous-version.md)
- [升级至 TiDB 2.1](dev/how-to/upgrade/to-tidb-2.1.md)
- [使用 Ansible 滚动升级](dev/how-to/upgrade/rolling-updates-with-ansible.md)
- [升级 Data Migration](tools/dm/dm-upgrade.md)
- [升级 Data Migration](dev/tools/dm/dm-upgrade.md)
+ 故障诊断
- [集群配置诊断](dev/how-to/troubleshoot/cluster-setup.md)
- [Data Migration 故障诊断](dev/how-to/troubleshoot/data-migration.md)
- [TiDB Lightning 故障诊断](dev/how-to/troubleshoot/tidb-lightning.md)
+ 参考手册
+ [与 MySQL 兼容性对比](dev/reference/mysql-compatibility.md)
+ SQL
- [TiDB SQL 语法图](https://pingcap.github.io/sqlgram/)
- [TiDB SQL 语法图](dev/https://pingcap.github.io/sqlgram/)
+ SQL 语言结构
- [字面值](dev/reference/sql/language-structure/literal-values.md)
- [Schema 对象名](dev/reference/sql/language-structure/schema-object-names.md)
Expand Down Expand Up @@ -138,7 +138,7 @@
- [统计信息概述](dev/reference/performance/statistics.md)
- [Optimizer Hints](dev/reference/performance/optimizer-hints.md)
- [TiKV 调优](dev/reference/performance/tune-tikv.md)
- [TiDB 最佳实践](https://pingcap.com/blog-cn/tidb-best-practice/)
- [TiDB 最佳实践](dev/https://pingcap.com/blog-cn/tidb-best-practice/)
+ [TiSpark 使用指南](dev/reference/tispark.md)
+ 生态工具
- [Mydumper](dev/reference/tools/mydumper.md)
Expand Down Expand Up @@ -180,7 +180,7 @@
- [CSV 支持](dev/reference/tools/tidb-lightning/csv.md)
- [监控告警](dev/reference/tools/tidb-lightning/monitor.md)
- [故障诊断](dev/how-to/troubleshoot/tidb-lightning.md)
- [FAQ](faq/tidb-lightning.md)
- [FAQ](dev/faq/tidb-lightning.md)
+ TiDB Binlog
- [概述](dev/reference/tools/tidb-binlog/overview.md)
- [部署使用](dev/reference/tools/tidb-binlog/deploy.md)
Expand All @@ -189,69 +189,69 @@
- [版本升级](dev/reference/tools/tidb-binlog/upgrade.md)
- [PD Control](dev/reference/tools/pd-control.md)
- [PD Recover](dev/reference/tools/pd-recover.md)
- [TiKV Control](https://github.com/tikv/tikv/blob/master/docs/tools/tikv-control.md)
- [TiKV Control](dev/https://github.com/tikv/tikv/blob/master/docs/tools/tikv-control.md)
- [TiDB Controller](dev/reference/tools/tidb-control.md)
- [工具下载](dev/reference/tools/download.md)
+ 常见问题 (FAQ)
- [TiDB FAQ](faq/tidb.md)
- [TiDB-Lightning FAQ](faq/tidb-lightning.md)
- [升级 FAQ](faq/upgrade.md)
- [TiDB FAQ](dev/faq/tidb.md)
- [TiDB-Lightning FAQ](dev/faq/tidb-lightning.md)
- [升级 FAQ](dev/faq/upgrade.md)
+ 技术支持
- [支持渠道](support-resources.md)
- [反馈问题](report-issue.md)
+ [贡献](contribute.md)
- [贡献代码](contribute.md#成为-tidb-的贡献者)
- [改进文档](contribute.md#改进文档)
- [TiDB 路线图](roadmap.md)
+ [版本发布历史](releases/rn.md)
- [支持渠道](dev/support-resources.md)
- [反馈问题](dev/report-issue.md)
+ [贡献](dev/contribute.md)
- [贡献代码](dev/contribute.md#成为-tidb-的贡献者)
- [改进文档](dev/contribute.md#改进文档)
- [TiDB 路线图](dev/roadmap.md)
+ [版本发布历史](dev/releases/rn.md)
+ v3.0
- [3.0.0-rc.2](releases/3.0.0-rc.2.md)
- [3.0.0-rc.1](releases/3.0.0-rc.1.md)
- [3.0.0-beta.1](releases/3.0.0-beta.1.md)
- [3.0.0-beta](releases/3.0beta.md)
- [3.0.0-rc.2](dev/releases/3.0.0-rc.2.md)
- [3.0.0-rc.1](dev/releases/3.0.0-rc.1.md)
- [3.0.0-beta.1](dev/releases/3.0.0-beta.1.md)
- [3.0.0-beta](dev/releases/3.0beta.md)
+ v2.1
- [2.1.12](releases/2.1.12.md)
- [2.1.11](releases/2.1.11.md)
- [2.1.10](releases/2.1.10.md)
- [2.1.9](releases/2.1.9.md)
- [2.1.8](releases/2.1.8.md)
- [2.1.7](releases/2.1.7.md)
- [2.1.6](releases/2.1.6.md)
- [2.1.5](releases/2.1.5.md)
- [2.1.4](releases/2.1.4.md)
- [2.1.3](releases/2.1.3.md)
- [2.1.2](releases/2.1.2.md)
- [2.1.1](releases/2.1.1.md)
- [2.1 GA](releases/2.1ga.md)
- [2.1 RC5](releases/21rc5.md)
- [2.1 RC4](releases/21rc4.md)
- [2.1 RC3](releases/21rc3.md)
- [2.1 RC2](releases/21rc2.md)
- [2.1 RC1](releases/21rc1.md)
- [2.1 Beta](releases/21beta.md)
- [2.1.12](dev/releases/2.1.12.md)
- [2.1.11](dev/releases/2.1.11.md)
- [2.1.10](dev/releases/2.1.10.md)
- [2.1.9](dev/releases/2.1.9.md)
- [2.1.8](dev/releases/2.1.8.md)
- [2.1.7](dev/releases/2.1.7.md)
- [2.1.6](dev/releases/2.1.6.md)
- [2.1.5](dev/releases/2.1.5.md)
- [2.1.4](dev/releases/2.1.4.md)
- [2.1.3](dev/releases/2.1.3.md)
- [2.1.2](dev/releases/2.1.2.md)
- [2.1.1](dev/releases/2.1.1.md)
- [2.1 GA](dev/releases/2.1ga.md)
- [2.1 RC5](dev/releases/21rc5.md)
- [2.1 RC4](dev/releases/21rc4.md)
- [2.1 RC3](dev/releases/21rc3.md)
- [2.1 RC2](dev/releases/21rc2.md)
- [2.1 RC1](dev/releases/21rc1.md)
- [2.1 Beta](dev/releases/21beta.md)
+ v2.0
- [2.0.11](releases/2.0.11.md)
- [2.0.10](releases/2.0.10.md)
- [2.0.9](releases/209.md)
- [2.0.8](releases/208.md)
- [2.0.7](releases/207.md)
- [2.0.6](releases/206.md)
- [2.0.5](releases/205.md)
- [2.0.4](releases/204.md)
- [2.0.3](releases/203.md)
- [2.0.2](releases/202.md)
- [2.0.1](releases/201.md)
- [2.0](releases/2.0ga.md)
- [2.0 RC5](releases/2rc5.md)
- [2.0 RC4](releases/2rc4.md)
- [2.0 RC3](releases/2rc3.md)
- [2.0 RC1](releases/2rc1.md)
- [1.1 Beta](releases/11beta.md)
- [1.1 Alpha](releases/11alpha.md)
- [2.0.11](dev/releases/2.0.11.md)
- [2.0.10](dev/releases/2.0.10.md)
- [2.0.9](dev/releases/209.md)
- [2.0.8](dev/releases/208.md)
- [2.0.7](dev/releases/207.md)
- [2.0.6](dev/releases/206.md)
- [2.0.5](dev/releases/205.md)
- [2.0.4](dev/releases/204.md)
- [2.0.3](dev/releases/203.md)
- [2.0.2](dev/releases/202.md)
- [2.0.1](dev/releases/201.md)
- [2.0](dev/releases/2.0ga.md)
- [2.0 RC5](dev/releases/2rc5.md)
- [2.0 RC4](dev/releases/2rc4.md)
- [2.0 RC3](dev/releases/2rc3.md)
- [2.0 RC1](dev/releases/2rc1.md)
- [1.1 Beta](dev/releases/11beta.md)
- [1.1 Alpha](dev/releases/11alpha.md)
+ v1.0
- [1.0](releases/ga.md)
- [Pre-GA](releases/prega.md)
- [RC4](releases/rc4.md)
- [RC3](releases/rc3.md)
- [RC2](releases/rc2.md)
- [RC1](releases/rc1.md)
- [1.0](dev/releases/ga.md)
- [Pre-GA](dev/releases/prega.md)
- [RC4](dev/releases/rc4.md)
- [RC3](dev/releases/rc3.md)
- [RC2](dev/releases/rc2.md)
- [RC1](dev/releases/rc1.md)
1 change: 1 addition & 0 deletions architecture.md → dev/architecture.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: TiDB 整体架构
category: introduction
aliases: ['/docs-cn/architecture/']
---

# TiDB 整体架构
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: 如何用 Sysbench 测试 TiDB
category: benchmark
aliases: ['/docs-cn/benchmark/sysbench-v4/','/docs-cn/benchmark/how-to-run-sysbench.md']
---

# 如何用 Sysbench 测试 TiDB
Expand All @@ -9,9 +10,9 @@ category: benchmark

## 测试环境

- [硬件要求](https://pingcap.com/docs/op-guide/recommendation/)
- [硬件要求](/dev/how-to/deploy/hardware-recommendations.md)

- 参考 [TiDB 部署文档](https://pingcap.com/docs/op-guide/ansible-deployment/)部署 TiDB 集群。在 3 台服务器的条件下,建议每台机器部署 1 个 TiDB,1 个 PD,和 1 个 TiKV 实例。关于磁盘,以 32 张表、每张表 10M 行数据为例,建议 TiKV 的数据目录所在的磁盘空间大于 512 GB。
- 参考 [TiDB 部署文档](/dev/how-to/deploy/orchestrated/ansible.md)部署 TiDB 集群。在 3 台服务器的条件下,建议每台机器部署 1 个 TiDB,1 个 PD,和 1 个 TiKV 实例。关于磁盘,以 32 张表、每张表 10M 行数据为例,建议 TiKV 的数据目录所在的磁盘空间大于 512 GB。
对于单个 TiDB 的并发连接数,建议控制在 500 以内,如需增加整个系统的并发压力,可以增加 TiDB 实例,具体增加的 TiDB 个数视测试压力而定。

IDC 机器:
Expand Down Expand Up @@ -76,7 +77,7 @@ block-cache-size = "24GB"
block-cache-size = "6GB"
```

更详细的 TiKV 参数调优请参考 [TiKV 性能参数调优](https://pingcap.com/docs/op-guide/tune-tikv/)。
更详细的 TiKV 参数调优请参考 [TiKV 性能参数调优](/dev/reference/performance/tune-tikv.md)。

## 测试过程

Expand Down
1 change: 1 addition & 0 deletions benchmark/sysbench-v2.md → dev/benchmark/sysbench-v2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: TiDB Sysbench 性能对比测试报告 - v2.0.0 对比 v1.0.0
category: benchmark
aliases: ['/docs-cn/benchmark/sysbench-v2/']
---

# TiDB Sysbench 性能对比测试报告 - v2.0.0 对比 v1.0.0
Expand Down
7 changes: 4 additions & 3 deletions benchmark/sysbench-v3.md → dev/benchmark/sysbench-v3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: TiDB Sysbench 性能对比测试报告 - v2.1 对比 v2.0
category: benchmark
aliases: ['/docs-cn/benchmark/sysbench-v3/']
---

# TiDB Sysbench 性能对比测试报告 - v2.1 对比 v2.0
Expand Down Expand Up @@ -99,7 +100,7 @@ block-cache-size = "20GB"
| v2.0 | 512 | 121350.61 | 11.65 |
| v2.0 | 1024 | 150036.31 | 17.32 |

![point select](../media/sysbench_v3_point_select.png)
![point select](/media/sysbench_v3_point_select.png)

v2.1 比 v2.0 在 Point Select 查询性能上,**提升了 50%**。

Expand All @@ -118,7 +119,7 @@ v2.1 比 v2.0 在 Point Select 查询性能上,**提升了 50%**。
| v2.0 | 512 | 25994.33 | 46.63 |
| v2.0 | 1024 | 27917.52 | 92.42 |

![update non-index](../media/sysbench_v3_update_non_index.png)
![update non-index](/media/sysbench_v3_update_non_index.png)

v2.1 与 v2.0 在 Update Non-Index 写入性能上基本一致。

Expand All @@ -137,6 +138,6 @@ v2.1 与 v2.0 在 Update Non-Index 写入性能上基本一致。
| v2.0 | 512 | 11162.63 | 104.84 |
| v2.0 | 1024 | 12067.63 | 179.94 |

![update index](../media/sysbench_v3_update_index.png)
![update index](/media/sysbench_v3_update_index.png)

v2.1 与 v2.0 在 Update Index 写入性能上基本一致。
1 change: 1 addition & 0 deletions benchmark/sysbench.md → dev/benchmark/sysbench.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: TiDB Sysbench 性能测试报告 - v1.0.0
category: benchmark
draft: true
aliases: ['/docs-cn/benchmark/sysbench/']
---

# TiDB Sysbench 性能测试报告 - v1.0.0
Expand Down
3 changes: 2 additions & 1 deletion benchmark/tpch-v2.md → dev/benchmark/tpch-v2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: TiDB TPC-H 50G 性能测试报告
category: benchmark
aliases: ['/docs-cn/benchmark/tpch-v2/']
---

# TiDB TPC-H 50G 性能测试报告
Expand Down Expand Up @@ -96,7 +97,7 @@ TiDB 2.1:
| 21 | 389.883709908s | 361.034544945s |
| 22 | 64.0494630337s | 65.7153418064s |

![TPC-H Query Result](../media/tpch-query-result-v2.png)
![TPC-H Query Result](media//tpch-query-result-v2.png)

说明:
- 图中橙色为 Release 2.1,蓝色为 Release 2.0,纵坐标是 Query 的处理时间,越低越好
Expand Down
3 changes: 2 additions & 1 deletion benchmark/tpch.md → dev/benchmark/tpch.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: TiDB TPC-H 50G 性能测试报告
category: benchmark
aliases: ['/docs-cn/benchmark/tpch/']
---

# TiDB TPC-H 50G 性能测试报告
Expand Down Expand Up @@ -98,7 +99,7 @@ TiDB 2.0:
| 21 | 31.466s | OOM |
| 22 | 31.539s | 125.471s |

![TPC-H Query Result](../media/tpch-query-result.png)
![TPC-H Query Result](media//tpch-query-result.png)

说明:
- 图中橙色为 Release 1.0,蓝色为 Release 2.0,纵坐标是 Query 的处理时间,越低越好
Expand Down
1 change: 1 addition & 0 deletions contribute.md → dev/contribute.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: 成为贡献者
category: contribute
aliases: ['/docs-cn/contribute/']
---

# 成为贡献者
Expand Down
4 changes: 2 additions & 2 deletions faq/tidb-lightning.md → dev/faq/tidb-lightning.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: TiDB-Lightning 常见问题
category: FAQ
aliases: ['/docs-cn/tools/lightning/faq/']
aliases: ['/docs-cn/tools/lightning/faq/','/docs-cn/faq/tidb-lightning/']
---

# TiDB-Lightning 常见问题
Expand Down Expand Up @@ -51,7 +51,7 @@ mysql> ADMIN CHECKSUM TABLE `schema`.`table`;

## Lightning 支持哪些格式的数据源?

到 v2.1.6 版本为止,只支持本地文档形式的数据源,支持 [mydumper](https://github.com/pingcap/mydumper) 或 [CSV](/dev/reference/tools/tidb-lightning/csv.md) 格式。
到 v2.1.6 版本为止,只支持本地文档形式的数据源,支持 [mydumper](/dev/reference/tools/mydumper.md) 或 [CSV](/dev/reference/tools/tidb-lightning/csv.md) 格式。

## 我已经在下游创建好库和表了,Lightning 可以忽略建库建表操作吗?

Expand Down
Loading