title: InfluxDB : How to update duration of an existing database
body: <p>I have a database created with default <code>retention policy</code> which is <code>infinite</code>.</p>
  
  <p><code># SHOW RETENTION POLICIES ON "my_database"
  name    duration shardGroupDuration replicaN default
  ----    -------- ------------------ -------- -------
  autogen 0s       168h0m0s           1        true
  </code></p>
  
  <p>How I can modify the retention-policy of the live database so that from now it keeps data only for last 10 days?</p>