-
Notifications
You must be signed in to change notification settings - Fork 51
docs: update database-level compaction options to reflect runtime resolution behavior #2280
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
Conversation
Co-authored-by: fengjiachun <[email protected]>
Co-authored-by: fengjiachun <[email protected]>
Deploying greptime-docs with
|
| Latest commit: |
8fad1cd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://46e8ee0e.greptime-docs.pages.dev |
| Branch Preview URL: | https://copilot-update-docs-database.greptime-docs.pages.dev |
|
@copilot Also need to add the documentation for the latest stable release. |
Co-authored-by: fengjiachun <[email protected]>
Co-authored-by: fengjiachun <[email protected]>
killme2008
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost LGTM
| 您也可以为数据库中的所有表设置默认压缩参数。这些设置将被没有明确设置压缩选项的表继承。参见 [ALTER DATABASE](/reference/sql/alter.md#修改数据库的压缩选项) 获取示例。 | ||
|
|
||
| :::note | ||
| 与存储在表元数据中的表级别设置不同,数据库级别的压缩设置在运行时动态解析。更改数据库级别的压缩选项会立即影响数据库中所有没有明确设置压缩选项的表。此行为类似于[数据库级别的 TTL](/reference/sql/create.md#create-database) 的工作方式。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link of 数据库级别的 TTL in chinese is different.
...gin-content-docs/version-1.0/user-guide/deployments-administration/manage-data/compaction.md
Show resolved
Hide resolved
v0y4g3r
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What's Changed in this PR
Documents behavior change from GreptimeTeam/greptimedb#7402: database-level compaction options now use runtime resolution with inheritance priority (table-level > database-level > defaults), matching TTL behavior.
Key Changes:
compaction.*from "template-only" to "runtime-resolved" category alongside TTLWITH()clauseVersions Updated:
Before:
After:
SHOW CREATE TABLEreflects effective settings including inherited valuesChecklist
sidebars.tsmatches the current document structure when you changed the document structure.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.