Re: 7k records into Sort node, 4.5m out?

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: 7k records into Sort node, 4.5m out?
Дата
Msg-id 623F2FF3-B79D-419A-929A-41C707DD5EA3@thebuild.com
обсуждение исходный текст
Ответ на Re: 7k records into Sort node, 4.5m out?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: 7k records into Sort node, 4.5m out?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On Aug 13, 2012, at 7:11 PM, Tom Lane wrote:
> The whole thing looks a bit weird to me --- why did it not use a
> nestloop join with inner indexscan on charlie?  With 7000 rows on the
> other side, the estimated cost for that shouldn't have been more than
> about 30000 ...

Here's the same query with set enable_megejoin = off.  All of the other query tuning parameters are default.

    http://explain.depesz.com/s/dqO

--
-- Christophe Pettus
   xof@thebuild.com



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

Предыдущее
От: Doug Hunley
Дата:
Сообщение: Re: cluster on conditional index?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 7k records into Sort node, 4.5m out?