Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WR069-00085f-Hx for pgsql-performance@arkaria.postgresql.org; Fri, 21 Mar 2014 14:07:01 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WR068-0006nt-QZ for pgsql-performance@arkaria.postgresql.org; Fri, 21 Mar 2014 14:07:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WR067-0006mK-Bm for pgsql-performance@postgresql.org; Fri, 21 Mar 2014 14:06:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WR063-0005S3-QZ for pgsql-performance@postgresql.org; Fri, 21 Mar 2014 14:06:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s2LE6poL015382; Fri, 21 Mar 2014 10:06:51 -0400 From: Tom Lane To: Craig James cc: Atri Sharma , Stefan Keller , "pgsql-performance@postgresql.org" Subject: Re: Getting query plan alternatives from query planner? In-reply-to: References: <15606.1395335330@sss.pgh.pa.us> Comments: In-reply-to Craig James message dated "Fri, 21 Mar 2014 06:34:55 -0700" Date: Fri, 21 Mar 2014 10:06:51 -0400 Message-ID: <15381.1395410811@sss.pgh.pa.us> X-Pg-Spam-Score: -1.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 Craig James writes: > There have been many discussions about adding hints to Postgres over the > years. All have been firmly rejected by the Postgres developers, with > well-argued reasons. Search the archives to learn more about this topic. To clarify: there are good reasons not to like what Oracle calls hints. On the other hand, the concept of hints that tell the planner what selectivity or rowcount to expect (as opposed to trying to control the plan directly) has met with generally more positive reviews. There's no specific design yet, and certainly no implementation roadmap, but I'd not be surprised if we get something like that a few years down the road. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance