YCSB
YCSB copied to clipboard
how to control insert frequency
I want to insert 5 data every 10 seconds,how can I set the config
Unfortunately, it is currently not possible to schedule the requests in that fine grained way.
The threads will always send requests with the highest possible rate but you can limit the maximum throughput via the -target
parameter
thanks, how to limit the maximum throughput via the -target parameter, can you show me a example?
Just put -target 1000
in the LOAD or RUN command, e.g. ./bin/ycsb load mongodb -s -P workloads/workloada -target 1000
and the request rate will throttled to at max 1000 ops/s (depending if the database can provide this throughput )
thanks a lot :)
how to delete data with the tool