Thursday, April 4, 2013

How to test Cassandra

Datastax's Cassandra comes with a stress tester, that can generate data for you.
It is all built in with different kind of parameters.
Here i am generating 1 M rows with 10 columns, readable, random values (up to 1000 values) that are indexed:

cassandra-stress -o INSERT  -n 1000000 -c 10 -U UTF8Type  -C 1000 --create-index=KEYS -r

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.