From dev-return-2351-archive-asf-public=cust-asf.ponee.io@tephra.incubator.apache.org Fri May 17 23:17: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 0384B18060F for ; Sat, 18 May 2019 01:17:03 +0200 (CEST) Received: (qmail 20762 invoked by uid 500); 17 May 2019 23:17: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 20751 invoked by uid 99); 17 May 2019 23:17: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:17: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 9D9711828A8 for ; Fri, 17 May 2019 23:17:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -97.999 X-Spam-Level: X-Spam-Status: No, score=-97.999 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, 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 FPp7-m3FwGJQ for ; Fri, 17 May 2019 23:17: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 6C31E5FB24 for ; Fri, 17 May 2019 23:17:01 +0000 (UTC) Received: (qmail 19919 invoked by uid 99); 17 May 2019 23:17: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:17: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 A64D6E0E4C for ; Fri, 17 May 2019 23:17: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 5EA5B20FEB for ; Fri, 17 May 2019 23:17:00 +0000 (UTC) Date: Fri, 17 May 2019 23:17:00 +0000 (UTC) From: "Lars Hofhansl (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= 2800#comment-16842800 ]=20 Lars Hofhansl commented on TEPHRA-299: -------------------------------------- Should I make a final patch and get this committed? (I might still have commit rights... At least I'm still listed as developer= . :) ) > 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)