1 CREATE KEYSPACE IF NOT EXISTS portalsdk
3 'class' : 'SimpleStrategy',
4 'replication_factor': 1
6 AND DURABLE_WRITES = true;
9 CREATE TABLE portalsdk.spring_session (
10 primary_id text PRIMARY KEY,
13 last_access_time text,
14 max_inactive_interval text,
18 ) WITH bloom_filter_fp_chance = 0.01
19 AND caching = {'keys': 'ALL', 'rows_per_partition': '10'}
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';
34 CREATE TABLE portalsdk.spring_session_attributes (
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'}
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';