Skip to content

Commit 526d98b

Browse files
authored
Merge pull request #3757 from mrnonz/patch-1
Update overview.md
2 parents 5532e20 + 46ef781 commit 526d98b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/managing-data/deleting-data/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here is a summary of the different ways to delete data in ClickHouse:
2121
Lightweight deletes cause rows to be immediately marked as deleted such that they can be automatically filtered out of all subsequent `SELECT` queries. Subsequent removal of these deleted rows occurs during natural merge cycles and thus incurs less I/O. As a result, it is possible that for an unspecified period, data is not actually deleted from storage and is only marked as deleted. If you need to guarantee that data is deleted, consider the above mutation command.
2222

2323
```sql
24-
-- delete all data from 2018 with a mutation. Not recommended.
24+
-- delete all data from 2018 with a lightweight delete. Not recommended.
2525
DELETE FROM posts WHERE toYear(CreationDate) = 2018
2626
```
2727

0 commit comments

Comments
 (0)