Wait event during execution simple "select" statement [message #590573] |
Fri, 19 July 2013 06:04 |
|
**1000BAseT***
Messages: 2 Registered: July 2013 Location: Kyrgyzstan
|
Junior Member |
|
|
Hello
Yesterday i got wait event when executed simple select from table.
This select was like:
SELECT emp_number from employer where subs_id = 111
I got one row, select is very fast.
In our Core Bank System we have package with function which returns such information. I tested this select on test DB, and nothing wrong. But when I executed such select and package on Production DB, DB Admin saw that 88 sessions waits when
my session release the resource. But what can happen, it was simple select?
I used PL/SQL developer to get information from table:
1) SELECT emp_number from employer where subs_id = 111
then
2) Package with this function
Another users used Oracle Forms screen to execute package.
So question, How simple select statement could stop all DB?
BANNER
1 Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
2 PL/SQL Release 10.2.0.5.0 - Production
3 CORE 10.2.0.5.0 Production
4 TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
5 NLSRTL Version 10.2.0.5.0 - Production
Oracle Forms information
Forms [32 Bit] Version 9.0.2.11.0 (Production)
Oracle Toolkit Version 9.0.4.0.31 (Production)
PL/SQL Version 9.0.1.3.1 (Production)
Oracle Procedure Builder V9.0.2.11.0 Build #1337 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 9.0.2.0.0 - Production
Oracle Virtual Graphics System Version 9.0.1.5.0 (Production)
Oracle Tools GUI Utilities Version 9.0.4.0.10 (Production)
Oracle Multimedia Version 9.0.4.0.9 (Production)
Oracle Tools Integration Version 9.0.2.0.0 (Production)
Oracle Tools Common Area Version 9.0.1.0.0
Oracle CORE 9.0.1.2.0 Production
Forgot to say that after succefuul execution on Prod DB I disconnected, and in EM my session was INACTIVE.
|
|
|
|
|
|