Re: Bitmap scan cost model (was Re: bitmap scans, btree

Поиск
Список
Период
Сортировка
От Jeffrey W. Baker
Тема Re: Bitmap scan cost model (was Re: bitmap scans, btree
Дата
Msg-id 1116436741.17217.27.camel@noodles
обсуждение исходный текст
Ответ на Re: Bitmap scan cost model (was Re: bitmap scans, btree scans, and tid order)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 2005-05-18 at 11:27 -0400, Tom Lane wrote:
> "Jeffrey W. Baker" <jwbaker@acm.org> writes:
> > Obviously in this case sequential scan was (would have been) a huge win.
> > Incrementing random_page_cost from 4 (the default) to 5 causes the
> > planner to make a better decision.
> 
> But to get the estimated cost ratio to match up with the actual cost
> ratio, we'd have to raise random_page_cost to nearly 70, which is a bit
> hard to credit.  What was the platform being tested here?

i686 Linux 2.6.8 with a single 7200RPM SATA disk.

-jwb


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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: SQL99 hierarchical queries stalled
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Learning curves and such (was Re: pgFoundry)