Home > Ask the Oracle Experts > Questions & Answers
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Importing/exporting wrapped PL/SQL procedures

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site
>
QUESTION POSED ON: 13 February 2004
We are in the process of upgrading from Oracle 8.0.5 to Oracle 9i. Forgive me if I get things wrong, but my DBAs first language is not English so I'm asking this question on his behalf given the information I have.

The problem seems to be similar to one posed one your site previously (in May 2002) but there was no clear answer.

We have some PL/SQL procedures that are wrapped. When these are exported from an Oracle 8 database the dump file will import fine into the Oracle 9i database. When the Oracle 9i database is subsequently exported, there is a problem re-importing it. The import gets to the point where it is importing the stored procedures, then the memory usage goes through the roof and eventually the machine runs out of resource. My DBA tells me the effect happens because the procedures are wrapped. He has proved this by importing the same information when they are not wrapped which is successful.

We have not been able to get information to confirm whether this is a bug, or if there is something we can change in the configuration. Any help would be appreciated.


>
EXPERT RESPONSE
I'm not sure if this is a bug or not. You'll have to open a TAR with Oracle Support to confirm this. I did a quick check with Oracle Support's web site and I didn't find any information.

But if I ran into this problem, I'd go back to my source code that was used to create the wrapped procedures. Hopefully your company has these documented somewhere. Just drop the procedures and recreate them, wrapped of course.

Alternatively, you can run import with SHOW=Y, FULL=Y, and LOG=filename. This will dump the DDL commands to the logfile. Open this logfile up and you can see the DDL commands to create your stored procs. Save this DDL in a script file and see what happens when you run it in SQL*Plus manually.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts