Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Query timeout
On Fri, 21 Nov 2003 07:58:21 -0500, "ReplyToGroups"
<sorry_at_NoAddress.com> wrote:
>Hi
>
>Is there anyway I can break the long running query after 'x' minutes. I
>wanted to do this in procedure.
>Let's say if the query runs more than 2 minutes then I wanted to Exit the
>procedure and send the message to the user.
>
>Thanks
>Sync
>
Basically there are 2 solutions
Note: in the latter case end-users will continue to suffer from untuned queries. This solution can be labelled as symptom-fighting and is not preferred.
-- Sybrand Bakker, Senior Oracle DBAReceived on Fri Nov 21 2003 - 13:11:23 CST