Re: Why does the number of rows are different in actual and estimated.

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Why does the number of rows are different in actual and estimated.
Дата
Msg-id 50CA6036.6000107@dunslane.net
обсуждение исходный текст
Ответ на Re: Why does the number of rows are different in actual and estimated.  (Claudio Freire <klaussfreire@gmail.com>)
Ответы Re: Why does the number of rows are different in actual and estimated.  (Evgeny Shishkin <itparanoia@gmail.com>)
Список pgsql-performance
On 12/13/2012 05:42 PM, Claudio Freire wrote:
> And it looks like it all may be starting to go south here:
>>                                         ->  Hash Join  (cost=9337.97..18115.71 rows=34489 width=244) (actual
time=418.054..1156.453rows=205420 loops=1) 
>>                                               Hash Cond: (customerdetails.customerid = entity.id)


Well, it looks like it's choosing a join order that's quite a bit
different from the way the query is expressed, so the OP might need to
play around with forcing the join order some.


cheers

andrew


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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: Why does the number of rows are different in actual and estimated.
Следующее
От: Evgeny Shishkin
Дата:
Сообщение: Re: Why does the number of rows are different in actual and estimated.