Skip to content

docs: update SST metadata cache default#2622

Open
waynexia with Copilot wants to merge 2 commits into
mainfrom
copilot/update-docs-enlarge-file-meta-cache
Open

docs: update SST metadata cache default#2622
waynexia with Copilot wants to merge 2 commits into
mainfrom
copilot/update-docs-enlarge-file-meta-cache

Conversation

Copilot AI commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

What's Changed in this PR

  • SST metadata cache: Update nightly English and Chinese configuration references to the new automatic default: min(1/8 of OS memory, 512MB).
sst_meta_cache_size = "512MB"

Checklist

  • Please confirm that all corresponding versions of the documents have been revised.
  • Please ensure that the content in sidebars.ts matches the current document structure when you changed the document structure.
  • This change requires follow-up update in localized docs.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploying greptime-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0031f54
Status: ✅  Deploy successful!
Preview URL: https://3d1659d4.greptime-docs.pages.dev
Branch Preview URL: https://copilot-update-docs-enlarge.greptime-docs.pages.dev

View logs

Copilot AI changed the title [WIP] Update documentation for enlarging file meta cache docs: update SST metadata cache default Jul 14, 2026
Copilot AI requested a review from waynexia July 14, 2026 07:24
@waynexia
waynexia marked this pull request as ready for review July 14, 2026 08:09
| `global_write_buffer_size` | String | `1GB` | Global write buffer size for all regions. If not set, it's default to 1/8 of OS memory with a max limitation of 1GB. |
| `global_write_buffer_reject_size` | String | `2GB` | Global write buffer size threshold to reject write requests. If not set, it's default to 2 times of `global_write_buffer_size` |
| `sst_meta_cache_size` | String | `128MB` | Cache size for SST metadata. Setting it to 0 to disable the cache.<br/>If not set, it's default to 1/32 of OS memory with a max limitation of 128MB. |
| `sst_meta_cache_size` | String | `512MB` | Cache size for SST metadata. Setting it to 0 to disable the cache.<br/>If not set, it's default to 1/8 of OS memory with a max limitation of 512MB. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use Auto here (and 自动 in the Chinese mirror) instead of 512MB? The runtime default is min(OS memory / 8, 512MB), so hosts with less than 4 GiB of memory get a smaller value. The generated GreptimeDB config reference also marks this field as Auto; listing the cap as the default makes the auto-sized value look fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update docs for feat: enlarge file meta cache

3 participants