Skip to content

Commit

Permalink
*: remove the limit on single column data size (#14291) (#14301)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jun 21, 2023
1 parent e77161c commit 1b0bcab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions data-type-string.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ MEDIUMTEXT [CHARACTER SET charset_name] [COLLATE collation_name]

### `LONGTEXT` 类型

类似于 [`TEXT`](#text-类型),区别在于最大列长度为 4,294,967,295。但由于 [TiDB 单列的限制](/tidb-limitations.md#单列的限制),TiDB 中单列存储最大不超过 6 MB
类似于 [`TEXT`](#text-类型),区别在于最大列长度为 4,294,967,295。但由于 [`txn-entry-size-limit`](/tidb-configuration-file.md#txn-entry-size-limit-从-v50-版本开始引入) 的限制,TiDB 中默认单行存储最大不超过 6 MiB,可通过配置项将该限制调整至 120 MiB

{{< copyable "sql" >}}

Expand Down Expand Up @@ -130,7 +130,7 @@ MEDIUMBLOB

### `LONGBLOB` 类型

类似于 [`BLOB`](#blob-类型),区别在于最大列长度为 4,294,967,295。但由于 [TiDB 单列的限制](/tidb-limitations.md#单列的限制),TiDB 中单列存储最大不超过 6 MB
类似于 [`BLOB`](#blob-类型),区别在于最大列长度为 4,294,967,295。但由于 [`txn-entry-size-limit`](/tidb-configuration-file.md#txn-entry-size-limit-从-v50-版本开始引入) 的限制,TiDB 中默认单行存储最大不超过 6 MiB,可通过配置项将该限制调整至 120 MiB

{{< copyable "sql" >}}

Expand Down
6 changes: 0 additions & 6 deletions tidb-limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ title: TiDB 使用限制
|:----------|:----------|
| Size | 默认为 6MB,可通过 [`txn-entry-size-limit`](/tidb-configuration-file.md#txn-entry-size-limit-从-v50-版本开始引入) 配置项调整 |

## 单列的限制

| 类型 | 最大限制 |
|:----------|:----------|
| Size | 6MB |

## 字符串类型限制

| 类型 | 最大限制 |
Expand Down

0 comments on commit 1b0bcab

Please sign in to comment.