1 Reply Latest reply: Jul 19, 2013 5:50 AM by 1026486 RSS

    Wait event  during execution simple "select" statement

    1026486

      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
      1Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
      2PL/SQL Release 10.2.0.5.0 - Production
      3CORE 10.2.0.5.0 Production
      4TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
      5NLSRTL 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