Skip to content

Commit

Permalink
added schema creation script for convinience
Browse files Browse the repository at this point in the history
  • Loading branch information
zznate committed Feb 22, 2011
1 parent 927c903 commit d37c737
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions stress-schema.txt
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,15 @@
create keyspace StressKeyspace
with replication_factor = 1
and placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy';

use StressKeyspace;
drop column family StressStandard;
create column family StressStandard
with comparator = UTF8Type
and keys_cached = 10000
and memtable_flush_after = 1440
and memtable_throughput = 32;

create keyspace Tutorial
with replication_factor = 2
and placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy';

0 comments on commit d37c737

Please sign in to comment.