Skip to content

Commit

Permalink
Update sql-statements/sql-statement-alter-placement-policy.md
Browse files Browse the repository at this point in the history
Co-authored-by: TomShawn <[email protected]>
  • Loading branch information
xhebox and TomShawn authored Mar 11, 2022
1 parent 47b3c8a commit 89e3c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql-statements/sql-statement-alter-placement-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ summary: TiDB 数据库中 ALTER PLACEMENT POLICY 的使用概况。
`ALTER PLACEMENT POLICY` 用于修改已创建的放置策略。此修改会自动更新至所有绑定这些放置策略的表和分区。

`ALTER PLACEMENT POLICY` *完全替换*之前定义的规则,而不会和之前的规则*合并*,比如在下面的例子中,`FOLLOWERS=4` 就被 `ALTER PLACEMENT POLICY` 语句覆盖了:
`ALTER PLACEMENT POLICY` 会完全替换之前定义的规则,而不会和之前的规则合并,比如在下面的例子中,`FOLLOWERS=4` 就被 `ALTER PLACEMENT POLICY` 语句覆盖了:

```sql
CREATE PLACEMENT POLICY p1 FOLLOWERS=4;
Expand Down

0 comments on commit 89e3c74

Please sign in to comment.