If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

Thanks Malay, I do have the same understanding but the other DBA in my team had the problem with compiling a procedure and he said he found some other session locking one of the referencing tables and when he killed that session he is able to compile. He is not clear what type of lock it is. As PAVB said it might be library cache lock.

I will wait for the same situation and check what type of lock is stopping compilation.

Thanks all for your inputs.

Thanks,

Vijay Tummala

Try hard to get what you like OR you will be forced to like what you get.

... other DBA in my team had the problem with compiling a procedure and he said he found some other session locking one of the referencing tables and when he killed that session he is able to compile. He is not clear what type of lock it is. As PAVB said it might be library cache lock.

this only makes sense if offending session was executing the very same procedure your fellow DBA was attempting to compile. It wasn't a table lock, it was library cache lock.

Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.