Skip to content

Instantly share code, notes, and snippets.

@drewkerrigan
Created June 26, 2012 15:20
Show Gist options
  • Save drewkerrigan/2996398 to your computer and use it in GitHub Desktop.
Save drewkerrigan/2996398 to your computer and use it in GitHub Desktop.
Cassandra CQL Basho Bench Primer
============================= To Clear DB =============================
root@s02:~# ./cqlsh.sh
Connected to basho at localhost:9160.
[cqlsh 2.2.0 | Cassandra 1.1.1 | CQL spec 2.0.0 | Thrift protocol 19.32.0]
Use HELP for help.
cqlsh> use DEMO;
cqlsh:DEMO> truncate test;
cqlsh:DEMO> exit
============================= To Run Insert ===========================
root@s01:~# cd basho_bench
root@s01:~/basho_bench# ./basho_bench softlayer_cassandra_cql_insert_debug.config
INFO: Est. data size: 476.84 MB
INFO: Id: 1, Connected to Cassandra at Host "s02" and Port 9160
INFO: Starting max worker: <0.55.0>
INFO: No Errors.
Test completed after 1 mins.
=INFO REPORT==== 26-Jun-2012::10:14:49 ===
application: basho_bench
exited: stopped
type: permanent
============================= Copy filelist ===========================
root@s01:~/basho_bench# cp tests/current/filelist.txt filelist.txt
============================= To Run Mix ==============================
root@s01:~/basho_bench# ./basho_bench softlayer_cassandra_cql_mix_debug.config
INFO: Est. data size: 476.84 MB
INFO: Id: 1, Connected to Cassandra at Host "s02" and Port 9160
INFO: Starting max worker: <0.55.0>
INFO: No Errors.
Test completed after 1 mins.
=INFO REPORT==== 26-Jun-2012::10:16:43 ===
application: basho_bench
exited: stopped
type: permanent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment