Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: exp/imp (Transportable Tablespace)

Re: exp/imp (Transportable Tablespace)

From: <fitzjarrell_at_cox.net>
Date: Tue, 13 Nov 2007 09:14:37 -0800
Message-ID: <1194974077.261349.18730@v3g2000hsg.googlegroups.com>


On Nov 12, 2:51 pm, Tom76 <br..._at_hotmail.com> wrote:
> On Nov 12, 1:59 pm, Mark D Powell <Mark.Pow..._at_eds.com> wrote:
>
>
>
>
>
> > On Nov 12, 1:54 pm, Frank van Bortel <frank.van.bor..._at_gmail.com>
> > wrote:
>
> > > Tom76 wrote:
> > > > Transportable Tablespace feature
>
> > > > source db: 9i
> > > > target db: 10g
> > > > OS: source and target is Linux.
> > > > Tested a migration of few application tablespaces using Transportable
> > > > Tablespace feature. Packages, procedures did not get migrated.
> > > > There is no option to specify paackages or procedures to be
> > > > exported(exp or imp). So I guess they get exported/imported
> > > > automatically.
> > > > No errors during the transportable tablespace procedure. Any idea why
> > > > the packages and procedures did not get migrated.
>
> > > Time for the concept manual athttp://tahiti.oracle.com...
>
> > > Where (what tablespace) are procedures stored?
> > > And what tablespace did you transport?
>
> > > And as A is not equal to B, no procedures, only data.
> > > Unless you transported tablespace A of course - in which
> > > case you lost your database.
>
> > > And import/export will export procedures, packages and
> > > functions of a specific user, if you do an export on that
> > > level - also documented on tahiti, but in the Utilities
> > > manual.
> > > --
> > > Regards,
> > > Frank van Bortel
>
> > > Top-posting is one way to shut me up...
>
> > The traditional export and import utilities do not have parameters
> > that allow selecting stored procedures, functions, or packages by
> > themselves.
>
> > You can obtain the code via user or full database exports. Look at
> > the rows=n option.
>
> > If you need only selected objects then it is also easy to extract
> > stored procedure code form dba_source and then just run this into the
> > target database. Oracle provides the dbms_metadata package to do this
> > but we just use a query to extact the source, grants, and synonyms on
> > the procedure.
>
> > HTH -- Mark D Powell --- Hide quoted text -
>
> > - Show quoted text -
>
> Dont give me the basics of exp/imp. Should not the transportable
> tablespace feature take care of package/procedure migration??- Hide quoted text -
>
> - Show quoted text -

Obviously you need them, as well as a basic course in where objects such as packages, procedures, functions and the like are stored. They are not in any tablespace you can transport, they reside in the SYSTEM tablespace and you were directed to that information by Frank. I'm sorry that you couldn't understand that but do not lay the 'blame' for that on others who tried to explain the basics.

You were directed to the Concepts Guide, a specific reference in the documentation library. Reading responses carefully is key to understanding what they may mean and what information they may unlock.

David Fitzjarrell Received on Tue Nov 13 2007 - 11:14:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US