cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6039) creating sstable by SSTableSimpleUnsortedWriter for CompositeType is too slow.
Date Wed, 25 Sep 2013 12:06:03 GMT

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

Jonathan Ellis commented on CASSANDRA-6039:
-------------------------------------------

Not a whole lot.  You can use smaller cell names so the comparisons are faster.  Or, you could
override getColumnFamily to use an ArrayBackedSortedColumns row instead of TMBSC (and then
be careful to only add cells in sorted order).
                
> creating sstable by SSTableSimpleUnsortedWriter for CompositeType is too slow.
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6039
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6039
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>         Environment: jdk7
>            Reporter: koray sariteke
>
> Creating sstable for composite type is too slow. Dig into code and seems that inserting
into TreeMapBackedSortedColumns takes too much time after a while.
> Similar table is like:
> CREATE TABLE demodb (
>   id long,
>   time long,
>   login int,
>   desc text,
>   active boolean
>   PRIMARY KEY (id, time)
> )
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message