Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: automatic disconnect from idle application ...
"Galen Boyer" <galenboyer_at_hotpop.com> wrote in message news:uvgi1buhf.fsf_at_verizon.net...
Don't disagree, other than to say that resource profiles were invented in Oracle 7, and are a rather blunt instrument -by which I mean that if the Server Process is lying idle for the specified number of minutes, the session is simply disconnected. Never mind what the Server process was waiting for (perhaps a "commit" of that million row insert?!), it is simply (and brutally) disconnected, and whatever it had been doing is rolled back (thus chewing up some resources!)
So, just use it with care, and don't be too aggressive about setting an idle time.
If you've got 8i, a rather subtler approach suggests itself: knock up a script to determine the idle time of sessions every so often, and use Resource Manager techniques to shunt an offending session into a low-resource group. No disconnects, no unwanted rollbacks. Just a thought, anyway.
Regards
HJR
>
> Then, alter your application's user to have this profile.
>
> Here is documentation on managing resources through profiles.
>
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/
a76956/users.htm#1148
>
> Here is documentation on creating how to create profiles.
>
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/
a85397/statem21.htm#2065932
>
> --
> Galen Boyer
> I have nightmares about Tinky Winky beating me with his red bag.
Received on Sat Sep 29 2001 - 21:56:05 CDT