Skip to content

Commit

Permalink
add some config item for PageStorage V3 (pingcap#10844)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidezhu authored Aug 11, 2022
1 parent 06b7979 commit 9e80a0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tiflash/tiflash-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ delta_index_cache_size = 0
## TiFlash 存储引擎的压缩级别,默认为 1。如果 dt_compression_method 设置为 LZ4,推荐将该值设为 1;如果 dt_compression_method 设置为 zstd ,推荐将该值设为 -1 或 1,设置为 -1 的压缩率更小,但是读性能会更好;如果 dt_compression_method 设置为 LZ4HC,推荐将该值设为 9。
dt_compression_level = 1

## 从 v6.2.0 引入,表示 PageStorage 单个数据文件中有效数据的最低比例。当某个数据文件的有效数据比例低于该值时,会触发 GC 对该文件的数据进行整理。默认为 0.5。
dt_page_gc_threshold = 0.5

## 从 v6.2.0 引入,使用线程池处理存储引擎的读请求。默认为 false。
## 警告:目前是实验性功能,不建议在生产环境中使用。
# dt_enable_read_thread = false
Expand Down

0 comments on commit 9e80a0d

Please sign in to comment.