Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stored procedures execution locks

 
Asher Tarnopolski
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic