You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tephra.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2019/06/09 23:29:00 UTC

[jira] [Resolved] (TEPHRA-299) Executing a large batch delete is very slow

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

Lars Hofhansl resolved TEPHRA-299.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15.0-incubating

> Executing a large batch delete is very slow
> -------------------------------------------
>
>                 Key: TEPHRA-299
>                 URL: https://issues.apache.org/jira/browse/TEPHRA-299
>             Project: Tephra
>          Issue Type: Bug
>    Affects Versions: 0.15.0-incubating
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Major
>             Fix For: 0.15.0-incubating
>
>         Attachments: 299-DOES-NOT_WORK.txt, 299-client-v2.txt, 299-client-v3.txt, 299-client.txt, 299-complete.txt
>
>
> I noticed that batch deletes are quire slow. In the profiler I found that almost all of the time is spent in org.apache.hadoop.hbase.regionserver.wal.FSHLog.blockOnSync().
> Looking at TransactionProcessor.preDelete it is obvious why:
> The batch delete is translated into *single* puts that are added to the region one by one, so each time the WAL is flushed.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)