Re: aggregate on zero rows slow?

Поиск
Список
Период
Сортировка
От Patrick Welche
Тема Re: aggregate on zero rows slow?
Дата
Msg-id 20020502123206.A1752@quartz.newn.cam.ac.uk
обсуждение исходный текст
Ответ на Re: aggregate on zero rows slow?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: aggregate on zero rows slow?  (Shaun Thomas <sthomas@townnews.com>)
Re: aggregate on zero rows slow?  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Список pgsql-general
On Wed, May 01, 2002 at 10:21:48PM -0400, Tom Lane wrote:
> Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> > ... the select appears to take much longer to complete if the WHERE clause
> > matches zero rows, than if it matches some rows.
>
> Doesn't make any sense to me.  Are you sure the same plan is being
> chosen in both cases?  If so, could you post a complete example?

Yes, same plan both cases. Thanks for the answer: as it doesn't make any
sense to anyone, it must mean there is some corruption somewhere as a result
of Monday morning's powercut => I'll look elsewhere.

Thanks,

Patrick

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

Предыдущее
От: Thierry Besancon
Дата:
Сообщение: hexadecimal values
Следующее
От: "murphy pope"
Дата:
Сообщение: Re: Problem with cursors in PL/pgsql