Home > Workload Solutions > Data Analytics > White Papers > Application Modernization for High-Volume Workloads with DataStax > Steps for building and saving the test database
Perform the following steps to build and save the test database:
<CASSANDRA_HOME_DIR>/tools/bin/cassandra-stress user profile=<CASSANDRA_HOME_DIR>/tools/cqlstress-insanity-example.yaml ops\(insert=1\) no-warmup cl=THREE n=total_number_entries -mode native cql3 –pop seq=1..total_number_entries -node <node_IP_address> -rate threads=<number_of_client_threads>
<CASSANDRA_HOME_DIR>/bin/nodetool setcompactionthroughput 0
<CASSANDRA_HOME_DIR>/bin/nodetool flush
<CASSANDRA_HOME_DIR>/bin/nodetool compactionstats
<CASSANDRA_HOME_DIR>/bin/nodetool setcompactionthroughput 16