Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2ca3928

Browse files
committedJul 23, 2021
Update partitioned-table.md
1 parent fe9fbe9 commit 2ca3928

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎partitioned-table.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -587,13 +587,13 @@ For `HASH` partitioned tables, `COALESCE PARTITION` and `ADD PARTITION` are not
587587

588588
`EXCHANGE PARTITION` works by swapping a partition and a non-partitioned table, similar to how renaming a table like `RENAME TABLE t1 TO t1_tmp, t2 TO t1, t1_tmp TO t2` works.
589589

590-
- As an example: `ALTER TABLE partitioned_table EXCHANGE PARTITION p1 WITH TABLE non_partitioned_table`, swaps the table `non_partitioned_table` with the partition `p1` in the `partitioned_table` table.
590+
For example, `ALTER TABLE partitioned_table EXCHANGE PARTITION p1 WITH TABLE non_partitioned_table` swaps the `non_partitioned_table` table in the `p1` partition with the `partitioned_table` table.
591591

592-
Please be sure that all rows you are exchanging into the partition are matching the partition definition, or else they will not be found and there may be other issues.
592+
Ensure that all rows that you are exchanging into the partition match the partition definition; otherwise, these rows will not be found and cause unexpected issues.
593593

594594
> **Warning:**
595595
>
596-
> - `EXCHANGE PARTITION` is an experimental feature. It is not yet recommended to use it in a production environment. To enable it, set the `tidb_enable_exchange_partition` system variable to `ON`.
596+
> `EXCHANGE PARTITION` is an experimental feature. It is not recommended to use it in a production environment. To enable it, set the `tidb_enable_exchange_partition` system variable to `ON`.
597597
598598
### Range partition management
599599

0 commit comments

Comments
 (0)
Please sign in to comment.