Tuesday, 25 October 2016

[firebird-support] Re: Which connection causes object in use - is there a way to find that out?

 

---In firebird-support@yahoogroups.com, <t.tyrakowski@...> wrote :


> From time to time, when I try to alter a stored procedure in a
> production database, I get "object in use" error.

  Run DDL statement in wait transaction. Better to set some timeout to not wait too much, but not no-wait mode

> I was wandering, is
> there a way to find the connections (users) that prevent a particular
> procedure from being altered?

  No, sorry (one can use lock manager but it is not trivial)

Regards,
Vlad

__._,_.___

Posted by: hvlad@users.sourceforge.net
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Visit http://www.firebirdsql.org and click the Documentation item
on the main (top) menu.  Try FAQ and other links from the left-side menu there.

Also search the knowledgebases at http://www.ibphoenix.com/resources/documents/

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.

__,_._,___

No comments:

Post a Comment