Re: random_page_cost = 1?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: random_page_cost = 1?
Дата
Msg-id 14199.1118336122@sss.pgh.pa.us
обсуждение исходный текст
Ответ на random_page_cost = 1?  (Alex Stapleton <alexs@advfn.com>)
Список pgsql-performance
Alex Stapleton <alexs@advfn.com> writes:
> Is this advisable?

Only if your database is small enough that you expect it to remain fully
cached in RAM.  In that case random_page_cost = 1 does in fact describe
the performance you expect Postgres to see.

People occasionally use values for random_page_cost that are much
smaller than physical reality would suggest, but I think this is mainly
a workaround for deficiencies elsewhere in the planner cost models.

            regards, tom lane

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

Предыдущее
От: Rory Campbell-Lange
Дата:
Сообщение: Re: Help specifying new web server/database machine
Следующее
От: Matthew Nuzum
Дата:
Сообщение: Re: Help specifying new web server/database machine