mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
13 lines
316 B
Markdown
13 lines
316 B
Markdown
|
---
|
||
|
toc_priority: 44
|
||
|
toc_title: TTL
|
||
|
---
|
||
|
|
||
|
### Manipulations with Table TTL {#manipulations-with-table-ttl}
|
||
|
|
||
|
You can change [table TTL](../../../engines/table-engines/mergetree-family/mergetree.md#mergetree-table-ttl) with a request of the following form:
|
||
|
|
||
|
``` sql
|
||
|
ALTER TABLE table-name MODIFY TTL ttl-expression
|
||
|
```
|