Home » Developer & Programmer » Forms » Wait event during execution simple "select" statement (Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi)
Wait event during execution simple "select" statement [message #590573] Fri, 19 July 2013 06:04 Go to next message
**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.

Re: Wait event during execution simple "select" statement [message #590579 is a reply to message #590573] Fri, 19 July 2013 06:32 Go to previous messageGo to next message
cookiemonster
Messages: 13920
Registered: September 2008
Location: Rainy Manchester
Senior Member
**1000BAseT*** wrote on Fri, 19 July 2013 12:04

So question, How simple select statement could stop all DB?


It can't, something else must have been going on.
What were the wait events?
Re: Wait event during execution simple "select" statement [message #590584 is a reply to message #590579] Fri, 19 July 2013 07:03 Go to previous messageGo to next message
**1000BAseT***
Messages: 2
Registered: July 2013
Location: Kyrgyzstan
Junior Member
I asked DBA to attach all information she had. I will give u on Monday only.
Thank you for your interest in my problem.
In addition I want to inform that this problem very serious, we have deadlocks, waits every day.
Hope for your help
Re: Wait event during execution simple "select" statement [message #590589 is a reply to message #590584] Fri, 19 July 2013 08:12 Go to previous message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
**1000BAseT*** wrote on Fri, 19 July 2013 08:03

In addition I want to inform that this problem very serious, we have deadlocks, waits every day.


Deadlocks are the results of poor coding, for example coding for a multi-user environment with single user mentality.
Previous Topic: problem with weblogic enterpraise manager
Next Topic: How to export a SQL to MS-EXCEL in FORMS
Goto Forum:
  


Current Time: Tue Apr 23 01:57:56 CDT 2024