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: conventional path export with direct=y

Re: conventional path export with direct=y

From: Frank van Bortel <frank.van.bortel_at_gmail.com>
Date: Sun, 31 Dec 2006 22:37:04 +0100
Message-ID: <en8067$gho$1@news5.zwoll1.ov.home.nl>


joel garry schreef:
> This one is causing hair loss.
>
> hp-ux 11.11, oracle 9.2.0.6
>
> I have a script that has been running for a couple of years now with a
> series of direct path exports, no problems. I recently created a new
> schema that is a subset and ETL of an existing schema, through a series
> of imports and SQL modifications. The application that uses these
> schemata is a bit picky about its data, and doesn't seem to have a
> problem with any of the schemata.
>
> The exp commands in the script are of the form (each on one line):
>
> exp abcdef/xyz DIRECT=Y compress=N recordlength=65535
> file=/oradata/exports/abcdef.exp log=/oradata/exports/abcdef.log
>
> The result of this is an export with only about a quarter of the
> tables, and none of the other objects like views, stored procedures,
> triggers, etc. It just lists the tables that it exports, then says
> Export terminated successfully without warnings. It also says it is
> using conventional path!

I know, not all tables can be exported with direct=y (LOBs mainly); exp will automatically switch to conventional export (and note that in the log). Also, NLS_LANG should be set (http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:466220335026) but have never seen failure to do so export only a quarter of the tables.
However, I never have used recordlength.

-- 
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Received on Sun Dec 31 2006 - 15:37:04 CST

Original text of this message

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