InfluxDB : How to update duration of an existing database

Viewed 10373

I have a database created with default retention policy which is infinite.

# SHOW RETENTION POLICIES ON "my_database" name duration shardGroupDuration replicaN default ---- -------- ------------------ -------- ------- autogen 0s 168h0m0s 1 true

How I can modify the retention-policy of the live database so that from now it keeps data only for last 10 days?

1 Answers
Related