You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andriy Kolyadenko (JIRA)" <ji...@apache.org> on 2016/08/21 21:35:21 UTC

[jira] [Issue Comment Deleted] (CASSANDRA-9283) Deprecate unlogged batches

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

Andriy Kolyadenko updated CASSANDRA-9283:
-----------------------------------------
    Comment: was deleted

(was: 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)