I am trying to understand and interpret the benchmark which is provided from CrateDB. (https://staging.crate.io/benchmark/)
I am interested on how many elements can be inserted during one second. I know that this may vary on the size of the tuples. And I would define that I have the same ements-sizes as CrateDB uses in their exmpale.
They provide an exmaple for bulk-insertion and there it takes on average 50 milliseconds to insert a bulk of 10.000 (integer/string pairs).
Now, can I calculate that it is possible to insert 20 bulks of 10.000 pairs during 1s (1000 milliseconds)?
1000ms/50ms = 20 -> 20*10000 = 200000 -> 200000 integer/string pairs per second
Can I say how the result would differ, if i have 7 integers and 2 decimals(7,4)?
答案 0 :(得分:1)
好吧:https://staging.crate.io/benchmark/只能与自身相媲美,因此它会显示代码更改/功能是否使CrateDB更慢/更快。它不是实际基准测试的可靠来源,并且不会给你可比数字(除了其他因素,因为设置是香草)。
至于你的问题,我建议运行你自己的基准来满足你的任何要求。
我们用于这些基准测试的工具是来自我们的核心开发人员的cr8!
干杯,克劳斯