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-4921) improve cqlsh COPY FROM performance
Date Tue, 06 Nov 2012 17:58:13 GMT

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

Jonathan Ellis commented on CASSANDRA-4921:
-------------------------------------------

It looks like we can work around the regexp performance problems simply by omitting them if
params is empty (which it is since cqlsh does its own param substitution).

To do this cleanly we should update cqlsh in 1.1 to be compatible with python-cql master.

However, since 1.1 is unlikely to need further python-cql enhancements, creating a 1.1 branch
with the params fix is also fine.
                
> improve cqlsh COPY FROM performance
> -----------------------------------
>
>                 Key: CASSANDRA-4921
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4921
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.2
>            Reporter: Jonathan Ellis
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 1.1.7, 1.2.0
>
>
> Profiling shows that prepare_inline takes the vast majority of cqlsh COPY FROM time,
particularly on csv rows with many columns.

--
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