Re: Vacuum performance question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jeremy(dot)guthrie(at)berbee(dot)com
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Vacuum performance question
Date: 2003-08-14 19:28:04
Message-ID: 6954.1060889284@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Jeremy M. Guthrie" <jeremy(dot)guthrie(at)berbee(dot)com> writes:
> In some cases the operation of my software goes from 1-3 second runtime to
> 300+ seconds during a vacuum.

That seems like a lot. I concur with the nearby recommendation to
reduce vacuum_mem, but I think there may be another problem. You should
watch top, iostat, vmstat during a vacuum to try to see what resource is
getting saturated.

> I'm runing 7.3.2 and I am upgrading to 7.3.3 next week.

7.3.4, please. 7.3.3 has at least one nasty bug.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2003-08-14 21:47:01 Re: Perfomance Tuning
Previous Message Jan Wieck 2003-08-14 18:55:38 Re: [SQL] EXTERNAL storage and substring on long strings