-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added schema creation script for convinience
- Loading branch information
zznate
committed
Feb 22, 2011
1 parent
927c903
commit d37c737
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'; |