Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Document

https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-stat...

Data Pump Export Errors Involving Spatial Data [ID 463844.1]


Modified: 06-Jul-2012 Type: PROBLEM Status: PUBLISHED Priority: 1

In this Document Symptoms Cause Solution

Applies to:
Oracle Spatial - Version 10.1.0.2 to 11.2.0.1 [Release 10.1 to 11.2] Information in this document applies to any platform.

Symptoms
While exporting spatial data using Data Pump following error occurs. ORA-39127: unexpected error from call to local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA('<Index_name>','<Table_name>','SDO_INDEX_MET HOD_10I','MDSYS',10.02.00.00.00,newblock,0) ORA-01403: no data found ORA-01403: no data found ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 257 ORA-06512: at line 1 ORA-06512: at "SYS.DBMS_METADATA", line 4770

Cause
The metadata entry for spatial index is corrupted.

Solution
To solve the problem please implement following steps. 1.Drop spatial index. SQL> drop index <index_name> ; Or SQL> drop index <index_name> force; 2.Delete metadata entry for table from user_sdo_geom_metadata view. SQL> delete from user_sdo_geom_metadata where table_name=<table_name> and column_name=<column_name>;

Ask your Spatial developer for the required values for the Spatial metadata and index creation syntax.

3.Reinsert metadata entry for table into user_sdo_geom_metadata view. 4.Recreate spatial index. 5.Run export using Data Pump.

1 of 1

31/01/2013 13:48

You might also like