• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

stored procedures execution locks

 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi gurus,

we have an application that calls some stored procedures (oracle9i). those procedures are using different tables and are not related.
everything worked fine for a long time but today we've noticed a strange behavior:
when one stored procedure is triggered, other procedures executed while the first one is still running are blocked and wait, until that first procedure is ending. this happens with all procedures, their execution is not concurrent anymore.
from the java point of view: a callablestatement.execute() method is called, but the logs in pl/sql show that a stored procedure function is not triggered, this until any other stored procedure is running. no exceptions are thrown, all procedures are executed in a queue. we have cases when a stored procedure is running for hours, the waiting ones are not throwing time outs.
nothing has been changed on db level... there is always a chance for an issue with a new jar or something, but we can't figure it out. maybe someone here have already seen such thing? any ideas are welcomed!
thank you for your time.
 
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic