Skip to content

Commit

Permalink
correct the bloom filter setting description in Chinese
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangdong huang committed Apr 29, 2020
1 parent e0dd952 commit a4c5d57
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 13 additions & 0 deletions docs/zh/UserGuide/3-Server/4-Config Manual.md
Expand Up @@ -157,6 +157,19 @@
|默认值| 默认为2位。注意:32位浮点数的十进制精度为7位,64位浮点数的十进制精度为15位。如果设置超过机器精度将没有实际意义。|
|改后生效方式|触发生效|


* bloomFilterErrorRate

|名字| bloomFilterErrorRate |
|:---:|:---|
|描述| bloom过滤器的误报率. 在加载元数据之前 Bloom filter 可以检查给定的时间序列是否在 TsFile 中。这可以优化加载元数据的性能,并跳过不包含指定时间序列的 TsFile。如果你想了解更多关于它的细节,你可以参考: [wiki page of bloom filter](https://en.wikipedia.org/wiki/Bloom_filter).|
|类型|浮点数, 范围为(0, 1)|
|默认值| 0.05 |
|改后生效方式|重启生效|




### 引擎层配置

* back\_loop\_period\_in\_second
Expand Down
13 changes: 0 additions & 13 deletions docs/zh/UserGuide/4-Client/5-Programming - TsFile API.md
Expand Up @@ -553,16 +553,3 @@ TSFileConfig config = TSFileDescriptor.getInstance().getConfig();
config.setXXX();
```

## Bloom filter

在加载元数据之前 Bloom filter 可以检查给定的时间序列是否在 TsFile 中。这可以优化加载元数据的性能,并跳过不包含指定时间序列的 TsFile。
如果你想了解更多关于它的细节,你可以参考: [wiki page of bloom filter](https://en.wikipedia.org/wiki/Bloom_filter).

#### 配置

您可以通过修改 TsFileConfig 中的配置项来控制bloom过滤器的误报率:

```
# The acceptable error rate of bloom filter, should be in [0.01, 0.1], default is 0.05
bloomFilterErrorRate=0.05
```

0 comments on commit a4c5d57

Please sign in to comment.