Home > Ask the Oracle Database / Applications Experts > Oracle database design and architecture Questions & Answers > Importing/exporting wrapped PL/SQL procedures
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


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


>
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.


>
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 CONTENT
Oracle database design and architecture
Why am I receiving Oracle memory allocation errors?
How to join two tables with unique keys in Oracle
How does the Oracle LGWR write to online redo log files?
Can I check an Oracle instance without logging into the Oracle server?
How to use V$SEGMENT_STATISTICS to find the most accessed Oracle table
Can I install an Oracle client on Windows 7?
How to use the Oracle Database Upgrade Assistant (DBUA)
Can I specify Oracle column order in my database table?
Can I have a single Oracle 11g RAC instance across multiple databases?
How to use the Oracle export utility to duplicate database structure

Oracle database design and architecture
Why am I receiving Oracle memory allocation errors?
How to join two tables with unique keys in Oracle
Can I check an Oracle instance without logging into the Oracle server?
How does the Oracle LGWR write to online redo log files?
How to determine your SQL database through needs analysis
Breaking down the contenders in the SQL database market
The MySQL open source database in the enterprise
Diving deeper into the SQL database features
What managers should consider when starting a database scaling project
How to use V$SEGMENT_STATISTICS to find the most accessed Oracle table

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E. F. Codd  (SearchOracle.com)
extent  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
multidimensional database  (SearchOracle.com)
object-oriented database management system  (SearchOracle.com)
quad tree  (SearchOracle.com)
relational online analytical processing  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

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



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

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




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