Created
January 22, 2019 17:38
-
-
Save dyasny/c387db0d8c2252f86ddc2429b1753f06 to your computer and use it in GitHub Desktop.
Key-Value cassandra-stress.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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