Closed keltik85 closed 6 years ago
Looking at the code, I'll try and answer your questions.
By default POCDriver will just insert documents 100% of the time and no do any reads or updates. If you specify other basic operations, they will be run in proportion. For example if you specify -i 10 -k 20 -r 5 -u 15
the total operations is 10+20+5+15 = 50. So for 10/50=20% of the time, POCDriver will do inserts.
You can't really specify different operations per thread. Each thread will loop through doing as many operations as possible - but following the same pattern you specify via basic operations or the -v
workflow option. Note that each thread will only read its own documents - i.e. the ones that it inserted.
The -r
would normally trigger a range query, but since you specified -v
the workflow is run instead. I've just updated the README to make this clearer.
So if you remove the -v
you should see range queries starting to happen.
Does this answer everything?
Thank you for the accurate response.
Thanks for creating this Tool.
I have a few questions regarding its CLI arguments/parameters:
-i 50
do in this case? What is meant by -i,--insertsI would like to insert 100 Documents, update and read them. Additionally I want to read 50 other documents in parallel to the first operation. Which combination of CLI arguments would be appropriate for that case?
What exactly does the parameter
-r 3
do in this case?I guess that the above command should do the following:
-v iuk
=> insert, update and fetch a record as many times as possible per second-r 3
, do additional range queries on the data which has been insertedMy problem is that, the POCDriver does not do any range queries at all, see output:
What did I do wrong or didn't understand correctly?
I hope I could formulate my problem in a understandable manner and you can answer the questions.
Best regards.