Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-16 Thread Reinaldo de Carvalho
On Thu, May 13, 2010 at 7:05 PM, Joao Ferreira wrote: > > Hello all, > > I have a hard situation in hands. my autovacuum does not seem to be able > to get his job done; > > database is under active INSERTs/UPDATEs; > CPU is in aprox 50% iowait for the past 5 hours; > vmstat divides io percent (la

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-16 Thread Scott Marlowe
On Sun, May 16, 2010 at 1:19 PM, Jaime Casanova wrote: > On Fri, May 14, 2010 at 5:59 PM, Joao Ferreira gmail > wrote: >> >> For several reasons I can _not_ upgrade pg. I must use 8.1.4 and just >> live with it. And learn to work around the issues it might bring me. >> Additionally I can not chan

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-16 Thread Jaime Casanova
On Fri, May 14, 2010 at 5:59 PM, Joao Ferreira gmail wrote: > > For several reasons I can _not_ upgrade pg. I must use 8.1.4 and just > live with it. And learn to work around the issues it might bring me. > Additionally I can not change the cheap storage we ship in some lower > end versions of our

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-16 Thread Scott Marlowe
On Sun, May 16, 2010 at 12:32 PM, Greg Smith wrote: > Just make sure you're producing good backups of these systems then.  You can > expect to run into one of the data eating bugs in 8.1 eventually.  You'll > probably have a corrupt database from the sort of fsync issues cheap storage > introduce

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-16 Thread Greg Smith
Joao Ferreira gmail wrote: We have hundreds or thousands of unreachable and unmaintained PG instalations. I'm totally unable to experiment in each of them. Usage profile can range from 100 rows per hour to 1000, 10.000, 50.000... sustained... for several days... or even forever... CPU's and IO su

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-14 Thread Joao Ferreira gmail
Hello guys, thx for your inputs. I consider you suggestions valid. We have hundreds or thousands of unreachable and unmaintained PG instalations. I'm totally unable to experiment in each of them. Usage profile can range from 100 rows per hour to 1000, 10.000, 50.000... sustained... for several da

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-14 Thread Scott Mead
On Thu, May 13, 2010 at 6:23 PM, Scott Marlowe wrote: > On Thu, May 13, 2010 at 4:05 PM, Joao Ferreira > wrote: > > > > Hello all, > > > > I have a hard situation in hands. my autovacuum does not seem to be able > > to get his job done; > > > > database is under active INSERTs/UPDATEs; > > CPU is

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-14 Thread Scott Mead
On Thu, May 13, 2010 at 6:23 PM, Scott Marlowe wrote: > On Thu, May 13, 2010 at 4:05 PM, Joao Ferreira > wrote: > > > > Hello all, > > > > I have a hard situation in hands. my autovacuum does not seem to be able > > to get his job done; > > > > database is under active INSERTs/UPDATEs; > > CPU is

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-13 Thread Scott Marlowe
On Thu, May 13, 2010 at 4:05 PM, Joao Ferreira wrote: > > Hello all, > > I have a hard situation in hands. my autovacuum does not seem to be able > to get his job done; > > database is under active INSERTs/UPDATEs; > CPU is in aprox 50% iowait for the past 5 hours; > > I've tried turning off autov

Re: [GENERAL] autovacuum: 50% iowait for hours

2010-05-13 Thread Tom Lane
Joao Ferreira writes: > I have a hard situation in hands. my autovacuum does not seem to be able > to get his job done; > database is under active INSERTs/UPDATEs; > CPU is in aprox 50% iowait for the past 5 hours; > I've tried turning off autovacuum and the effect goes away; I turn it back > on

[GENERAL] autovacuum: 50% iowait for hours

2010-05-13 Thread Joao Ferreira
Hello all, I have a hard situation in hands. my autovacuum does not seem to be able to get his job done; database is under active INSERTs/UPDATEs; CPU is in aprox 50% iowait for the past 5 hours; I've tried turning off autovacuum and the effect goes away; I turn it back on and it goes back to 5