Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 06313200BE4 for ; Wed, 21 Dec 2016 18:12:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 04EBA160B39; Wed, 21 Dec 2016 17:12:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 74B1D160B18 for ; Wed, 21 Dec 2016 18:11:59 +0100 (CET) Received: (qmail 95384 invoked by uid 500); 21 Dec 2016 17:11:58 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 95360 invoked by uid 99); 21 Dec 2016 17:11:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2016 17:11:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5BFD12C0059 for ; Wed, 21 Dec 2016 17:11:58 +0000 (UTC) Date: Wed, 21 Dec 2016 17:11:58 +0000 (UTC) From: "Mehrdad Nurolahzade (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (AURORA-1865) Experiment with Increasing H2 QUERY_CACHE_SIZE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Dec 2016 17:12:00 -0000 [ https://issues.apache.org/jira/browse/AURORA-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehrdad Nurolahzade closed AURORA-1865. --------------------------------------- Resolution: Duplicate > Experiment with Increasing H2 QUERY_CACHE_SIZE > ---------------------------------------------- > > Key: AURORA-1865 > URL: https://issues.apache.org/jira/browse/AURORA-1865 > Project: Aurora > Issue Type: Story > Components: Scheduler > Reporter: Mehrdad Nurolahzade > Priority: Minor > > Aurora scheduler is not setting a value for {{QUERY_CACHE_SIZE}}, therefore it is relying on H2's default cache size of 8 statements. There might be potential performance gain from increasing H2 query cache size ([example discussion thread|https://groups.google.com/forum/#!topic/h2-database/pGG9HA5ckhw]). > Looking at execution count of queries (in {{INFORMATION_SCHEMA.QUERY_STATISTICS}} meta table), selecting host attributes query is repeated 2-3 orders of magnitude more than other queries, giving it a substantial cumulative execution cost. Scheduler needs to ensure all such high frequency statements are always cached. > Verify if increasing {{QUERY_CACHE_SIZE}} positively impacts scheduler performance. -- This message was sent by Atlassian JIRA (v6.3.4#6332)