mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Documenting MergeTree's ttl_only_drop_parts setting, and updating reference to it.
This commit is contained in:
parent
6aa2fe525e
commit
cad22e7a2d
@ -684,8 +684,7 @@ If you perform the `SELECT` query between merges, you may get expired data. To a
|
|||||||
|
|
||||||
**See Also**
|
**See Also**
|
||||||
|
|
||||||
- [ttl_only_drop_parts](/docs/en/operations/settings/settings.md/#ttl_only_drop_parts) setting
|
- [ttl_only_drop_parts](/docs/en/operations/settings/merge-tree-settings#ttl_only_drop_parts) setting
|
||||||
|
|
||||||
|
|
||||||
## Disk types
|
## Disk types
|
||||||
|
|
||||||
|
@ -78,6 +78,16 @@ If `min_merge_bytes_to_use_direct_io = 0`, then direct I/O is disabled.
|
|||||||
|
|
||||||
Default value: `10 * 1024 * 1024 * 1024` bytes.
|
Default value: `10 * 1024 * 1024 * 1024` bytes.
|
||||||
|
|
||||||
|
## ttl_only_drop_parts
|
||||||
|
|
||||||
|
Controls whether data parts are fully dropped in MergeTree tables when all rows in that part have expired according to their `TTL` settings.
|
||||||
|
|
||||||
|
When `ttl_only_drop_parts` is disabled (by default), only the rows that have expired based on their TTL settings are removed.
|
||||||
|
|
||||||
|
When `ttl_only_drop_parts` is enabled, the entire part is dropped if all rows in that part have expired according to their `TTL` settings.
|
||||||
|
|
||||||
|
Default value: 0.
|
||||||
|
|
||||||
## merge_with_ttl_timeout
|
## merge_with_ttl_timeout
|
||||||
|
|
||||||
Minimum delay in seconds before repeating a merge with delete TTL.
|
Minimum delay in seconds before repeating a merge with delete TTL.
|
||||||
|
Loading…
Reference in New Issue
Block a user