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
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
op-guide: add load data compatibility description
  • Loading branch information
zimulala committed Jan 5, 2017
commit a2916a6f5b7b0184df9e62b4fa8a976098723146
3 changes: 3 additions & 0 deletions op-guide/mysql-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

可以写的再详细些