You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "T Jake Luciani (JIRA)" <ji...@apache.org> on 2015/06/15 15:26:00 UTC

[jira] [Commented] (CASSANDRA-9522) Specify unset column ratios in cassandra-stress write

    [ https://issues.apache.org/jira/browse/CASSANDRA-9522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585915#comment-14585915 ] 

T Jake Luciani commented on CASSANDRA-9522:
-------------------------------------------

The magic ratio seems to be 50%
Would adding the ability to ignore certain columns defined in the schema be good enough?

Like in the column spec of the yaml file you could add ignored: true and stress would just not insert into it.  Then you could do one test with  1/2 of the columns set to ignored = true. and another with 1/2 - 1 set.

> Specify unset column ratios in cassandra-stress write
> -----------------------------------------------------
>
>                 Key: CASSANDRA-9522
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9522
>             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
(v6.3.4#6332)