From dev-return-2352-archive-asf-public=cust-asf.ponee.io@tephra.incubator.apache.org Fri May 17 23:25:04 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id BE04E18060F for ; Sat, 18 May 2019 01:25:03 +0200 (CEST) Received: (qmail 35308 invoked by uid 500); 17 May 2019 23:25:03 -0000 Mailing-List: contact dev-help@tephra.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tephra.incubator.apache.org Delivered-To: mailing list dev@tephra.incubator.apache.org Received: (qmail 35297 invoked by uid 99); 17 May 2019 23:25:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2019 23:25:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 91CE81828A8 for ; Fri, 17 May 2019 23:25:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -97.199 X-Spam-Level: X-Spam-Status: No, score=-97.199 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, KAM_ASCII_DIVIDERS=0.8, RDNS_NONE=3, SPF_HELO_NONE=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id I3b-WPHbxtd3 for ; Fri, 17 May 2019 23:25:01 +0000 (UTC) Received: from mail.apache.org (unknown [10.10.3.133]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with SMTP id 3ECA25F300 for ; Fri, 17 May 2019 23:25:01 +0000 (UTC) Received: (qmail 34821 invoked by uid 99); 17 May 2019 23:25:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2019 23:25:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6F5FAE0E4C for ; Fri, 17 May 2019 23:25:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 24E31256C1 for ; Fri, 17 May 2019 23:25:00 +0000 (UTC) Date: Fri, 17 May 2019 23:25:00 +0000 (UTC) From: "Andreas Neumann (JIRA)" To: dev@tephra.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEPHRA-299) Executing a large batch delete is very slow MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TEPHRA-299?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1684= 2802#comment-16842802 ]=20 Andreas Neumann commented on TEPHRA-299: ---------------------------------------- Please go ahead. Looks like [~poornachandra]=C2=A0already reviewed and appr= oved it.=C2=A0 > 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 > Attachments: 299-DOES-NOT_WORK.txt, 299-client-v2.txt, 299-client= -v3.txt, 299-client.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.wa= l.FSHLog.blockOnSync(). > Looking at TransactionProcessor.preDelete it is obvious why: > The batch delete is translated into *single* puts that are added to the r= egion one by one, so each time the WAL is flushed. > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)