cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Shook (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-11408) simple compaction defaults for common scenarios
Date Wed, 23 Mar 2016 00:23:25 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Shook updated CASSANDRA-11408:
---------------------------------------
    Description: 
As compaction strategies get more flexible over time, some users might prefer to have a simple
named profile for their settings.

{code:title=example, syntax variant|borderStyle=solid}
alter table foo.bar with compaction = 'timeseries-hourly-for-a-week';
{code}

{code:title=example, syntax variant |borderStyle=solid}
alter table foo.bar with compaction = { 'profile' : 'key-value-balanced-ops' };
{code}

These would simply be a map into sets of well-tested and documented defaults across any of
the core compaction strategies.

This would simplify setting up compaction for well-understood workloads, but still allow for
customization where desired.



  was:
As compaction strategies get more flexible over time, some users might prefer to have a simple
named profile for their settings.

For example,
alter table foo.bar with compaction = 'timeseries-hourly-for-a-week';
or, with slightly different syntax:
alter table foo.bar with compaction = { 'profile' : 'key-value-balanced-ops' };

These would simply be a map into sets of well-tested and documented defaults across any of
the core compaction strategies.

This would simplify setting up compaction for well-understood workloads, but still allow for
customization where desired.




> simple compaction defaults for common scenarios
> -----------------------------------------------
>
>                 Key: CASSANDRA-11408
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11408
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Jonathan Shook
>
> As compaction strategies get more flexible over time, some users might prefer to have
a simple named profile for their settings.
> {code:title=example, syntax variant|borderStyle=solid}
> alter table foo.bar with compaction = 'timeseries-hourly-for-a-week';
> {code}
> {code:title=example, syntax variant |borderStyle=solid}
> alter table foo.bar with compaction = { 'profile' : 'key-value-balanced-ops' };
> {code}
> These would simply be a map into sets of well-tested and documented defaults across any
of the core compaction strategies.
> This would simplify setting up compaction for well-understood workloads, but still allow
for customization where desired.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message