![](/img/trans.png)
[英]How to use correctly cassandra-stress tool in user profile mode?
[英]Is there a way to control the set of values for cassandra-stress?
我正在嘗試測試具有一組帶有十六進制值的表的集群。
有沒有辦法指示 cassandra-stress 使用十六進制值?
當前列規范(相關部分)如下所示:
columnspec:
- name: enduser
size: fixed(32)
population: uniform(1..300000)
- name: device
size: fixed(32)
population: uniform(1..20)
- name: hash
size: fixed(32)
population: uniform(1..20)
我找不到將 columnspec 設置為一組字符的方法,或以任何方式控制為總體設置的值。
cassandra-stress 在控制值的生成方面的能力非常有限。 我建議不要使用它,而是推薦使用NoSQLBench - 它在幾個月前是開源的,並且性能和靈活性更高,可以更好地控制生成的值。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.