cassandra-stress tool
如何进行压测:
#Insert (write) one million rows
bin/cassandra-stress write n=50000 -rate threads=5 -node db1,db2,db3
bin/cassandra-stress write n=50000 -rate threads=5 -node db1,db2,db3
自动创建
a keyspace:
keyspace1
, and tables:
standard1
or
counter1
http://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsCStress.html
http://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsCStressOutput.html