Skip to content

Instantly share code, notes, and snippets.

@dyasny
Created January 22, 2019 17:38
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 dyasny/c387db0d8c2252f86ddc2429b1753f06 to your computer and use it in GitHub Desktop.
Save dyasny/c387db0d8c2252f86ddc2429b1753f06 to your computer and use it in GitHub Desktop.
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