-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for TimeWindow Compaction Strategy #1432
Comments
raphaelsc
added a commit
to raphaelsc/scylla
that referenced
this issue
Jul 17, 2017
For more details, https://issues.apache.org/jira/browse/CASSANDRA-9666 Fixes scylladb#1432. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
raphaelsc
added a commit
to raphaelsc/scylla
that referenced
this issue
Jul 19, 2017
For more details, https://issues.apache.org/jira/browse/CASSANDRA-9666 Fixes scylladb#1432. Signed-off-by: Raphael S. Carvalho <raphaelsc@scylladb.com>
avikivity
added a commit
that referenced
this issue
Jul 19, 2017
"Time window strategy was introduced to address several limitations of date tiered strategy. In addition, its options are much easier to reason about, basically just window size and window unit. TWCS will work to keep only one sstable in each window. So the only real optimization needed is to align partition key to the window. Size tiered strategy is used to reduce write amplification when compacting the incoming window. For more details: https://issues.apache.org/jira/browse/CASSANDRA-9666 Fixes #1432." * 'twcs_v2' of github.com:raphaelsc/scylla: tests: add tests for time window compaction strategy compaction: wire up time window compaction strategy compaction/twcs: override default values with options in schema sstables: implement time window compaction strategy sstables: import TimeWindowCompactionStrategy.java
@hasmikhail Are there any updates on this? I am using scylla 2.0.1 and when I try to alter my table to use TWCS I get that the strategy isnt found. eg: ALTER TABLE prices WITH compaction = {
'compaction_window_size': '30',
'compaction_window_unit': 'DAYS',
'class': 'TimeWindowCompactionStrategy'}; I get: |
TimeWindowCompactionStrategy will be part of 2.1
…On Tue, Nov 28, 2017 at 9:46 AM, Quinton Pike ***@***.***> wrote:
@hasmikhail <https://github.com/hasmikhail> Are there any updates on
this? I am using scylla 2.0.1 and when I try to alter my table to use TWCS
I get that the strategy isnt found.
eg:
ALTER TABLE prices WITH compaction = {
'compaction_window_size': '30',
'compaction_window_unit': 'DAYS',
'class': 'TimeWindowCompactionStrategy'};
I get: ConfigurationException: Unable to find compaction strategy class
'TimeWindowCompactionStrategy'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1432 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADThCNQqccwVwH35MA8eVnVu0ieg_zKXks5s67o7gaJpZM4JGbXU>
.
|
On Tue, Nov 28, 2017 at 5:46 AM, Quinton Pike ***@***.***> wrote:
@hasmikhail <https://github.com/hasmikhail> Are there any updates on
this? I am using scylla 2.0.1 and when I try to alter my table to use TWCS
I get that the strategy isnt found.
TWCS will be first available in scylla 2.1
… eg:
ALTER TABLE prices WITH compaction = {
'compaction_window_size': '30',
'compaction_window_unit': 'DAYS',
'class': 'TimeWindowCompactionStrategy'};
I get: ConfigurationException: Unable to find compaction strategy class
'TimeWindowCompactionStrategy'
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#1432 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABWAcxxd5k4eDukw--4y_6I6yaQjp26Iks5s67o5gaJpZM4JGbXU>
.
|
@slivne Any rough estimates on 2.1 release date? Thanks for the great work on this project! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
extracted from PR #511
"DTCS will be deprecated, suggest support TWCS , see https://issues.apache.org/jira/browse/CASSANDRA-9666"
cassandra implementation jeffjirsa/cassandra@f966b5b
The text was updated successfully, but these errors were encountered: