pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: pgsql-performance@postgresql.org
Cc: Bucky Jordan <bjordan@lumeta.com>
Cc: Joshua Marsh <icub3d@gmail.com>
Subject: Re: Hints proposal
Date: Tue, 17 Oct 2006 22:40:19 -0400
Message-ID: <200610172240.20142.xzilla@users.sourceforge.net> (raw)
In-Reply-To: <78ED28FACE63744386D68D8A9D1CF5D4209C9A@MAIL.corp.lumeta.com>
References: <78ED28FACE63744386D68D8A9D1CF5D4209C9A@MAIL.corp.lumeta.com>

On Thursday 12 October 2006 12:40, Bucky Jordan wrote:
> >What is it about hinting that makes it so easily breakable with new
> > versions?  I >don't have any experience with Oracle, so I'm not sure how
> > they screwed logic like >this up.  
>
> I don't have a ton of experience with oracle either, mostly DB2, MSSQL and
> PG. So, I thought I'd do some googling, and maybe others might find this
> useful info.
>
> http://asktom.oracle.com/pls/ask/f?p=4950:8:2177642270773127589::NO::F4950_
>P8_DISPLAYID,F4950_P8_CRITERIA:7038986332061
>
> Interesting quote: "In Oracle Applications development (11i apps - HR, CRM,
> etc) Hints are strictly forbidden.  We find the underlying cause and fix
> it." and "Hints -- only useful if you are in RBO and you want to make use
> of an access path."
>
> Maybe because I haven't had access to hints before, I've never been tempted
> to use them. However, I can't remember having to re-write SQL due to a PG
> upgrade either.
>

When it happens it tends to look something like this:
http://archives.postgresql.org/pgsql-performance/2006-01/msg00154.php

Funny that for all the people who claim that improving the planner should be 
the primary goal that no one ever took interest in the above case.  

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL



view thread (74+ messages)  latest in thread

Message-ID: <200610172240.20142.xzilla@users.sourceforge.net>
Permalink:  ../200610172240.20142.xzilla@users.sourceforge.net/
Also on:    postgresql.org/message-id/200610172240.20142.xzilla@users.sourceforge.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: xzilla@users.sourceforge.net, bjordan@lumeta.com, icub3d@gmail.com
  Subject: Re: Hints proposal
  In-Reply-To: <200610172240.20142.xzilla@users.sourceforge.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox