Open fruch opened 2 years ago
Two new configuration option add to support enabling TimeToLive feature on dynamodb backend
dynamodb.ttlKey
dynamodb.ttlDuration
example of usage:
./bin/ycsb load dynamodb -P workloads/workloada -p dynamodb.ttlKey=ttl -p dynamodb.ttlDuration=30 -P dynamodb.properties
Ref: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-how-to.html
Two new configuration option add to support enabling TimeToLive feature on dynamodb backend
dynamodb.ttlKey
- name of the ttl key, as configured in table creationdynamodb.ttlDuration
- number in seconds from current time, that table would expireexample of usage:
Ref: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/time-to-live-ttl-how-to.html