Re: unnecessary sort in the execution plan when doing group by
От | Huang, Suya |
---|---|
Тема | Re: unnecessary sort in the execution plan when doing group by |
Дата | |
Msg-id | D83E55F5F4D99B4A9B4C4E259E6227CD191057B5@AUX1EXC02.apac.experian.local обсуждение исходный текст |
Ответ на | Re: unnecessary sort in the execution plan when doing group by (David Rowley <dgrowleyml@gmail.com>) |
Список | pgsql-performance |
Thanks,
Suya
Sent: Tuesday, October 28, 2014 6:06 PM
To: Huang, Suya
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] unnecessary sort in the execution plan when doing group by
Hi,
This is the Greenplum database 4.3.1.0.
QUERY PLAN
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gather Motion 24:1 (slice2; segments: 24) (cost=31286842.08..31287447.81 rows=1683 width=536)
Rows out: 15380160 rows at destination with 14860 ms to first row, 23856 ms to end, start offset by 104 ms.
-> HashAggregate (cost=31286842.08..31287447.81 rows=1683 width=536)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Gather Motion 24:1 (slice2; segments: 24) (cost=152269717.33..157009763.41 rows=1196982 width=568)
Rows out: 15380160 rows at destination with 35320 ms to first row, 70091 ms to end, start offset by 102 ms.
-> GroupAggregate (cost=152269717.33..157009763.41 rows=1196982 width=568)
В списке pgsql-performance по дате отправления: