Re: Populating missing dates in postgresql data

From: Mitu Verma <mitu(dot)verma(at)ericsson(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Populating missing dates in postgresql data
Date: 2015-03-26 03:57:34
Message-ID: 84BC7AB0D621A74893EC9C9E151293B022668DA9@ESESSMB207.ericsson.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mitu Verma 2015-03-26 03:58:59 Autovacuum query
Previous Message David G. Johnston 2015-03-26 00:38:45 Re: Populating missing dates in postgresql data