Re: plain inserts and deletes very slow

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: postgresql performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: plain inserts and deletes very slow
Date: 2005-07-04 02:57:09
Message-ID: 20050704025709.GA24255@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, Jul 04, 2005 at 02:17:47AM +0200, Enrico Weigelt wrote:
> * David Mitchell <david(dot)mitchell(at)telogis(dot)com> wrote:
> > Perhaps if you are doing a lot of inserts and deletes, vacuuming every 6
> > minutes would be closer to your mark. Try vacuuming every 15 minutes for
> > a start and see how that affects things (you will have to do a vacuum
> > full to get the tables back into shape after them slowing down as they
> > have).
>
> hmm. I've just done vacuum full at the moment on these tables, but it
> doesnt seem to change anything :(

Maybe you need a REINDEX, if you have indexes on that table. Try that,
coupled with the frequent VACUUM suggestion.

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"World domination is proceeding according to plan" (Andrew Morton)

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message David Mitchell 2005-07-04 03:51:27 Re: plain inserts and deletes very slow
Previous Message David Mitchell 2005-07-04 01:12:55 Re: plain inserts and deletes very slow