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

Andriy Kolyadenko commented on CASSANDRA-9283:
----------------------------------------------

Hi there,

in my understanding, cross-partition unlogged batches are widely used by 
community for fast hustle free bulk data import into Cassandra.
Other alternative approaches:
- CQLSSTableWriter - much harder to setup and maintain in the program logic
- individual Async writes - much slower than unlogged batch in few nodes setup 
(up to 10 times slower in my observations)
- logged bacth - slower than unlogged batch - (3 times slower in my 
observations)

Is it possible to undeprecate/keep unlogged batch, or develop some other simple 
to use bulk insert API for fast insertion of data?

Thank you.

> Deprecate unlogged batches
> --------------------------
>
>                 Key: CASSANDRA-9283
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9283
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Jonathan Ellis
>            Assignee: T Jake Luciani
>             Fix For: 2.2.0 beta 1
>
>
> Officially mark unlogged batches deprecated.
> Note that the main "good" use case for unlogged batches, of multiple updates 
> in a single partition key, is "free" when done as a logged batch.  So really 
> unlogged batches mainly serve as a honeypot to trick new users into abusing 
> them in misguided bulk loading attempts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to