Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

op-guide: Add load data compatibility description #75

Merged
merged 2 commits into from
Jan 5, 2017

Conversation

zimulala
Copy link
Contributor

@zimulala zimulala commented Jan 5, 2017

No description provided.

@CLAassistant
Copy link

CLAassistant commented Jan 5, 2017

CLA assistant check
All committers have signed the CLA.

@@ -40,3 +40,6 @@ TiDB 实现了 F1 的异步 Schema 变更算法,DDL 执行过程中不会阻

### 事务
TiDB 使用乐观事务模型,在执行 Update、Insert、Delete 等语句时,只有在提交过程中才会检查写写冲突,而不是像 MySQL 一样使用行锁来避免写写冲突。所以业务端在执行 SQL 语句后,需要注意检查 commit 的返回值,即使执行时没有出错,commit的时候也可能会出错。

### Load data
TiDB 在执行 load data 时,默认每 20 万行记录作为一个事务进行持久化存储。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以写的再详细些

@shenli
Copy link
Member

shenli commented Jan 5, 2017

LGTM

@shenli
Copy link
Member

shenli commented Jan 5, 2017

@coocood PTAL

@coocood
Copy link
Member

coocood commented Jan 5, 2017

LGTM

@coocood coocood merged commit d663286 into master Jan 5, 2017
@coocood coocood deleted the zimuxia/load-data branch January 5, 2017 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants