Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle 11g rac, compiled package not current.

Posted on 2013-05-20
2
Medium Priority
?
668 Views
Last Modified: 2013-05-23
we a 3 node rac cluster oracle 11g. when i compile a package, is it possible that one of the instance might still be holding an older version of the package executable? how can i check?
0
Comment
Question by:Rao_S
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
Eikroman earned 2000 total points
ID: 39184039
No, that is impossible.
Package creation is a DDL statement. When DDL is performed on the package, the package will be locked until the operation is performed.
If the package (procedure/function) is executing on any RAC instances, you'll be unable to compile a new version of a package until it terminates.

If you still wish to verify it manually, to have a peace of mind then:
1)Connect directly to different instances as sysdba
2)Query dba_source.
Example:
select * from dba_source where owner = 'MYSCHEMA' AND NAME = 'MY_PACKAGE' AND TYPE='PACKAGE BODY';

Open in new window

3)Compare output

-----

If you need more "evidence", create a very long running procedure. Run it on one instance, and try to make changes to the package on another instance at the same time. It won't be possible.
0
 

Author Closing Comment

by:Rao_S
ID: 39190393
than you eikroman, you are correct..
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to recover a database from a user managed backup

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question