From dev-return-22995-apmail-ignite-dev-archive=ignite.apache.org@ignite.apache.org Wed Jun 21 14:15:11 2017 Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB6961A371 for ; Wed, 21 Jun 2017 14:15:10 +0000 (UTC) Received: (qmail 61254 invoked by uid 500); 21 Jun 2017 14:15:10 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 61207 invoked by uid 500); 21 Jun 2017 14:15:10 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 61145 invoked by uid 99); 21 Jun 2017 14:15:10 -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; Wed, 21 Jun 2017 14:15:10 +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 52F5819270C for ; Wed, 21 Jun 2017 14:15:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-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 HmGp5VaIdfH7 for ; Wed, 21 Jun 2017 14:15:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id A0A165FDE6 for ; Wed, 21 Jun 2017 14:15:07 +0000 (UTC) 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 E10DCE0D55 for ; Wed, 21 Jun 2017 14:15:05 +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 00AD421946 for ; Wed, 21 Jun 2017 14:15:02 +0000 (UTC) Date: Wed, 21 Jun 2017 14:15:02 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: dev@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-5571) Make sure that cache-less execution works as good as cache-based MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vladimir Ozerov created IGNITE-5571: --------------------------------------- Summary: Make sure that cache-less execution works as good as cache-based Key: IGNITE-5571 URL: https://issues.apache.org/jira/browse/IGNITE-5571 Project: Ignite Issue Type: Task Components: sql Reporter: Vladimir Ozerov Assignee: Alexander Paschenko Priority: Critical Fix For: 2.1 Compare the following two methods: 1) {{GridQueryProcessor.querySqlFields}} - old good entry point for query execution; 2) {{GridQueryProcessor.querySqlFieldsNoCache}} - new method for "cache-less" execution. Note how cache context is used in the first method: 1) First, it helps determine whether query can be converted to "local" 2) Second, it gets query parallelism of current cache, and if it differs from {{1}}, then it turns on {{distributedJoins}}. Neither of this happens in the second implementation. Moreover, I had to throw an exception for local queries, as I didn't know how to handle them properly. We need to investigate and fix these two deficiencies somehow. Probably some inputs from [~sergi.vladykin] would be required, to understand what is going on. Our ultimate goal is to make "cache-less" execution as good as the old one. -- This message was sent by Atlassian JIRA (v6.4.14#64029)