Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wudi committed Apr 20, 2023
1 parent c4e469c commit 62d7110
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/docs/data-operate/update-delete/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ The main reason for this is that Doris currently supports row updates, which mea
This presents a problem in that if two Update operations update the same row at the same time, the behavior may be indeterminate. That is, there may be dirty data.

However, in practice, the concurrency limit can be turned on manually if the user himself can guarantee that even if concurrent updates are performed, they will not operate on the same row at the same time. This is done by modifying the FE configuration ``enable_concurrent_update``. When the configuration value is true, there is no limit on concurrent updates.
> Note: After enabling the configuration, there will be certain performance risks. You can refer to the performance section above to improve update efficiency.
## Risks of use

Expand Down
1 change: 1 addition & 0 deletions docs/zh-CN/docs/data-operate/update-delete/update.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Update 语句的性能和待更新的行数以及 condition 的检索效率密
这就会存在一个问题,如果同时有两个 Update 操作对同一行进行更新,那么其行为可能是不确定的,也就是可能存在脏数据。

但在实际应用中,如果用户自己可以保证即使并发更新,也不会同时对同一行进行操作的话,就可以手动打开并发限制。通过修改 FE 配置 `enable_concurrent_update`,当配置值为 true 时,则对更新并发无限制。
>注:开启配置后,会有一定的性能风险,可参考上面的性能小节部分,提升更新效率。
## 使用风险

Expand Down

0 comments on commit 62d7110

Please sign in to comment.