diff --git a/README.md b/README.md index 29da16b24..4310c5721 100644 --- a/README.md +++ b/README.md @@ -616,10 +616,10 @@ The delete API is intended mainly for the following cases: It isn't recommended using delete API for the following cases, since it brings non-zero overhead: -* Regular cleanups for unneded data. Just prevent writing unneeded data into VictoriaMetrics. +* Regular cleanups for unneeded data. Just prevent writing unneeded data into VictoriaMetrics. This can be done with relabeling in [vmagent](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/app/vmagent/README.md). See [this article](https://www.robustperception.io/relabelling-can-discard-targets-timeseries-and-alerts) for details. -* Reducing disk space usage by deleting unneded time series. This doesn't work as expected, since the deleted +* Reducing disk space usage by deleting unneeded time series. This doesn't work as expected, since the deleted time series occupy disk space until the next merge operation, which can never occur when deleting too old data. It is better using `-retentionPeriod` command-line flag for efficient pruning of old data. diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 29da16b24..4310c5721 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -616,10 +616,10 @@ The delete API is intended mainly for the following cases: It isn't recommended using delete API for the following cases, since it brings non-zero overhead: -* Regular cleanups for unneded data. Just prevent writing unneeded data into VictoriaMetrics. +* Regular cleanups for unneeded data. Just prevent writing unneeded data into VictoriaMetrics. This can be done with relabeling in [vmagent](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/app/vmagent/README.md). See [this article](https://www.robustperception.io/relabelling-can-discard-targets-timeseries-and-alerts) for details. -* Reducing disk space usage by deleting unneded time series. This doesn't work as expected, since the deleted +* Reducing disk space usage by deleting unneeded time series. This doesn't work as expected, since the deleted time series occupy disk space until the next merge operation, which can never occur when deleting too old data. It is better using `-retentionPeriod` command-line flag for efficient pruning of old data.