Skip to content

Instantly share code, notes, and snippets.

@dyasny dyasny/kv.yaml
Created Jan 22, 2019

Embed
What would you like to do?
Key-Value cassandra-stress.yaml
keyspace: kvtest
keyspace_definition: |
CREATE KEYSPACE kvtest WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
table: kvexample
table_definition: |
CREATE TABLE kvexample (
key text,
val text,
PRIMARY KEY (key))
WITH compression = {}
columnspec:
- name: key
size: fixed(8)
population: uniform(1..15M)
- name: val
size: fixed(20K)
insert:
partitions: fixed(1)
batchtype: UNLOGGED
select: fixed(1)/1
queries:
simple1:
cql: select * from kvtexample
fields: samerow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.