Skip to content

Commit f85aa0e

Browse files
authored
master: add v8.5.4 info (#21970)
1 parent 9dc3380 commit f85aa0e

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

partitioned-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ ERROR 8264 (HY000): Global Index is needed for index 'a', since the unique index
17041704

17051705
Before the introduction of global indexes, TiDB created a local index for each partition, leading to [a limitation](#partitioning-keys-primary-keys-and-unique-keys) that primary keys and unique keys had to include the partition key to ensure data uniqueness. Additionally, when querying data across multiple partitions, TiDB needed to scan the data of each partition to return results.
17061706

1707-
To address these issues, TiDB introduces the global indexes feature in v8.3.0. A global index covers the data of the entire table with a single index, allowing primary keys and unique keys to maintain global uniqueness without including all partition keys. Moreover, global indexes can access index data across multiple partitions in a single operation instead of looking up the local index for each partition, significantly improving query performance for non-partitioned keys. Starting from v9.0.0, non-unique indexes can also be created as global indexes.
1707+
To address these issues, TiDB introduces the global indexes feature in v8.3.0. A global index covers the data of the entire table with a single index, allowing primary keys and unique keys to maintain global uniqueness without including all partition keys. Moreover, global indexes can access index data across multiple partitions in a single operation instead of looking up the local index for each partition, significantly improving query performance for non-partitioned keys. Starting from v8.5.4 and v9.0.0, non-unique indexes can also be created as global indexes.
17081708

17091709
To create a global index, you can add the `GLOBAL` keyword in the index definition.
17101710

sql-statements/sql-statement-cancel-distribution-job.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: CANCEL DISTRIBUTION JOB
33
summary: An overview of the usage of CANCEL DISTRIBUTION JOB in TiDB.
44
---
55

6-
# CANCEL DISTRIBUTION JOB <span class="version-mark">New in v9.0.0</span>
6+
# CANCEL DISTRIBUTION JOB <span class="version-mark">New in v8.5.4 and v9.0.0</span>
77

88
The `CANCEL DISTRIBUTION JOB` statement is used to cancel a Region scheduling task created using the [`DISTRIBUTE TABLE`](/sql-statements/sql-statement-distribute-table.md) statement in TiDB.
99

sql-statements/sql-statement-distribute-table.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: DISTRIBUTE TABLE
33
summary: An overview of the usage of DISTRIBUTE TABLE for the TiDB database.
44
---
55

6-
# DISTRIBUTE TABLE <span class="version-mark">New in v9.0.0</span>
6+
# DISTRIBUTE TABLE <span class="version-mark">New in v8.5.4 and v9.0.0</span>
77

88
> **Warning:**
99
>

sql-statements/sql-statement-show-distribution-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SHOW DISTRIBUTION JOBS
33
summary: An overview of the usage of SHOW DISTRIBUTION JOBS for the TiDB database.
44
---
55

6-
# SHOW DISTRIBUTION JOBS <span class="version-mark">New in v9.0.0</span>
6+
# SHOW DISTRIBUTION JOBS <span class="version-mark">New in v8.5.4 and v9.0.0</span>
77

88
The `SHOW DISTRIBUTION JOBS` statement shows all current Region distribution jobs.
99

sql-statements/sql-statement-show-table-distribution.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SHOW TABLE DISTRIBUTION
33
summary: An overview of the usage of SHOW TABLE DISTRIBUTION for the TiDB database.
44
---
55

6-
# SHOW TABLE DISTRIBUTION <span class="version-mark">New in v9.0.0</span>
6+
# SHOW TABLE DISTRIBUTION <span class="version-mark">New in v8.5.4 and v9.0.0</span>
77

88
The `SHOW TABLE DISTRIBUTION` statement shows the Region distribution information for a specified table.
99

@@ -27,7 +27,7 @@ TableName ::=
2727

2828
## Examples
2929

30-
Show the Region distribution of the table `t1`:
30+
Show the Region distribution of the table `t`:
3131

3232
```sql
3333
CREATE TABLE `t` (
@@ -37,8 +37,8 @@ CREATE TABLE `t` (
3737
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin
3838
PARTITION BY RANGE (`a`)
3939
(PARTITION `p1` VALUES LESS THAN (10000),
40-
PARTITION `p2` VALUES LESS THAN (MAXVALUE)) |
41-
SHOW TABLE t1 DISTRIBUTIONS;
40+
PARTITION `p2` VALUES LESS THAN (MAXVALUE));
41+
SHOW TABLE t DISTRIBUTIONS;
4242
```
4343

4444
```

ticdc/ticdc-architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ To deploy TiCDC nodes in the new architecture using TiUP, take the following ste
156156
157157
1. If your TiDB cluster does not have TiCDC nodes yet, refer to [Scale out a TiCDC cluster](/scale-tidb-using-tiup.md#scale-out-a-ticdc-cluster) to add new TiCDC nodes in the cluster. Otherwise, skip this step.
158158
159-
2. If your TiDB cluster version is earlier than v8.5.4, you need to manually download the TiCDC binary package of new architecture, and then patch the downloaded file to your TiDB cluster. Otherwise, skip this step.
159+
2. If your TiDB cluster version is earlier than v8.5.4, you need to manually download the TiCDC binary package of the new architecture, and then patch the downloaded file to your TiDB cluster. Otherwise, skip this step.
160160
161161
The download link follows this format: `https://tiup-mirrors.pingcap.com/cdc-${version}-${os}-${arch}.tar.gz`, where `${version}` is the TiCDC version (see [TiCDC releases for the new architecture](https://github.com/pingcap/ticdc/releases) for available versions), `${os}` is your operating system, and `${arch}` is the platform the component runs on (`amd64` or `arm64`).
162162

0 commit comments

Comments
 (0)