Autovacuum query - Mailing list pgsql-general

From Mitu Verma
Subject Autovacuum query
Date
Msg-id 84BC7AB0D621A74893EC9C9E151293B022668DBB@ESESSMB207.ericsson.se
Whole thread Raw
Responses Re: Autovacuum query  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: Autovacuum query  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-general

Correcting the subject

 

From: Mitu Verma
Sent: March 26, 2015 9:28 AM
To: pgsql-general@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: RE: [GENERAL] Populating missing dates in postgresql data

 

Hi,

 

We have a customer complaining about the time taken by one of the application scripts while deleting older data from the log tables.

During the deletion, customer reported that he often sees the below error and because of which table size doesn’t reduce.

 

ERROR: canceling autovacuum task

Date: 2015-03-14 04:29:19

Context: automatic analyze of table "fm_db_Server3.mmsuper.audittraillogentry"

 

We have the following queries in this regard:

-          How often is the autovacuum task invoked by postgres

-          If the task gets cancelled (while we were deleting data from the database) would this task be re-invoked at a later time?

-          If insertion of data into a table also impact this task?

-          If we can manually schedule this task to a particular time (like off peak hours)?

 

 

Regards

Mitu

 

 

 

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Populating missing dates in postgresql data
Next
From: Mitu Verma
Date:
Subject: Re: Populating missing dates in postgresql data