Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WZmPA-0006ZE-TO for pgsql-performance@arkaria.postgresql.org; Mon, 14 Apr 2014 19:18:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WZmPA-0006px-CQ for pgsql-performance@arkaria.postgresql.org; Mon, 14 Apr 2014 19:18:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WZmP9-0006pq-IJ for pgsql-performance@postgresql.org; Mon, 14 Apr 2014 19:18:55 +0000 Received: from smtp-outbound-1.vmware.com ([208.91.2.12]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WZmP5-0007YC-Pw for pgsql-performance@postgresql.org; Mon, 14 Apr 2014 19:18:55 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 4CE6E28242; Mon, 14 Apr 2014 12:18:49 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 47410922E6; Mon, 14 Apr 2014 12:18:49 -0700 (PDT) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id E3DB0C0061; Mon, 14 Apr 2014 12:18:41 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Mon, 14 Apr 2014 12:18:40 -0700 (PDT) Message-ID: <534C3496.5000409@vmware.com> Date: Mon, 14 Apr 2014 22:18:46 +0300 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: Stefan Keller , Craig James CC: "pgsql-performance@postgresql.org" Subject: Re: Getting query plan alternatives from query planner? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -7.9 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 04/14/2014 09:36 PM, Stefan Keller wrote: > Who's the elephant in the room who is reluctant to introduce explicit hints? Please read some of the previous discussions on this. Like this, in this very same thread: http://www.postgresql.org/message-id/15381.1395410811@sss.pgh.pa.us I'd like to have explicit hints, *of the kind explained in that message*. Hints that tell the planner what the data distribution is like. Hints to override statistics and heuristics used by the planner. - Heikki -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance