Return-Path: <oracle-l-bounce@freelists.org>
Delivered-To: 2-oracle-l@orafaq.com
Received: (qmail 13632 invoked from network); 16 Sep 2007 01:36:26 -0500
Received: from freelists-180.iquest.net (HELO turing.freelists.org) (206.53.239.180)
  by 69.64.49.119 with SMTP; 16 Sep 2007 01:36:26 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id ED3E7744C25;
 Sun, 16 Sep 2007 02:36:24 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 16806-02; Sun, 16 Sep 2007 02:36:24 -0400 (EDT)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 69A8E744AFD;
 Sun, 16 Sep 2007 02:36:24 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Sun, 16 Sep 2007 01:51:24 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4824B744B65
 for <Oracle-L@freelists.org>; Sun, 16 Sep 2007 01:51:24 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 12999-10 for <Oracle-L@freelists.org>;
 Sun, 16 Sep 2007 01:51:24 -0400 (EDT)
Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.179])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E0DA2744B54
 for <Oracle-L@freelists.org>; Sun, 16 Sep 2007 01:51:17 -0400 (EDT)
Received: by wa-out-1112.google.com with SMTP id k22so1698789waf
        for <Oracle-L@freelists.org>; Sat, 15 Sep 2007 22:51:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        bh=8bogI0s5fCtO60LD5iDUXGvQUBOlrLybJusxAHz5Bj8=;
        b=OujOIBIyR7JNxfNGt1XnRBiGODGOJk3+nVQl1M/1EdLdEthV4c1CRtacEFnj4dimmOw5My8bN1pUVd2MvyUyuh6lNSa8drNt4JXJuVB9qxrQbsLgFQWlXf39iAhPStB9usdQo2qoNlCMCkmg0HWjPdhu8HgS+PvxL+pUFrUL6mg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=gfNuJXPuMpwRO7jZQ0ld6XZidRxOSX2W0diYDdhUopigUeduySFzhfeRHqD19HB+RRYc6P/W/tmQt79o85iCXXIU3gGrWP+2jBp2waPnun/+GXMobmo+2Vf+rIPtMwA7X6Fpq5ZJwW3X3C70fpIfXAozwHizIZ49UHn15IX6NfE=
Received: by 10.142.234.12 with SMTP id g12mr703788wfh.1189921874850;
        Sat, 15 Sep 2007 22:51:14 -0700 (PDT)
Received: by 10.142.204.6 with HTTP; Sat, 15 Sep 2007 22:51:14 -0700 (PDT)
Message-ID: <b447e8230709152251q24b3f8eeuf9d058885b7df617@mail.gmail.com>
Date: Sat, 15 Sep 2007 22:51:14 -0700
From: "Owen Smith" <owensmith99@gmail.com>
To: "Ghassan Salem" <salem.ghassan@gmail.com>
Subject: Re: "Original" IMP transportable tablespace. IMP wants a datafile?
Cc: "David Sharples" <davidsharples@gmail.com>, Oracle-L@freelists.org
In-Reply-To: <b447e8230709151641s172db605g7980241b9f28ee8d@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <b447e8230709150237h9939920t33efbd044e0ad3ba@mail.gmail.com>
	 <be592d550709150402w512e3c88i921f4536f5bf8729@mail.gmail.com>
	 <b447e8230709151138k561bb54ub63ab5ab736d6374@mail.gmail.com>
	 <411d50f60709151505g1e889393ub1cc4497966edd95@mail.gmail.com>
	 <b447e8230709151641s172db605g7980241b9f28ee8d@mail.gmail.com>
X-archive-position: 1607
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: owensmith99@gmail.com
Precedence: normal
Reply-to: owensmith99@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
X-Virus-Scanned: Debian amavisd-new at localhost.localdomain

ok,

I think I understand what is going on.

I now doubt that
$ORACLE_HOME/assistants/dbca/templates/example01.dfb
is a copy of a database file.

What is it?


bash sol oracle ~/product/10r2/assistants/dbca/templates 67 $
bash sol oracle ~/product/10r2/assistants/dbca/templates 67 $
bash sol oracle ~/product/10r2/assistants/dbca/templates 67 $
bash sol oracle ~/product/10r2/assistants/dbca/templates 67 $  ls -la
$ORACLE_HOME/assistants/dbca/templates/example01.dfb
-rwxr-xr-x   1 oracle   dba      13115392 Jun 27  2006
/h/oracle/product/10r2/assistants/dbca/templates/example01.dfb*
bash sol oracle ~/product/10r2/assistants/dbca/templates 68 $
bash sol oracle ~/product/10r2/assistants/dbca/templates 68 $
bash sol oracle ~/product/10r2/assistants/dbca/templates 68 $

It is probably a binary file which DBCA can convert into a database file
once DBCA knows which characterset lives inside the target database.

The transportable tablespace feature depends on a matching
of charactersets between the transported data file and the target DB.

-Owen


On 9/15/07, Owen Smith <owensmith99@gmail.com> wrote:
> Did I ...
> put the tbs in R/O mode before copying?
>
> I assume it was.
>
> The tbs was created by Oracle.
>
> If you have a copy of 10gR2,
> you will find both the datafile and .dmp file here:
> $ORACLE_HOME/assistants/dbca/templates/
>
> I did try this:
> tts_owners=(HR,IX,OE,PM,SH)
>
> Result:
> ORA-19721: Cannot find datafile with absolute file number 5 in
> tablespace EXAMPLE
>
> I'm getting some good clues here.  Keep them coming!
>
> Thanks,
> -Owen
>
> On 9/15/07, Ghassan Salem <salem.ghassan@gmail.com> wrote:
> > Owen,
> > did you put the tbs in R/O mode before copying?
> > rgds
> >
> > On 9/15/07, Owen Smith <owensmith99@gmail.com> wrote:
> > >
> > > David,
> > > Thanks for checking my work.
> > >
> > > datafiles is a valid keyword.  I do have "datafiles" in my command line.
> > >
> > > Unfortunately, datafile is not a valid keyword:
> > >
> > >
> > > bash sol oracle ~/product/10r2/assistants/dbca/templates 37 $
> > > bash sol oracle ~/product/10r2/assistants/dbca/templates 37 $
> > > bash sol oracle ~/product/10r2/assistants/dbca/templates 37 $ imp
> > > transport_tablespace=y file=example.dmp
> > > datafile=/h/oracle/oradata/orcl/example01.dfb tablespaces=EXAMPLE
> > > tts_owners=HR,IX,OE,PM,SH
> > > LRM-00101: unknown parameter name 'datafile'
> > >
> > > IMP-00022: failed to process parameters, type 'IMP HELP=Y' for help
> > > IMP-00000: Import terminated unsuccessfully
> > > bash sol oracle ~/product/10r2/assistants/dbca/templates 38 $
> > > bash sol oracle ~/product/10r2/assistants/dbca/templates 38 $
> > >
> > > I checked the link you give at oracle-base.
> > >
> > > My command line patterns with the command line there.
> > >
> > > Unfortunately, the demo there is for 9i.  My DB is 10gR2.
> > >
> > > Help anyone?
> > >
> > > -Owen
> > >
> > >
> > >
> > > On 9/15/07, David Sharples <davidsharples@gmail.com> wrote:
> > > > you missed out the datafile keyword in the import command
> > > >
> > > > http://www.oracle-base.com/articles/9i/TransportableTablespaces9i.php
> > > >
> > > >
> > > > On 15/09/2007, Owen Smith <owensmith99@gmail.com> wrote:
> > > > >
> > > > > Hello Oracle People,
> > > > >
> > > > > I'm trying to figure out how to import a transportable tablespace I
> > > found.
> > > > >
> > > >
> > > --
> > > http://www.freelists.org/webpage/oracle-l
> > >
> > >
> > >
> >
>
--
http://www.freelists.org/webpage/oracle-l


