Search Postgresql Archives

Re: How do i know if a vacuum is running?

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

 



Run a query against the “pg_stat_activity” system view (you will need to be a super-user to view system queries, normal users can only view their own).

 

To get you started this is the query that I use to spot-check system query activity:

 

SELECT procpid, current_query, client_addr, xact_start, query_start

                FROM pg_stat_activity

                ORDER BY xact_start ASC;

 

HTH,

 

David J.

 

 

From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx] On Behalf Of Modumudi, Sireesha
Sent: Monday, October 08, 2012 7:22 PM
To: pgsql-general@xxxxxxxxxxxxxx
Subject: How do i know if a vacuum is running?

 

Hi Everybody,

 

I wanted to know if vacuum is already running in postgres?

 

Thank you,

Sireesha


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux