Blog Job Engineering
Thursday, May 06, 2010
 

Oracle Bug : exp-00003 when export tables with LOB columns


Ada bugs ketika export table yang berisi kolom bertipe BLOB. Isi kolom tersebut tidak dapat diexport ke database lain. Solusinya adalah sbb:

When you use old version of exp to export tables with LOB column from Oracle 9.2.0.5 or higher version, you will get an error "EXP-00003 : no storage definition found for segment .....", actually this is an Oracle bug, you could temporary get it resolved by replace a view "exu9tne", as following:

Before exporting, run the following SQL under sys:

CREATE OR REPLACE VIEW exu9tne (
tsno, fileno, blockno, length) AS
SELECT ts#, segfile#, segblock#, length
FROM sys.uet$
WHERE ext# = 1
UNION ALL
SELECT * FROM SYS.EXU9TNEB
/

After exporting, run the following to restore the view definition according to Metalink Notes.

CREATE OR REPLACE VIEW exu9tne (
tsno, fileno, blockno, length) AS
SELECT ts#, segfile#, segblock#, length
FROM sys.uet$
WHERE ext# = 1
/

Of cause, if you make the change, you should roll back the view definition after your work done.


Source
 
not another bull crap blog page

ARCHIVES
05/01/2003 - 06/01/2003 / 08/01/2003 - 09/01/2003 / 12/01/2004 - 01/01/2005 / 03/01/2005 - 04/01/2005 / 06/01/2005 - 07/01/2005 / 05/01/2006 - 06/01/2006 / 06/01/2006 - 07/01/2006 / 01/01/2009 - 02/01/2009 / 03/01/2009 - 04/01/2009 / 05/01/2010 - 06/01/2010 / 01/01/2012 - 02/01/2012 / 02/01/2012 - 03/01/2012 / 07/01/2012 - 08/01/2012 /


Powered by Blogger