Oracle ' s package,function,proceture is not responding at compile time (resolution)

Source: Internet
Author: User

When you debug a procedure, function, or package, the company's firewall kills the session connection if there is no action for a long time. This time the database does not actively release the resources of the session, if the procedure, function or package debug again, it will produce a wait. Because the firewall killed by the session is still running the last debug, there will be a lock. Only wait until the database reclaims the last debug session resource or the DBA manually kill the session. Here's how to Manually kill sessions:

1, get all the information of the session

1. Select * from V$session B where B.schemaname <> ' SYS '

PS: After executing the statement there will be an action field (sessionname) and osuser (user)

You can see the session under your own user.

2. Kill the session

2. ALTER SYSTEM KILL SESSION ' sid,serial# ' IMMEDIATE;

PS: The SID and serial#==== here can be found in the first section

And then you can do it.

Oracle ' s package,function,proceture is not responding at compile time (resolution)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.