This repository was archived by the owner on Jan 3, 2025. It is now read-only.
zh: update TOC and error-handling.md#111
Merged
Merged
Conversation
csuzhangxc
reviewed
Jun 15, 2020
csuzhangxc
reviewed
Jun 15, 2020
Co-authored-by: Xuecheng Zhang <csuzhangxc@gmail.com>
Contributor
|
@csuzhangxc, @toutdesuite, PTAL. |
toutdesuite
reviewed
Jun 17, 2020
|
|
||
| ### load 处理单元报错 `packet for query is too large. Try adjusting the 'max_allowed_packet' variable` | ||
|
|
||
| #### 原因 |
Contributor
There was a problem hiding this comment.
建议与之前的格式保持一致,统一加 heading,或统一不加
|
|
||
| * MySQL client 和 MySQL/TiDB Server 都有 `max_allowed_packet` 配额的限制,如果在使用过程中违反其中任何一个 `max_allowed_packet` 配额,客户端程序就会收到对应的报错。目前最新版本的 DM 和 TiDB Server 的默认 `max_allowed_packet` 配额都为 `64M`。 | ||
|
|
||
| * DM 的全量数据导入处理模块不支持对 dump sqls 文件进行切分,原因是 DM 的 dump 处理单元采用了最简单的编码实现,,如果在 DM 实现文件切分,那么需要在 `TiDB parser` 基础上实现一个完备的解析器才能正确的处理数据切分,但是随之会带来以下的问题: |
Contributor
There was a problem hiding this comment.
Suggested change
| * DM 的全量数据导入处理模块不支持对 dump sqls 文件进行切分,原因是 DM 的 dump 处理单元采用了最简单的编码实现,,如果在 DM 实现文件切分,那么需要在 `TiDB parser` 基础上实现一个完备的解析器才能正确的处理数据切分,但是随之会带来以下的问题: | |
| * DM 的全量数据导入处理模块不支持对 dump 处理模块导出的 SQL 文件进行切分。因为 DM 的 dump 处理单元采用了最简单的编码实现,如果在 DM 实现文件切分,需要在 `TiDB Parser` 基础上实现一个完备的解析器才能正确的处理数据切分。但是随之会带来以下的问题: |
Contributor
Author
There was a problem hiding this comment.
dump sqls 是指 dump 处理单元导出的 sql 文件,要不改成这样:
DM 的全量数据导入处理模块不支持对 dump 处理模块导出的 SQL 文件进行切分。因为 DM 的 dump 处理单元采用了最简单的编码实现,如果在 DM 实现文件切分,需要在 `TiDB Parser` 基础上实现一个完备的解析器才能正确的处理数据切分。但是随之会带来以下的问题:
Co-authored-by: toutdesuite <guizhiluo2014@163.com>
Co-authored-by: toutdesuite <guizhiluo2014@163.com>
Contributor
|
@csuzhangxc, @toutdesuite, PTAL. |
1 similar comment
Contributor
|
@csuzhangxc, @toutdesuite, PTAL. |
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is changed, added or deleted? (Required)