1

删除数据库的保留策略,默认为 true。在这种情况下,数据库保留策略会发生什么变化?

  1. > show retention policies on market
    name       duration shardGroupDuration replicaN default
    ----       -------- ------------------ -------- -------
    autogen    0s       168h0m0s           1        false
    exem_rp    672h0m0s 1h0m0s             1        true
    
  2. 第2步

    > drop retention policy exem_rp on market
    > show retention policies on market
    name       duration shardGroupDuration replicaN default
    ----       -------- ------------------ -------- -------
    autogen    0s       168h0m0s           1        false
    
4

0 回答 0