Re: Killing a Query

From: "Anjan Dave" <adave(at)vantage(dot)com>
To: "Brandon Hines" <brandon(at)2i(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Killing a Query
Date: 2005-05-13 19:01:47
Message-ID: 4BAFBB6B9CC46F41B2AD7D9F4BBAF785026FF81B@vt-pe2550-001.vantage.vantage.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I use kill -s SIGINT <pid of bad query>

Thanks,
Anjan

-----Original Message-----
From: Brandon Hines [mailto:brandon(at)2i(dot)com]
Sent: Friday, May 13, 2005 2:32 PM
To: pgsql-admin(at)postgresql(dot)org
Subject: [ADMIN] Killing a Query

Is there a method for killing a query from the server.

I have a number of users that manage to run queries that busy the server

preventing a number of critical queries from running within an
acceptable time limit.

I would like to kill off the queries that appear to be busying the
server without having to take postgres down altogether.

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Browse pgsql-admin by date

  From Date Subject
Next Message Vikram 2005-05-13 19:34:57 Re: Killing a Query
Previous Message Kavan, Dan (IMS) 2005-05-13 18:57:05 Re: version 8.0.3