Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22C5B183E6 for ; Wed, 7 Oct 2015 16:59:27 +0000 (UTC) Received: (qmail 55083 invoked by uid 500); 7 Oct 2015 16:59:27 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 55050 invoked by uid 500); 7 Oct 2015 16:59:27 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 55034 invoked by uid 99); 7 Oct 2015 16:59:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 16:59:27 +0000 Date: Wed, 7 Oct 2015 16:59:26 +0000 (UTC) From: "Mehant Baid (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-3901) Performance regression with doing Explain of COUNT(*) over 100K files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-3901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947212#comment-14947212 ] Mehant Baid commented on DRILL-3901: ------------------------------------ +1. Aman, I agree I think its important to have this fix as part of 1.2 since the degradation is close to 50% and is a regression.Performance issue with caching enabled can be addressed later separately. > Performance regression with doing Explain of COUNT(*) over 100K files > --------------------------------------------------------------------- > > Key: DRILL-3901 > URL: https://issues.apache.org/jira/browse/DRILL-3901 > Project: Apache Drill > Issue Type: Bug > Affects Versions: 1.1.0 > Reporter: Aman Sinha > Assignee: Mehant Baid > Attachments: 0001-DRILL-3901-Don-t-do-early-expansion-of-directory-in-.patch, 0001-DRILL-3901-Don-t-do-early-expansion-of-directory-in-.patch > > > We are seeing a performance regression when doing an Explain of SELECT COUNT(*) over 100K files in a flat directory (no subdirectories) on latest master branch compared to a run that was done on Sept 26. Some initial details (I will have more later): > {code} > master branch on Sept 26 > No metadata cache: 71.452 secs > With metadata cache: 15.804 secs > Latest master branch > No metadata cache: 110 secs > With metadata cache: 32 secs > {code} > So, both cases show regression. > [~mehant] and I took an initial look at this and it appears we might be doing the directory expansion twice. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)