how to set data expiration policy in DolphinDB

31 Views Asked by At

For the data in DolphinDB DFS databases, how can I set data expiration policy? For example, data before 6 months ago are automatically deleted. Thanks!

1

There are 1 best solutions below

0
On

You can use the setRetentionPolicy function.

https://www.dolphindb.com/help/setRetentionPolicy.html