Skip to content

Instantly share code, notes, and snippets.

@DikangGu
Created April 18, 2017 17:48
Show Gist options
  • Save DikangGu/2d47e2e8816f68a25104f67763aec87e to your computer and use it in GitHub Desktop.
Save DikangGu/2d47e2e8816f68a25104f67763aec87e to your computer and use it in GitHub Desktop.
CREATE TABLE shadow3x.thriftkv (
key bigint,
column1 blob,
value blob,
PRIMARY KEY (key, column1)
) WITH COMPACT STORAGE
AND CLUSTERING ORDER BY (column1 ASC)
AND bloom_filter_fp_chance = 0.01
AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
AND comment = ''
AND compaction = {'class': 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy'}
AND compression = {'chunk_length_in_kb': '64', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}
AND crc_check_chance = 1.0
AND dclocal_read_repair_chance = 0.0
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 = 'NONE';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment