Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Killing Queries

Re: Killing Queries

From: Anton Buijs <remove_aammbuijs_at_xs4all.nl>
Date: Sat, 19 Jul 2003 19:18:46 +0200
Message-ID: <3f197d5d$0$49106$e4fe514c@news.xs4all.nl>


Randy Nichols <randynichols_at_yahoo.com> schreef in berichtnieuws gWeSa.109639$Io.9388352_at_newsread2.prod.itd.earthlink.net...
| If a query has been submitted to an Oracle 8i or above server via JDBC, is
| it possible to "kill" the query
| (for instance, it is exceeding a time limit)?
|
| -Randy
|
| (I apologize if this is repeat - can't find previous post)
|

You can't kill the query.
You can kill the session. Query V$SESSION and note values of SID and SERIAL#.
Then do "alter system kill session 'sid,serial#'; You can set resource limits. But they must be defined before the session is started. See Oracle8i Concepts, chapter 26 (for V8.1.7). Received on Sat Jul 19 2003 - 12:18:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US