Re: [PERFORM] query plan worse after analyze

2007-10-07 Thread Richard Broersma Jr
--- Stephen Frost <[EMAIL PROTECTED]> wrote: > (perhaps a > pastebin like http://pgsql.privatepaste.com) instead of or in addition > to sending it in the email. It this new? I don't remember seeing this used before. Regards, Richard Broersma Jr. ---(end of broadcast)

Re: [PERFORM] query plan worse after analyze

2007-10-06 Thread Alvaro Herrera
Stephen Frost wrote: > * Jeff Frost ([EMAIL PROTECTED]) wrote: > > Here are the plans: > > It's probably just me but, honestly, I find it terribly frustrating to > try and read a line-wrapped explain-analyze output... I realize it > might not be something you can control in your mailer, but you m

Re: [PERFORM] query plan worse after analyze

2007-10-05 Thread Jeff Frost
On Sat, 6 Oct 2007, Tom Lane wrote: "Jeff Frost" <[EMAIL PROTECTED]> writes: Before analyze it seems to choose Bitmap Heap Scan on episodes current_episode, but after it chooses Index Scan Backward using index_episodes_on_publish_on on episodes current_episode. Have you tried raising the stat

Re: [PERFORM] query plan worse after analyze

2007-10-05 Thread Tom Lane
"Jeff Frost" <[EMAIL PROTECTED]> writes: > Before analyze it seems to choose Bitmap Heap Scan on episodes > current_episode, but after it chooses Index Scan Backward using > index_episodes_on_publish_on on episodes current_episode. Have you tried raising the stats target for "episodes"? Seems lik

Re: [PERFORM] query plan worse after analyze

2007-10-05 Thread Jeff Frost
On Fri, 5 Oct 2007, Stephen Frost wrote: * Jeff Frost ([EMAIL PROTECTED]) wrote: Here are the plans: It's probably just me but, honestly, I find it terribly frustrating to try and read a line-wrapped explain-analyze output... I realize it might not be something you can control in your mailer

Re: [PERFORM] query plan worse after analyze

2007-10-05 Thread Rodrigo De León
On 10/5/07, Stephen Frost <[EMAIL PROTECTED]> wrote: > ... (perhaps a pastebin like http://pgsql.privatepaste.com) ... This is cool. ---(end of broadcast)--- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index

Re: [PERFORM] query plan worse after analyze

2007-10-05 Thread Stephen Frost
* Jeff Frost ([EMAIL PROTECTED]) wrote: > Here are the plans: It's probably just me but, honestly, I find it terribly frustrating to try and read a line-wrapped explain-analyze output... I realize it might not be something you can control in your mailer, but you might consider putting the various