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

refactor: adjust index cache page size #5267

Merged
merged 7 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
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
Prev Previous commit
Next Next commit
fix: wrong docs
  • Loading branch information
CookiePieWw committed Jan 2, 2025
commit 43b2786443d465e849989edba5b75b66a56d840a
2 changes: 1 addition & 1 deletion config/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
| `region_engine.mito.inverted_index.mem_threshold_on_create` | String | `auto` | Memory threshold for performing an external sort during index creation.<br/>- `auto`: automatically determine the threshold based on the system memory size (default)<br/>- `unlimited`: no memory limit<br/>- `[size]` e.g. `64MB`: fixed memory threshold |
| `region_engine.mito.inverted_index.intermediate_path` | String | `""` | Deprecated, use `region_engine.mito.index.aux_path` instead. |
| `region_engine.mito.inverted_index.metadata_cache_size` | String | `64MiB` | Cache size for inverted index metadata. |
| `region_engine.mito.inverted_index.content_cache_size` | String | `128KiB` | Cache size for index content. |
| `region_engine.mito.inverted_index.content_cache_size` | String | `128MiB` | Cache size for index content. |
CookiePieWw marked this conversation as resolved.
Show resolved Hide resolved
| `region_engine.mito.inverted_index.content_cache_page_size` | String | `128KiB` | Page size for inverted index content cache. |
CookiePieWw marked this conversation as resolved.
Show resolved Hide resolved
| `region_engine.mito.fulltext_index` | -- | -- | The options for full-text index in Mito engine. |
| `region_engine.mito.fulltext_index.create_on_flush` | String | `auto` | Whether to create the index on flush.<br/>- `auto`: automatically (default)<br/>- `disable`: never |
Expand Down
2 changes: 1 addition & 1 deletion config/datanode.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ intermediate_path = ""
metadata_cache_size = "64MiB"

## Cache size for index content.
CookiePieWw marked this conversation as resolved.
Show resolved Hide resolved
content_cache_size = "128KiB"
content_cache_size = "128MiB"

## Page size for inverted index content cache.
content_cache_page_size = "128KiB"
Expand Down
Loading