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

br: incorrect description of batch create table #12274

Merged
merged 1 commit into from
Dec 12, 2022
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions br/br-batch-create-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ summary: 了解如何使用批量建表功能。在恢复备份数据时,可

Backup & Restore (BR) 默认开启批量建表功能,在 v6.0.0 或以上版本中默认设置了 `--ddl-batch-size=128`(以 128 张表为一批,并发创建多批表),以加快恢复时的建表速度。因此,你不需要额外配置该参数。

如果需要关闭此功能,你可以参考以下命令将 `--ddl-batch-size` 的值设置为 `0`:
如果需要关闭此功能,你可以参考以下命令将 `--ddl-batch-size` 的值设置为 `1`:

```shell
br restore full \
--storage local:///br_data/ --pd "${PD_IP}:2379" --log-file restore.log \
--ddl-batch-size=0
--ddl-batch-size=1
```

关闭批量建表功能后,BR 会采用原来的[串行建表方案](#实现原理)。
Expand Down