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 7556117379 for ; Mon, 28 Sep 2015 21:08:04 +0000 (UTC) Received: (qmail 39918 invoked by uid 500); 28 Sep 2015 21:08:04 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 39887 invoked by uid 500); 28 Sep 2015 21:08:04 -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 39877 invoked by uid 99); 28 Sep 2015 21:08:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Sep 2015 21:08:04 +0000 Date: Mon, 28 Sep 2015 21:08:04 +0000 (UTC) From: "Rahul Challapalli (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-3846) Metadata Caching : A count(*) query took more time with the cache in place 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-3846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933994#comment-14933994 ] Rahul Challapalli commented on DRILL-3846: ------------------------------------------ I cannot attach the data set as it is larger than the allowed size limit. Reach out to me if you need more information. > Metadata Caching : A count(*) query took more time with the cache in place > -------------------------------------------------------------------------- > > Key: DRILL-3846 > URL: https://issues.apache.org/jira/browse/DRILL-3846 > Project: Apache Drill > Issue Type: Bug > Components: Metadata > Reporter: Rahul Challapalli > Fix For: 1.2.0 > > > git.commit.id.abbrev=3c89b30 > I have a folder with 10k complex files. The generated cache file is around 486 MB. The below numbers indicate that we regressed in terms of performance when we generated the metadata cache > {code} > 0: jdbc:drill:zk=10.10.100.190:5181> select count(*) from `complex_sparse_50000files`; > +----------+ > | EXPR$0 | > +----------+ > | 1000000 | > +----------+ > 1 row selected (30.835 seconds) > 0: jdbc:drill:zk=10.10.100.190:5181> refresh table metadata `complex_sparse_50000files`; > +-------+---------------------------------------------------------------------+ > | ok | summary | > +-------+---------------------------------------------------------------------+ > | true | Successfully updated metadata for table complex_sparse_50000files. | > +-------+---------------------------------------------------------------------+ > 1 row selected (10.69 seconds) > 0: jdbc:drill:zk=10.10.100.190:5181> select count(*) from `complex_sparse_50000files`; > +----------+ > | EXPR$0 | > +----------+ > | 1000000 | > +----------+ > 1 row selected (47.614 seconds) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)