Re: Join runs for > 10 hours and then fills up >1.3TB of disk space

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Join runs for > 10 hours and then fills up >1.3TB of disk space
Дата
Msg-id 482D3A60.30006@archonet.com
обсуждение исходный текст
Ответ на Join runs for > 10 hours and then fills up >1.3TB of disk space  (kevin kempter <kevin@kevinkempterllc.com>)
Ответы Re: Join runs for > 10 hours and then fills up >1.3TB of disk space  (kevin kempter <kevin@kevinkempterllc.com>)
Список pgsql-performance
kevin kempter wrote:
> Hi List;
>
> I have a table with 9,961,914 rows in it (see the describe of
> bigtab_stats_fact_tmp14 below)
>
> I also have a table with 7,785 rows in it (see the describe of
> xsegment_dim below)
>
> I'm running the join shown below and it takes > 10 hours and eventually
> runs out of disk space on a 1.4TB file system

> QUERY PLAN
>
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

>
> Merge Join  (cost=1757001.74..73569676.49 rows=3191677219 width=118)

Dumb question Kevin, but are you really expecting 3.2 billion rows in
the result-set? Because that's approaching 400GB of result-set without
any overheads.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Join runs for > 10 hours and then fills up >1.3TB of disk space
Следующее
От: kevin kempter
Дата:
Сообщение: Re: Join runs for > 10 hours and then fills up >1.3TB of disk space