Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

stored procedures execution locks  RSS feed

Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!