AW: vacuum

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: "'Mike Cianflone'" <mcianflone(at)littlefeet-inc(dot)com>, Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: AW: vacuum
Date: 2001-06-13 08:03:35
Message-ID: 11C1E6749A55D411A9670001FA687963368321@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Is there a relative consensus for how often to run vacuum? I have a
> table of about 8 columns that I fill with 100,000 items simply via a "\i
> alarms.sql". After 1,000 items or so it gets extremely slow to fill with
> data, and will take over a day to fill the entire thing unless I run vacuum
> once a minute.

You will have to tell us, what exactly your alarms.sql does, and what indexes
your table has. Above behavior is certainly not to be expected in general,
especially the "vacuum once a minute" is highly suspicious.

For a series of insert only statements, the vacuum is not supposed to help at
all, thus there must be an update hidden somewhere.

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2001-06-13 09:54:16 Re: AW: vacuum
Previous Message Gavin Sherry 2001-06-13 02:33:39 Re: Fix for tablename in targetlist