Re: query plan question - Mailing list pgsql-performance

From Jeff
Subject Re: query plan question
Date
Msg-id 11A038F0-38A1-11D9-B5CC-000D9366F0C4@torgo.978.org
Whole thread Raw
In response to Re: query plan question  ("David Parker" <dparker@tazznetworks.com>)
List pgsql-performance
On Nov 17, 2004, at 7:32 AM, David Parker wrote:

> Oh, I didn't realize that analyze gave that much more info. I've got a
> lot to learn about this tuning stuff ;-)
>
> I've attached the output. I see from the new output where the slow
> query
> is taking its time (the nested loop at line 10), but I still have no
> idea why this plan is getting chosen....
>

looks like your stats are incorrect on the sparc.
Did you forget to run vacuum analyze on it?

also, do both db's have the same data loaded?
there are some very different numbers in terms of actual rows floating
around there...

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/


pgsql-performance by date:

Previous
From: "David Parker"
Date:
Subject: Re: query plan question
Next
From: "David Parker"
Date:
Subject: Re: query plan question