Kristo Kaiv wrote:
> you should first cluster the table on primary key.
> The table is probably already bloated from the 3 hr delay it had before.
> CLUSTER "primary key index name" ON group_fin_account_tst;
> vacuum it every 3 minutes.
> NB! clustering takes an access exclusive lock on table
thanks a bunch!!
This was the solution...
The cluster operation took about 60sec, and after it was done the vacuum
finished in only 10sec. or so, with no noticeable performance
bottleneck. Now vacuum is running every 2-3 minutes and makes no problems.
Hhhh, now I can look forward to a laid-back weekend..
Richard, Kristo, Alvaro, thanks 1000 times for responding so quickly
Neumünstersche Straße 4
telefon +49 - 40 - 67957171
mobil +49 - 179 - 4826359
In response to
pgsql-performance by date
|Next:||From: Tom Lane||Date: 2007-05-25 14:07:14|
|Subject: Re: general PG network slowness (possible cure) (repost) |
|Previous:||From: Peter T. Breuer||Date: 2007-05-25 14:02:21|
|Subject: Re: general PG network slowness (possible cure) (repost)|