From 89254664df264786d925dcf23a2dfd21790c33c9 Mon Sep 17 00:00:00 2001 From: Yohan Wal Date: Mon, 6 Jan 2025 11:54:35 +0800 Subject: [PATCH] docs: change default size (#1426) --- blog/release-0-7-2.md | 2 -- docs/user-guide/deployments/configuration.md | 2 +- .../current/user-guide/deployments/configuration.md | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/blog/release-0-7-2.md b/blog/release-0-7-2.md index 87c61ace7..6a0be4646 100644 --- a/blog/release-0-7-2.md +++ b/blog/release-0-7-2.md @@ -2,8 +2,6 @@ keywords: [release, GreptimeDB, changelog, v0.7.2] description: GreptimeDB v0.7.2 Changelog date: 2024-04-08 -keywords: [release notes, greptimedb, 0.7.2] -description: GreptimeDB 0.7.2 release notes. --- # v0.7.2 diff --git a/docs/user-guide/deployments/configuration.md b/docs/user-guide/deployments/configuration.md index dbaf5501e..650945b8a 100644 --- a/docs/user-guide/deployments/configuration.md +++ b/docs/user-guide/deployments/configuration.md @@ -542,7 +542,7 @@ Available options: | `inverted_index.intermediate_path` | String | `""` | File system path to store intermediate files for external sorting (default `{data_home}/index_intermediate`). | | `inverted_index.metadata_cache_size` | String | `64MiB` | Cache size for inverted index metadata. | | `inverted_index.content_cache_size` | String | `128MiB` | Cache size for inverted index content. | -| `inverted_index.content_cache_page_size`| String | `8MiB` | Page size for inverted index content cache. Inverted index content will be read and cached in page size. Adjust this value to change the granularity of cache and optimize the cache hit rate. | +| `inverted_index.content_cache_page_size`| String | `64KiB` | Page size for inverted index content cache. Inverted index content will be read and cached in page size. Adjust this value to change the granularity of cache and optimize the cache hit rate. | | `memtable.type` | String | `time_series` | Memtable type.
- `time_series`: time-series memtable
- `partition_tree`: partition tree memtable (experimental) | | `memtable.index_max_keys_per_shard` | Integer | `8192` | The max number of keys in one shard.
Only available for `partition_tree` memtable. | | `memtable.data_freeze_threshold` | Integer | `32768` | The max rows of data inside the actively writing buffer in one shard.
Only available for `partition_tree` memtable. | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md index 7f7bdb679..b6cd3f872 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md @@ -531,7 +531,7 @@ fork_dictionary_bytes = "1GiB" | `inverted_index.intermediate_path` | 字符串 | `""` | 存放外排临时文件的路径 (默认 `{data_home}/index_intermediate`). | | `inverted_index.metadata_cache_size` | 字符串 | `64MiB` | 倒排索引元数据缓存大小 | | `inverted_index.content_cache_size` | 字符串 | `128MiB` | 倒排索引文件内容缓存大小 | -| `inverted_index.content_cache_page_size` | 字符串 | `8MiB` | 倒排索引文件内容缓存页大小。倒排索引文件内容以页为单位进行读取和缓存,该配置项用于调整读取和缓存的粒度,优化缓存命中率。 | +| `inverted_index.content_cache_page_size` | 字符串 | `64KiB` | 倒排索引文件内容缓存页大小。倒排索引文件内容以页为单位进行读取和缓存,该配置项用于调整读取和缓存的粒度,优化缓存命中率。 | | `memtable.type` | 字符串 | `time_series` | Memtable type.
- `time_series`: time-series memtable
- `partition_tree`: partition tree memtable (实验性功能) | | `memtable.index_max_keys_per_shard` | 整数 | `8192` | 一个 shard 内的主键数
只对 `partition_tree` memtable 生效 | | `memtable.data_freeze_threshold` | 整数 | `32768` | 一个 shard 内写缓存可容纳的最大行数
只对 `partition_tree` memtable 生效 |