[ https://issues.apache.org/jira/browse/CASSANDRA-9304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971400#comment-14971400 ]
Tyler Hobbs commented on CASSANDRA-9304: ---------------------------------------- Interesting. The current formatting call stack is very deep and expensive, which is okay for normal cqlsh usage, but could definitely be the bottleneck for {{COPY TO}}. I bet if we pre-fetched the formatting functions for each expected type and stored them in a local list, we could improve those numbers dramatically. I can open another ticket for that when I review your recent changes later today. > COPY TO improvements > -------------------- > > Key: CASSANDRA-9304 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9304 > Project: Cassandra > Issue Type: Improvement > Components: Core > Reporter: Jonathan Ellis > Assignee: Stefania > Priority: Minor > Labels: cqlsh > Fix For: 3.x, 2.1.x, 2.2.x > > > COPY FROM has gotten a lot of love. COPY TO not so much. One obvious > improvement could be to parallelize reading and writing (write one page of > data while fetching the next). -- This message was sent by Atlassian JIRA (v6.3.4#6332)