Re: CPU Intensive query

Поиск
Список
Период
Сортировка
От Steinar H. Gunderson
Тема Re: CPU Intensive query
Дата
Msg-id 20070518223529.GC17690@uio.no
обсуждение исходный текст
Ответ на Re: CPU Intensive query  ("Steinar H. Gunderson" <sgunderson@bigfoot.com>)
Список pgsql-performance
On Sat, May 19, 2007 at 12:32:33AM +0200, Steinar H. Gunderson wrote:
> Did you ANALYZE your tables recently? If the joins are really between
> millions of rows and the planner thinks it's a couple thousands, the stats
> sound rather off...

Sorry, I forgot your first e-mail where you said you had both vacuumed and
analyzed recently. The estimates are still off, though -- the WHERE query
might be difficult to estimate properly. (I'm not sure how Tom arrived on
his conclusion of expensive user-defined functions, but given the usual
precisions of his guesses, I'd check that too...)

/* Steinar */
--
Homepage: http://www.sesse.net/

В списке pgsql-performance по дате отправления:

Предыдущее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: CPU Intensive query
Следующее
От: Craig James
Дата:
Сообщение: Re: 121+ million record table perf problems