Skip to content

Commit

Permalink
*: add note in character-set-and-collation; modify a tikv config (pin…
Browse files Browse the repository at this point in the history
…gcap#4100)

* *: add note in character-set-and-collation; modify a tikv config

Signed-off-by: Ran <huangran@pingcap.com>

* Update character-set-and-collation.md

Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>

Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
  • Loading branch information
ran-huang and TomShawn authored Aug 6, 2020
1 parent e62cfa0 commit 2d5030f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion character-set-and-collation.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ mysql> show collation;

> **注意:**
>
> 每个字符集可能对应多个排序规则,但与之对应的**默认排序规则**有且仅有一个
> TiDB 中的默认排序规则(后缀为 `_bin` 的二进制排序规则)与 [MySQL 中的默认排序规则](https://dev.mysql.com/doc/refman/8.0/en/charset-charsets.html)不同,后者通常是一般排序规则,后缀为 `_general_ci`。当用户指定了显式字符集,但依赖于待选的隐式默认排序规则时,这个差异可能导致兼容性问题
利用以下的语句可以查看字符集对应的排序规则(以下是[新的排序规则框架](#新框架下的排序规则支持))下的结果:

Expand Down
4 changes: 2 additions & 2 deletions tikv-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -1050,12 +1050,12 @@ rocksdb defaultcf titan 相关的配置项。
### `level-merge`

+ 是否通过开启 level-merge 来提升读性能,副作用是写放大会比不开启更大。
+ 默认值:true
+ 默认值:false

### `gc-merge-rewrite`

+ 是否开启使用 merge operator 来进行 Titan GC 写回操作,减少 Titan GC 对于前台写入的影响。
+ 默认值:true
+ 默认值:false

## rocksdb.writecf

Expand Down

0 comments on commit 2d5030f

Please sign in to comment.