My Oracle Support Banner

Package SYS.SDO_RDF_EXP_IMP after removing Spatial (Doc ID 2448675.1)

Last updated on OCTOBER 14, 2023

Applies to:

Oracle Spatial and Graph - Version to [Release 12.1 to 12.2]
Oracle Database - Enterprise Edition - Version to [Release 19]
Information in this document applies to any platform.


The following object is invalid in the SYS schema after a script was run to deinstall Spatial while leaving Locator in place.


Spatial was removed using the following:

sqlplus /nolog
conn / as sysdba
spool mddins.log
start ?/md/admin/mddins.sql
spool off

The remaining invalid object caused datapump to fail with

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-04063: package body "SYS.SDO_RDF_EXP_IMP" has errors
ORA-06508: PL/SQL: could not find program unit being called: "SYS.SDO_RDF_EXP_IMP"
ORA-06512: at line 1


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.