Re: Query performance issue

Поиск
Список
Период
Сортировка
От Jayadevan M
Тема Re: Query performance issue
Дата
Msg-id OFF9E19B04.1A7DCA9C-ON652578FD.00419BFE-652578FD.0041AD11@ibsplc.com
обсуждение исходный текст
Ответ на Re: Query performance issue  ("Tomas Vondra" <tv@fuzzy.cz>)
Список pgsql-performance
>
> A really interesting part is the sort near the bottom -
>
> ->  Sort  (cost=1895.95..1896.49 rows=215 width=61) (actual
> time=25.926..711784.723 rows=2673340321 loops=1)
>     Sort Key: memmst.memshpsta
>     Sort Method:  quicksort  Memory: 206kB
>     ->  Nested Loop  (cost=0.01..1887.62 rows=215 width=61) (actual
> time=0.088..23.445 rows=1121 loops=1)
>
> How can a sort ge 1121 rows at the input and return 2673340321 rows at the
> output? Not sure where this comes from.
>
> BTW what PostgreSQL version is this?
PostgreSQL 9.0.4 on x86_64-pc-solaris2.10


Regards,
Jayadevan





DISCLAIMER:


"The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."





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

Предыдущее
От: "Tomas Vondra"
Дата:
Сообщение: Re: Query performance issue
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Query performance issue