forked from google/tsviewdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init_perf_keyspace.script
executable file
·38 lines (31 loc) · 1 KB
/
init_perf_keyspace.script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
Invoke this script on a Cassandra server using:
bin/cassandra-cli -f $PATH_TO_SCRIPT
*/
create keyspace perf;
use perf;
/* children: tsviewdb.SourceInfo */
create column family children
with key_validation_class = 'UTF8Type'
and comparator = 'UTF8Type'
and default_validation_class = 'BytesType';
/* aggregates: tsviewdb.Aggregation */
create column family aggregates
with key_validation_class = 'UTF8Type'
and comparator = 'UTF8Type'
and default_validation_class = 'BytesType';
/* points: tsviewdb.Points */
create column family points
with key_validation_class = 'UTF8Type'
and comparator = 'UTF8Type'
and default_validation_class = 'BytesType';
/* configs: string */
create column family configs
with key_validation_class = 'UTF8Type'
and comparator = 'UTF8Type'
and default_validation_class = 'UTF8Type';
/* source: string */
create column family source
with key_validation_class = 'UTF8Type'
and comparator = 'UTF8Type'
and default_validation_class = 'UTF8Type';