Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aiY3A-0002Fk-Pp for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Mar 2016 01:57:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aiY3A-00080j-CE for pgsql-hackers@arkaria.postgresql.org; Wed, 23 Mar 2016 01:57:32 +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 1aiY38-0007zu-SS for pgsql-hackers@postgresql.org; Wed, 23 Mar 2016 01:57:31 +0000 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aiY35-0002n6-OJ for pgsql-hackers@postgresql.org; Wed, 23 Mar 2016 01:57:29 +0000 Received: by mail-wm0-x231.google.com with SMTP id p65so5033149wmp.0 for ; Tue, 22 Mar 2016 18:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=QZodbzrusLiI1fycaz6y6VcNILyGXgbpty4lEUsKkgY=; b=PeDBuwr9TKujeHU2FgVVllFb6+ihP2hSt91IYmL/6VbTp3NIldFXaVbNqsCWHNZj7E E+mfbNYrLyjBPUV/CfZ3a+sA0oDYFd/kd5X7fb5Ih3btdF6NILVeQU2bugrd5EoX26qk 6dNOfauMNmqbacNlR5PV8AfQwPjVGMipefn8aL68c3sanjSuoq0+URp2DpSBYZZexiHk wF0Hmb6tcgqDAjb3zks1w3zYYXYNxvLa94PkJVP2WKbiZNbEYT1HxsAxAF0Ct7Xd3uLx YjTBE74bFVTm32SvBfTzAJWNIuXwWkE9B4GgnOl9OGUT4PM1mwDTih/o9lGZRnoEM+AP KvUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=QZodbzrusLiI1fycaz6y6VcNILyGXgbpty4lEUsKkgY=; b=S8QPyKEoZ3r9i9GHyTiNx+B0GbTvrYVWpwNB1t/h+KasLSWYEGJ0owac3RxXphAs51 GuCHkAoheV7ZPET2kxlvIC5q+Ao87/TA07pr/PKEkm4Wy5nGSx2QQ8G6McsgnbgRG5KQ WLsd1YHsphcub0LemkRCBeX8bxKaJ95LU7uBCCzTcTrp7CEfAYZQPk+rXP1rj4r3OuTF 3zIUH0scrdEjtgeeviMMfa/hgNhql3I2l8jESELLjdkdNNpgSXf/ve6Uj6t3XO/PFqR0 jTUwqNPyR75IZI8gi0jK9a7/zlwsq23LC11JDktmv30tsf2CbKcMcYNBZRwieBjPUJIU MUBg== X-Gm-Message-State: AD7BkJLZuGL8dRJD7X2oR+2X/XfC1PzC3jZSdMmtmjizhQfJhWDHb0/zC0yB7W8U9MUUBP0ZkQywXM8Pbc7KugwHDeQOE+QSBPp6kHw9D9T1NWKhE3upoyGj0UH9lposfwEKN2uvSPzcAIpqkkR6qGvxwhKg0xvIxpHM3/4COODxSdBPIi16XiZ8qLb3NS5kgvAr5jfGFM9B X-Received: by 10.194.105.42 with SMTP id gj10mr295444wjb.49.1458698245555; Tue, 22 Mar 2016 18:57:25 -0700 (PDT) Received: from [10.137.2.17] (ip-78-45-216-26.net.upcbroadband.cz. [78.45.216.26]) by smtp.gmail.com with ESMTPSA id fv6sm157505wjc.12.2016.03.22.18.57.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 22 Mar 2016 18:57:24 -0700 (PDT) Subject: Re: multivariate statistics v14 To: Tatsuo Ishii References: <10036d4a-f52d-6366-1251-367ba2cf51e9@2ndquadrant.com> <20160322.214615.1524680563827969904.t-ishii@sraoss.co.jp> <20160323.105318.2280241638901356703.t-ishii@sraoss.co.jp> Cc: jeff.janes@gmail.com, alvherre@2ndquadrant.com, pgsql-hackers@postgresql.org From: Tomas Vondra Message-ID: Date: Wed, 23 Mar 2016 02:57:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Thunderbird/46.0a2 MIME-Version: 1.0 In-Reply-To: <20160323.105318.2280241638901356703.t-ishii@sraoss.co.jp> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 03/23/2016 02:53 AM, Tatsuo Ishii wrote: >> The users will be able to define statistics with the limitation that >> only a single one (the one covering the most columns referenced by the >> clauses) can be used when estimating a query. Which is not perfect, >> but I think it's a valuable improvement. >> >> It might also be possible to split 0006 into smaller pieces, for >> example implementing the "non-overlapping statistics" case first and >> then extending it to more complicated cases. That might increase the >> change of getting at least some of that into 9.6 ... >> >> But considering it's not clear whether the initial chunks are likely >> to make it into 9.6 - I kinda expect a fair amount of comments from TL >> about the preceding parts, who mentioned he might look at the patch >> this week. So I'm not sure splitting 0006 into smaller pieces makes >> sense at this point. > > Thanks for the explanation. I will look into patch 0001 to 0005 so > that they could get into 9.6. > > In the mean time after applying patch 0001 to 0005 of v16, I get this > while compiling SGML docs. > > openjade:ref/create_statistics.sgml:281:26:X: reference to non-existent ID "SQL-ALTERSTATISTICS" > openjade:ref/drop_statistics.sgml:86:26:X: reference to non-existent ID "SQL-ALTERSTATISTICS" I believe this is because reference.sgml is missing a call to &alterStatistic (per report by Alvaro Herrera). thanks -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers