You are on page 1of 2

CREATE TABLE selfcare.

promotional_banner_category (
category text,
lang text,
b_order text,
bannerinfo text,
icon text,
PRIMARY KEY (category, lang)
)WITH additional_write_policy = '99p'
AND bloom_filter_fp_chance = 0.1
AND caching = {'keys': 'ALL', 'rows_per_partition': '10000'}
AND cdc = false
AND comment = ''
AND compaction = {'class':
'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 'enabled': 'true',
'max_threshold': '32', 'min_threshold': '4', 'sstable_size_in_mb': '250',
'tombstone_compaction_interval': '86400', 'tombstone_threshold': '0.4',
'unchecked_tombstone_compaction': 'true'}
AND compression = {'chunk_length_in_kb': '64', 'class':
'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND default_time_to_live = 0
AND extensions = {}
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '88p';

CREATE TABLE selfcare.promotional_banners (


lang text PRIMARY KEY,
metadata text
) WITH additional_write_policy = '99p'
AND bloom_filter_fp_chance = 0.1
AND caching = {'keys': 'ALL', 'rows_per_partition': '10000'}
AND cdc = false
AND comment = ''
AND compaction = {'class':
'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 'enabled': 'true',
'max_threshold': '32', 'min_threshold': '4', 'sstable_size_in_mb': '250',
'tombstone_compaction_interval': '86400', 'tombstone_threshold': '0.4',
'unchecked_tombstone_compaction': 'true'}
AND compression = {'chunk_length_in_kb': '64', 'class':
'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND default_time_to_live = 0
AND extensions = {}
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '88p';

CREATE TABLE selfcare.tbluploadfiles (


id text PRIMARY KEY,
file_name text
) WITH additional_write_policy = '99p'
AND bloom_filter_fp_chance = 0.1
AND caching = {'keys': 'ALL', 'rows_per_partition': '10000'}
AND cdc = false
AND comment = ''
AND compaction = {'class':
'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 'enabled': 'true',
'max_threshold': '32', 'min_threshold': '4', 'sstable_size_in_mb': '250',
'tombstone_compaction_interval': '86400', 'tombstone_threshold': '0.4',
'unchecked_tombstone_compaction': 'true'}
AND compression = {'chunk_length_in_kb': '64', 'class':
'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND default_time_to_live = 0
AND extensions = {}
AND gc_grace_seconds = 864000
AND max_index_interval = 2048
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair = 'BLOCKING'
AND speculative_retry = '88p';

You might also like