From dev-return-2348-apmail-tephra-dev-archive=tephra.apache.org@tephra.incubator.apache.org Tue Apr 16 18:05:04 2019 Return-Path: X-Original-To: apmail-tephra-dev-archive@minotaur.apache.org Delivered-To: apmail-tephra-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 7441D1926A for ; Tue, 16 Apr 2019 18:05:04 +0000 (UTC) Received: (qmail 9481 invoked by uid 500); 16 Apr 2019 18:05:04 -0000 Delivered-To: apmail-tephra-dev-archive@tephra.apache.org Received: (qmail 9450 invoked by uid 500); 16 Apr 2019 18:05: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 9435 invoked by uid 99); 16 Apr 2019 18:05:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Apr 2019 18:05:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 43D06C22C6 for ; Tue, 16 Apr 2019 18:05:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98 X-Spam-Level: X-Spam-Status: No, score=-98 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, RDNS_NONE=3, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 7l8r49keAx13 for ; Tue, 16 Apr 2019 18:05: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 43B5C5FCE2 for ; Tue, 16 Apr 2019 18:05:01 +0000 (UTC) Received: (qmail 9028 invoked by uid 99); 16 Apr 2019 18:05: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; Tue, 16 Apr 2019 18:05: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 68E83E00A5 for ; Tue, 16 Apr 2019 18:05: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 26CED2459C for ; Tue, 16 Apr 2019 18:05:00 +0000 (UTC) Date: Tue, 16 Apr 2019 18:05: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=3D1681= 9350#comment-16819350 ]=20 Lars Hofhansl commented on TEPHRA-299: -------------------------------------- Anybody here? > 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)