Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0V2t-0004xc-QN for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2016 14:23:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0V2t-0003Jw-DD for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2016 14:23:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b0V2s-0003Hg-EA for pgsql-hackers@postgresql.org; Wed, 11 May 2016 14:23:26 +0000 Received: from newmail.postgrespro.ru ([93.174.131.138] helo=mail.postgrespro.ru) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0V2l-0008V7-On for pgsql-hackers@postgresql.org; Wed, 11 May 2016 14:23:25 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id D85D421C8423; Wed, 11 May 2016 17:23:17 +0300 (MSK) Received: from mail.postgrespro.ru ([127.0.0.1]) by localhost (mail.postgrespro.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id myOR-kkn_E5A; Wed, 11 May 2016 17:23:15 +0300 (MSK) Received: from [192.168.27.32] (unknown [192.168.27.1]) by mail.postgrespro.ru (Postfix) with ESMTPSA id BADA521C83F4; Wed, 11 May 2016 17:23:15 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1462976595; bh=LfXSDET6VgbPUh3xmPg+3t47NcknMECvF51kebwSJAo=; h=Subject:To:References:Cc:From:Date:In-Reply-To; b=fCP6OA7Tn0YZz90zc8tyn389Vap9HPikd31bhq2rtBpu14qy/yEyqkR4oPtMHFZ1C q/JrO9Lnh3hcOofwTD05MIX7024GTp3tsGvCsZmfjX/XNmelx/81PrBZmntiazocMf U6TnR3+aWvindwz6ww1Yrb5A7S65KwDdBrCoFx0w= Subject: Re: asynchronous and vectorized execution To: Robert Haas References: <49D1AF71-15BD-42C2-88FD-5E894EE4C5B8@postgrespro.ru> Cc: "pgsql-hackers@postgresql.org" From: Konstantin Knizhnik Message-ID: <5733405A.7060502@postgrespro.ru> Date: Wed, 11 May 2016 17:23:22 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -3.4 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 10.05.2016 20:26, Robert Haas wrote: > At this moment (February) them have implemented translation of only few > PostgreSQL operators used by ExecQuals and do not support aggregates. > Them get about 2 times increase of speed at synthetic queries and 25% > increase at TPC-H Q1 (for Q1 most critical is generation of native code for > aggregates, because ExecQual itself takes only 6% of time for this query). > Actually these 25% for Q1 were achieved not by using dynamic code > generation, but switching from PULL to PUSH model in executor. > It seems to be yet another interesting PostgreSQL executor transformation. > As far as I know, them are going to publish result of their work to open > source... > Interesting. You may notice that in "asynchronous mode" my prototype > works using a push model of sorts. Maybe that should be taken > further. > Latest information from ISP RAS guys: them have made good progress since February: them have rewritten most of methods of Scan, Aggregate and Join to LLVM API. Also then implemented automatic translation of PostgreSQL backend functions to LLVM API. As a result time of TPC-H Q1 query is reduced four times. -- Konstantin Knizhnik Postgres Professional: http://www.postgrespro.com The Russian Postgres Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers