cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Witschey (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9522) Specify unset column ratios in cassandra-stress write
Date Tue, 30 Jun 2015 18:08:05 GMT


Jim Witschey commented on CASSANDRA-9522:

What distributions can you specify via the command line? {{FIXED}} works, but {{UNIFORM}}

$ ./tools/bin/cassandra-stress write n=1000 -rate threads=50 -col n=FIXED\(50\) -insert row-population-ratio=uniform\(5..10\)
Invalid parameter row-population-ratio=uniform(5..10)
$ ./tools/bin/cassandra-stress write n=1000 -rate threads=50 -col n=FIXED\(50\) -insert row-population-ratio=fixed\(1\)/2
# expected stress output

I haven't tried specifying via a yaml file.

> Specify unset column ratios in cassandra-stress write
> -----------------------------------------------------
>                 Key: CASSANDRA-9522
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Jim Witschey
>            Assignee: T Jake Luciani
>             Fix For: 3.0 beta 1
> I'd like to be able to use stress to generate workloads with different distributions
of unset columns -- so, for instance, you could specify that rows will have 70% unset columns,
and on average, a 100-column row would contain only 30 values.
> This would help us test the new row formats introduced in 8099. There are a 2 different
row formats, used depending on the ratio of set to unset columns, and this feature would let
us generate workloads that would be stored in each of those formats.

This message was sent by Atlassian JIRA

View raw message