Re: help needed -- sequential scan problem

Поиск
Список
Период
Сортировка
Искать
От
Josh Berkus
Тема
Re: help needed -- sequential scan problem
Дата
Msg-id
200411221157.38900.josh@agliodbs.com
Ответ на
Список
Дерево обсуждения
help needed -- sequential scan problem sarlav kumar <sarlavk@yahoo.com>
Re: help needed -- sequential scan problem Tom Lane <tgl@sss.pgh.pa.us>
Re: help needed -- sequential scan problem sarlav kumar <sarlavk@yahoo.com>
Re: help needed -- sequential scan problem Josh Berkus <josh@agliodbs.com>
Re: help needed -- sequential scan problem sarlav kumar <sarlavk@yahoo.com>
Sarlav,

> I am sorry, I am not aware of what random_page_cost is, as I am new to
> Postgres. What does it signify and how do I reduce random_page_cost?

It's a parameter in your postgresql.conf file.    After you test it, you will 
want to change it there and reload the server (pg_ctl reload).

However, you can test it on an individual connection:
SET random_page_cost=2.5
(the default is 4.0)

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco
В списке pgsql-performance по дате отправления
От: sarlav kumar
Дата:
От: sarlav kumar
Дата:
FAQ