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: add a waring about multi br importing #6890

Merged
merged 7 commits into from
Aug 25, 2021
Merged
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
8 changes: 8 additions & 0 deletions br/backup-and-restore-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,11 @@ BR 不会备份统计信息(v4.0.9 除外)。所以在恢复存档后需要
BR v4.0.9 备份统计信息使 BR 消耗过多内存,为保证备份过程正常,从 v4.0.10 开始默认关闭备份统计信息的功能。

如果不对表执行 `ANALYZE`,TiDB 会因统计信息不准确而选不中最优化的执行计划。如果查询性能不是重点关注项,可以忽略 `ANALYZE`。

# 是否可以同时启动多个 BR 对单个集群进行恢复?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的 BR 是否有单位呢?集群,实例,节点,还是其他单位呢?

Suggested change
# 是否可以同时启动多个 BR 对单个集群进行恢复?
## 是否可以同时启动多个 BR 对单个集群进行恢复?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

换成了“BR 命令”,用来指代 BR CLI。


**强烈不建议**在单个集群中同时使用多个 BR 进行恢复,原因如下:

1. BR 在恢复时,会修改 PD 的一些全局配置。在多个 BR 同时进行恢复的时候,这些配置可能会被错误地覆写,导致集群状态异常。
2. 同时,因为 BR 在恢复的时候会占用大量集群资源,事实上并行恢复能获得的速度提升也非常有限。
3. 多个 BR 并行恢复的场景没有经过测试,无法保证成功。
YuJuncen marked this conversation as resolved.
Show resolved Hide resolved