ttl.md 832 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
---
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
```
A
Draft.  
ana-uvarova 已提交
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

# ALTER TABLE REMOVE TTL

Brief description of what the statement does.

Syntax:

```sql
Syntax of the statement.
```

## Other necessary sections of the description (Optional)

Examples of descriptions with a complicated structure:

- https://clickhouse.tech/docs/en/sql-reference/statements/grant/
- https://clickhouse.tech/docs/en/sql-reference/statements/revoke/
- https://clickhouse.tech/docs/en/sql-reference/statements/select/join/


## See Also (Optional)

Links to related topics as a list.

-   [link](#)