Re: how much ram do i give postgres? - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: how much ram do i give postgres?
Date
Msg-id 20041020183543.GA28409@wolff.to
Whole thread Raw
In response to Re: how much ram do i give postgres?  (Josh Close <narshe@gmail.com>)
Responses Re: how much ram do i give postgres?
List pgsql-general
On Wed, Oct 20, 2004 at 08:25:22 -0500,
  Josh Close <narshe@gmail.com> wrote:
>
> It's slow due to several things happening all at once. There are a lot
> of inserts and updates happening. There is periodically a bulk insert
> of 500k - 1 mill rows happening. I'm doing a vacuum anaylyze every
> hour due to the amount of transactions happening, and a vacuum full
> every night. All this has caused selects to be very slow. At times, a
> "select count(1)" from a table will take several mins. I don't think
> selects would have to wait on locks by inserts/updates would it?

You might not need to do the vacuum fulls that often. If the your hourly
vacuums have a high enough fsm setting, they should be keeping the database
from continually growing in size. At that point daily vacuum fulls are
overkill and if they are slowing stuff down you want to run quickly, you
should cut back on them.

pgsql-general by date:

Previous
From: Chris Browne
Date:
Subject: Re: files ending with .1 or .2
Next
From: Andrew Sullivan
Date:
Subject: Re: Sequence question