LVidal3339
LVidal3339

Reputation: 51

Delete all series vs drop measurement

I want to know what's the difference between doing:

DROP MEASUREMENT A

and

DROP SERIES FROM A

Since all series and points from A are gone after any of those commands, isn't it just the same?

Upvotes: 5

Views: 9655

Answers (1)

AZ-
AZ-

Reputation: 113

https://docs.influxdata.com/influxdb/v1.5/query_language/database_management/#delete-series-with-delete

The DELETE query deletes all points from a series in a database. Unlike DROP SERIES, it does not drop the series from the index and it supports time intervals in the WHERE clause.

Better use workaround to fully clean data

https://github.com/influxdata/influxdb/issues/4275#issuecomment-227219840

Upvotes: 0

Related Questions