Server process
Server process
От:
"Michael Ryan S. Puncia" <mpuncia@census.gov.ph>
Дата:
Hi,
How can I automatically kill a process in the database (ex a select or explain) if it exceeds my limit of 2 or 3 mins ..
For example : I have a query that already running for 3 or 4 mins I want to kill that process for a reason and return a
Signal to the user.
Thanks
Michael
Re: Server process
От:
Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Дата:
Read the docs on going SET statement_timeout TO ...; Chris Michael Ryan S. Puncia wrote: > > > Hi, > > > > How can I automatically kill a process in the database (ex a select or > explain) if it exceeds my limit of 2 or 3 mins .. > > For example : I have a query that already running for 3 or 4 mins I > want to kill that process for a reason and return a > > Signal to the user. > > > > Thanks > > Michael >