Re: Why we don't want hints Was: Slow count(*) again... - Mailing list pgsql-performance

From Shaun Thomas
Subject Re: Why we don't want hints Was: Slow count(*) again...
Date
Msg-id 4D5420C6.3030608@peak6.com
Whole thread Raw
In response to Re: Why we don't want hints Was: Slow count(*) again...  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Why we don't want hints Was: Slow count(*) again...  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-performance
On 02/10/2011 11:21 AM, Kevin Grittner wrote:

> Something like this syntax?:
>
> JOIN WITH (correlation_factor=0.3)

I was thinking more:

JOIN foo_tab USING (foo_id) WITH (COST=50)

or something, to exploit the hooks that already exist for functions, for
example. But it's still an interesting concept. Tell the optimizer what
you want and how the data is really related in cases where it's wrong,
and let it figure out the best path.

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com

______________________________________________

See  http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email

pgsql-performance by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Why we don't want hints Was: Slow count(*) again...
Next
From: "Kevin Grittner"
Date:
Subject: Re: Why we don't want hints Was: Slow count(*) again...