Re: Column correlation drifts, index ignored again

Поиск
Список
Период
Сортировка
От Ed L.
Тема Re: Column correlation drifts, index ignored again
Дата
Msg-id 200402241354.15025.pgsql@bluepolka.net
обсуждение исходный текст
Ответ на Re: Column correlation drifts, index ignored again  (Kevin Brown <kevin@sysexperts.com>)
Ответы Re: Column correlation drifts, index ignored again  (Kevin Brown <kevin@sysexperts.com>)
Список pgsql-performance
On Tuesday February 24 2004 1:14, Kevin Brown wrote:
>
> One problem I've been running into is the merge join spilling to disk
> because sort_mem isn't big enough.  The problem isn't that this is
> happening, it's that I think the planner is underestimating the impact
> that doing this will have on the time the merge join takes.  Does the
> planner even account for the possibility that a sort or join will spill
> to disk?  Spilling to disk like that will suddenly cause sequential
> reads to perform much more like random reads, unless the sequential
> scans are performed in their entirety between sorts/merges.

How do you know the merge join is spilling to disk?  How are you identifying
that?  Just assuming from vmstat?  iostat?

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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: [PERFORMANCE] slow small delete on large table
Следующее
От: Kevin Brown
Дата:
Сообщение: Re: Column correlation drifts, index ignored again