Skip to content

Instantly share code, notes, and snippets.

@philip-doctor
Created July 20, 2015 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philip-doctor/a358ffe460d22bc49eb5 to your computer and use it in GitHub Desktop.
Save philip-doctor/a358ffe460d22bc49eb5 to your computer and use it in GitHub Desktop.
cqlsh> use "OpsCenter";
cqlsh:OpsCenter> describe TABLE events;
CREATE TABLE events (
key text,
action bigint,
api_source_ip text,
column_family text,
event_source text,
"keyspace" text,
level bigint,
message text,
source_node text,
success boolean,
target_node text,
time bigint,
user text,
PRIMARY KEY ((key))
) WITH COMPACT STORAGE AND
bloom_filter_fp_chance=0.010000 AND
caching='KEYS_ONLY' AND
comment='{"info": "OpsCenter management data.", "version": [5, 2, 0]}' AND
dclocal_read_repair_chance=0.100000 AND
gc_grace_seconds=864000 AND
index_interval=128 AND
read_repair_chance=0.250000 AND
replicate_on_write='true' AND
populate_io_cache_on_flush='false' AND
default_time_to_live=0 AND
speculative_retry='99.0PERCENTILE' AND
memtable_flush_period_in_ms=0 AND
compaction={'min_threshold': '8', 'class': 'SizeTieredCompactionStrategy', 'max_threshold': '12'} AND
compression={'sstable_compression': 'LZ4Compressor'};
cqlsh:OpsCenter>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment