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

Sylvain Lebresne resolved CASSANDRA-3141.
-----------------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 0.8.8)

Ok, closing this for now. If someone has evidence there is a real need for 
optimization here he can reopen.
                
> SSTableSimpleUnsortedWriter call to ColumnFamily.serializedSize iterate 
> through the whole columns
> -------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3141
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3141
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.3
>            Reporter: Benoit Perroud
>            Priority: Minor
>         Attachments: CachedSizeCF.patch
>
>
> Every time newRow is called, serializedSize iterate through all the columns 
> to compute the size.
> Once 1'000'000 columns exist in the CF, it becomes painfull to do at every 
> iteration the same computation. Caching the size and incrementing when a 
> Column is added could be an option.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to