Re: - Mailing list pgsql-admin

From Tom Lane
Subject Re:
Date
Msg-id 7844.1240424329@sss.pgh.pa.us
Whole thread Raw
In response to  (Shrirang Chitnis <Shrirang.Chitnis@hovservices.com>)
Responses Logs say update done but not actually done or committed into database ???
List pgsql-admin
Shrirang Chitnis <Shrirang.Chitnis@hovservices.com> writes:
> I see that an auto vacuum process that has started on April 08 is still continuing till date on a production server
thatI manage. 

> A) Is there a way to know whether the process is still running or is stalled?

strace the process for a few minutes and see if it does anything or just
sits there.  Alternatively, does ps show its runtime is increasing?

> B) Can the process be killed safely without causing issues in the autovacuum daemon?

You could try SIGINT'ing it.  Anything stronger might be risky.

            regards, tom lane

pgsql-admin by date:

Previous
From: Shrirang Chitnis
Date:
Subject:
Next
From: "Atul Chojar"
Date:
Subject: Logs say update done but not actually done or committed into database ???