Re: query plan question

Поиск
Список
Период
Сортировка
От Jeff
Тема Re: query plan question
Дата
Msg-id 11A038F0-38A1-11D9-B5CC-000D9366F0C4@torgo.978.org
обсуждение исходный текст
Ответ на Re: query plan question  ("David Parker" <dparker@tazznetworks.com>)
Список 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 по дате отправления:

Предыдущее
От: "David Parker"
Дата:
Сообщение: Re: query plan question
Следующее
От: "David Parker"
Дата:
Сообщение: Re: query plan question