Re: best way to simulate a lost connection?
Date: Tue, 23 Dec 2008 08:27:54 +0100
<mh_at_pixar.com> a écrit dans le message de news: bOW3l.7251$pr6.220_at_flpi149.ffdc.sbc.com...
| This for RAC 10gR2.
| I would like to test my client-side application code that deals
| with catching and reporting a lost or broken connection to
| the database.
| What's the best way to simulate a connection failure?
| ALTER SYSTEM KILL SESSION '$SID,$SERIAL#' via another process?
| Is there an equivalent command that doesn't need to know
| the RAC node?
| Any pointers to other testing considerations appreciated.
| Many TIA!
| Mark Harrison
| Pixar Animation Studios
Unplug the cable.
Michel Received on Tue Dec 23 2008 - 01:27:54 CST