Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE KEYSPACE identification_prod WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1': '2', 'DC2': '1'} AND durable_writes = false;
- CREATE TABLE identification_prod.uqi (
- i_name text,
- i_value text,
- start_key bigint,
- end_key bigint,
- PRIMARY KEY ((i_name, i_value), start_key, end_key)
- ) WITH CLUSTERING ORDER BY (start_key ASC, end_key ASC)
- AND bloom_filter_fp_chance = 0.01
- AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
- AND comment = ''
- AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'}
- AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
- AND dclocal_read_repair_chance = 0.1
- AND default_time_to_live = 0
- 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_chance = 0.0
- AND speculative_retry = '99.0PERCENTILE';
- CREATE TABLE identification_prod.user_data_idx (
- creation_key bigint,
- page_number int,
- i_name text,
- i_value text,
- PRIMARY KEY ((creation_key, page_number), i_name, i_value)
- ) WITH CLUSTERING ORDER BY (i_name ASC, i_value ASC)
- AND bloom_filter_fp_chance = 0.1
- AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
- AND comment = ''
- AND compaction = {'min_threshold': '4', 'cold_reads_to_omit': '0.0', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'}
- AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
- AND dclocal_read_repair_chance = 0.1
- AND default_time_to_live = 0
- 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_chance = 0.0
- AND speculative_retry = '99.0PERCENTILE';
- CREATE TABLE identification_prod.uqr (
- i_name text,
- i_value text,
- start_key bigint,
- end_key bigint,
- PRIMARY KEY ((i_name, i_value), start_key, end_key)
- ) WITH CLUSTERING ORDER BY (start_key ASC, end_key ASC)
- AND bloom_filter_fp_chance = 0.01
- AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
- AND comment = ''
- AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'}
- AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
- AND dclocal_read_repair_chance = 0.1
- AND default_time_to_live = 0
- 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_chance = 0.0
- AND speculative_retry = '99.0PERCENTILE';
- CREATE TABLE identification_prod.user_data (
- i_name text,
- i_value text,
- type int,
- creation_key bigint,
- input_id text,
- data text,
- identifiers text,
- on_boarded boolean,
- origin text,
- prefix text,
- sub_prefix text,
- PRIMARY KEY ((i_name, i_value), type, creation_key, input_id)
- ) WITH CLUSTERING ORDER BY (type ASC, creation_key ASC, input_id ASC)
- AND bloom_filter_fp_chance = 0.1
- AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
- AND comment = ''
- AND compaction = {'min_threshold': '4', 'cold_reads_to_omit': '0.0', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'}
- AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
- AND dclocal_read_repair_chance = 0.1
- AND default_time_to_live = 0
- 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_chance = 0.0
- AND speculative_retry = '99.0PERCENTILE';
- CREATE TABLE identification_prod.imported_data (
- import_id bigint,
- page_number int,
- i_name text,
- i_value text,
- input_id text,
- data text,
- identifiers text,
- on_boarded boolean,
- origin text,
- prefix text,
- sub_prefix text,
- type int,
- PRIMARY KEY ((import_id, page_number), i_name, i_value, input_id)
- ) WITH CLUSTERING ORDER BY (i_name ASC, i_value ASC, input_id ASC)
- AND bloom_filter_fp_chance = 0.0001
- AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
- AND comment = ''
- AND compaction = {'min_threshold': '4', 'cold_reads_to_omit': '0.00', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32'}
- AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
- AND dclocal_read_repair_chance = 0.1
- AND default_time_to_live = 0
- 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_chance = 0.0
- AND speculative_retry = '99.0PERCENTILE';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement