Re: Question on Sort node's actual rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question on Sort node's actual rows
Дата
Msg-id 11764.1390489203@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question on Sort node's actual rows  (Victor Yegorov <vyegorov@gmail.com>)
Список pgsql-general
Victor Yegorov <vyegorov@gmail.com> writes:
> I'm looking at a plan: http://explain.depesz.com/s/sPv

> And I have a question. Why in the following snippet `Sort` node
> reports 128818 rows, although
> child node returned only 352?

It's under a mergejoin, which evidently is rescanning its right input
a lot due to duplicate join keys in the left input.

            regards, tom lane


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

Предыдущее
От: Andreas Lubensky
Дата:
Сообщение: Prepared statements and cursors
Следующее
От: Bill Moran
Дата:
Сообщение: Help with details of what happens when I create a constraint NOT VALID