Re: Autovacuum is running forever

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there any data corruption/damage to the database if we forcefully
kill autovacuum using cron job (if it is running longer than a
predefined time frame).


Regards
Sachchida


-----Original Message-----
From: Sachchida Ojha 
Sent: Tuesday, August 21, 2007 5:46 PM
To: 'Michael Glaesemann'
Cc: 'pgsql-performance@xxxxxxxxxxxxxx'
Subject: RE:  Autovacuum is running forever

Our model is to provode black box solutions to our customer.

Black box, I mean application system, web sever and database is running
on the same machine. 

We are running our sensor on 10 assets (windows machine)  and sending
asset data to the server at every 15 minutes. There are some other user
operations going on to those assets at the same time.

On server 

Cpu util ranging from 10-75%
Mem util ranging from 15-50%




Regards
Sachchida


-----Original Message-----
From: Michael Glaesemann [mailto:grzm@xxxxxxxxxxxxxxx]
Sent: Tuesday, August 21, 2007 5:36 PM
To: Sachchida Ojha
Cc: pgsql-performance@xxxxxxxxxxxxxx
Subject: Re:  Autovacuum is running forever


On Aug 21, 2007, at 16:26 , Sachchida Ojha wrote:
> In my OLTP system, we are inserting, updating and deleting the data 
> every second.
>
> Autovacuum started and never finished slowing down the whole system.
There's the possibility that your autovacuum settings aren't aggressive
enough for your system, so it's never able to catch up.  
Without knowing details it's hard to say for certain. What are your
autovacuum settings and other details about the load on your system?

Michael Glaesemann
grzm seespotcode net



---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux