YCSB
YCSB copied to clipboard
[DynamoDB] add support for TTL
Two new configuration option add to support enabling TimeToLive feature on dynamodb backend
-
dynamodb.ttlKey
- name of the ttl key, as configured in table creation -
dynamodb.ttlDuration
- number in seconds from current time, that table would expire
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