Re: Tuning to speed select

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Tuning to speed select
Дата
Msg-id 20060809134638.GM22329@svana.org
обсуждение исходный текст
Ответ на Tuning to speed select  (Tom Laudeman <twl8n@virginia.edu>)
Ответы Re: Tuning to speed select
Список pgsql-general
On Wed, Aug 09, 2006 at 09:19:31AM -0400, Tom Laudeman wrote:
> Hi,
>
> I'm running PostgreSQL version 8 on a dual 2.4GHz Xeon with 1GB of RAM
> and an IDE hard drive. My big table has around 9 million records.
>
> Is there a tuning parameter I can change to increase speed of selects?
> Clearly, there's already some buffering going on since selecting an
> indexed ~50,000 records takes 17 seconds on the first try, and only 0.5
> seconds on the second try (from pgsql).

Your OS is probably buffering, 1GB of RAM holds a lot of data. You can
try increasing the shared_buffers parameter, but if the delay is
getting data from the disk, that won't really help you.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "Tomi NA"
Дата:
Сообщение: Re: Data warehouse & OLAP
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Tuning to speed select