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

Enable prefix bloom filter by default #1012

Merged
Merged
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ Storage服务提供了两份初始配置文件`nebula-storaged.conf.default`和`
|`rocksdb_compression_per_level` | - | 为不同级别设置不同的压缩算法。 |
|`enable_rocksdb_statistics` | `false` | 是否启用RocksDB的数据统计。 |
|`rocksdb_stats_level` | `kExceptHistogramOrTimers` | RocksDB的数据统计级别。可选值为`kExceptHistogramOrTimers`(禁用计时器统计,跳过柱状图统计)、`kExceptTimers`(跳过计时器统计)、`kExceptDetailedTimers`(收集除互斥锁和压缩花费时间之外的所有统计数据)、`kExceptTimeForMutex`收集除互斥锁花费时间之外的所有统计数据)和`kAll`(收集所有统计数据)。 |
|`enable_rocksdb_prefix_filtering` | `false` | 是否启用prefix bloom filter (内存充裕时可以打开,提升图遍历速度)。 |
|`enable_rocksdb_whole_key_filtering` | `true` | 是否启用whole key bloom filter。 |
|`enable_rocksdb_prefix_filtering` | `true` | 是否启用prefix bloom filter,启用时可以提升图遍历速度,但是会增加内存消耗。 |
|`enable_rocksdb_whole_key_filtering` | `false` | 是否启用whole key bloom filter。 |
|`rocksdb_filtering_prefix_length` | `12` | 每个key的prefix长度。可选值为`12`(分片ID+点ID)和`16`(分片ID+点ID+TagID/Edge typeID)。单位:字节。 |
|`enable_partitioned_index_filter`|- |设置为`true`可以降低bloom过滤器占用的内存大小,但是在某些随机寻道(random-seek)的情况下,可能会降低读取性能。|

Expand Down