blob: 6cb627133c73ce83b5f9ddebccbf96ee5a3c3ecd [file] [log] [blame]
Kishore Reddy, Gujja (kg811t)4ee89672018-03-20 17:15:25 -04001CREATE KEYSPACE IF NOT EXISTS portal
2 WITH REPLICATION = {
3 'class' : 'SimpleStrategy',
4 'replication_factor': 1
5 }
6 AND DURABLE_WRITES = true;
7
8
9CREATE TABLE portal.spring_session (
10 primary_id text PRIMARY KEY,
11 creation_time text,
12 expiry_time text,
13 last_access_time text,
14 max_inactive_interval text,
15 principal_name text,
16 session_id text,
17 vector_ts text
18) WITH bloom_filter_fp_chance = 0.01
19 AND caching = {'keys': 'ALL', 'rows_per_partition': '10'}
20 AND comment = ''
21 AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
22 AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
23 AND crc_check_chance = 1.0
24 AND dclocal_read_repair_chance = 0.1
25 AND default_time_to_live = 0
26 AND gc_grace_seconds = 864000
27 AND max_index_interval = 2048
28 AND memtable_flush_period_in_ms = 0
29 AND min_index_interval = 128
30 AND read_repair_chance = 0.0
31 AND speculative_retry = '99PERCENTILE';
32
33
34CREATE TABLE portal.spring_session_attributes (
35 primary_id text,
36 attribute_name text,
37 attribute_bytes blob,
38 vector_ts text,
39 PRIMARY KEY (primary_id, attribute_name)
40) WITH CLUSTERING ORDER BY (attribute_name ASC)
41 AND bloom_filter_fp_chance = 0.01
42 AND caching = {'keys': 'ALL', 'rows_per_partition': '1'}
43 AND comment = ''
44 AND compaction = {'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}
45 AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
46 AND crc_check_chance = 1.0
47 AND dclocal_read_repair_chance = 0.1
48 AND default_time_to_live = 0
49 AND gc_grace_seconds = 864000
50 AND max_index_interval = 2048
51 AND memtable_flush_period_in_ms = 0
52 AND min_index_interval = 128
53 AND read_repair_chance = 0.0
54 AND speculative_retry = '99PERCENTILE';