Re: Interpreting EXPLAIN ANALYSE

Поиск
Список
Период
Сортировка
От Henry C.
Тема Re: Interpreting EXPLAIN ANALYSE
Дата
Msg-id ba8ad7e3735ed8d65df48adc46d354cc.squirrel@zenmail.co.za
обсуждение исходный текст
Ответ на Re: Interpreting EXPLAIN ANALYSE  (tv@fuzzy.cz)
Список pgsql-general
On Fri, June 3, 2011 13:57, tv@fuzzy.cz wrote:
> See this http://explain.depesz.com/s/THh
>
>
> There's something very wrong with snames - the planner expects 22 rows but
> gets 164147851. Which probably causes a bad plan choice or something like that.
> Try to analyze the snames table (and maybe increase the statistics
> target on the columns).

Thanks - like you say, looks like the interesting bit is:

rows=22  --> rows=164147851 for table snames.

Nice online tool you have there my china!

Cheers
Henry


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

Предыдущее
От: Michal Politowski
Дата:
Сообщение: Re: Mixed up protocol packets in server response?
Следующее
От: Bill Moran
Дата:
Сообщение: Re: PostgreSQL service won't start after bad computer time