<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SDE 10 Domain Index does not export ORA-39127 in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114069#M6513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sherriekubis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle 11.1.0.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Linux / RAC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE 10 SP 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When performing either an expdp or exp to create a full export of the database, receive this error on the domain indexes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-39127: unexpected error from call to local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA('A18008_IX1','SDECREATOR','ST_DOMAIN_METHODS','SDE',11.01.00.00.00,newblock,0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-20093: No ST_GRIDS supplied in PARAMETERS clause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 270&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at line 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SYS.DBMS_METADATA", line 5280&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After filing an SR with Oracle their response is that ESRI's custom domain index is not supported to expdp or exp.&amp;nbsp; We should drop the indexes before taking the export.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We do the export as a nightly safeguard and I see it as very risky to drop and recreate the domain indexes every night for this.&amp;nbsp; Any malfunction or error could cause an outage the next day for a maintenance reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else encountered this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2011 17:47:51 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-08-17T17:47:51Z</dc:date>
    <item>
      <title>SDE 10 Domain Index does not export ORA-39127</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114069#M6513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sherriekubis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oracle 11.1.0.7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Linux / RAC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDE 10 SP 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When performing either an expdp or exp to create a full export of the database, receive this error on the domain indexes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-39127: unexpected error from call to local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA('A18008_IX1','SDECREATOR','ST_DOMAIN_METHODS','SDE',11.01.00.00.00,newblock,0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-20093: No ST_GRIDS supplied in PARAMETERS clause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 270&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at line 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SYS.DBMS_METADATA", line 5280&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After filing an SR with Oracle their response is that ESRI's custom domain index is not supported to expdp or exp.&amp;nbsp; We should drop the indexes before taking the export.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We do the export as a nightly safeguard and I see it as very risky to drop and recreate the domain indexes every night for this.&amp;nbsp; Any malfunction or error could cause an outage the next day for a maintenance reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else encountered this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 17:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114069#M6513</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-08-17T17:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: SDE 10 Domain Index does not export ORA-39127</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114070#M6514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sherrie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The export of the table should work without dropping the index...Does the spatial table have a valid spatial index? Here are a couple things to check:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1- As the owner of the table (SDECREATOR) check if the table has an index:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;select index_name, table_name from user_ind_columns where index_name='A18008_IX1';

INDEX_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE_NAME
-------------------------- ------------------------------
A18008_IX1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LAKES&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2- Is the sde.st_geometry index information for the ST_GRIDS available?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;col owner format a12
col index_name format a10
col index_name format a15
col grid format a25

select owner, table_name, index_name,grid from sde.st_geometry_index where index_name='A18008_IX1';


OWNER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE_NAME INDEX_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GRID(GRID1, GRID2, GRID3)
------------ ---------- --------------- -------------------------
SDECREATOR&amp;nbsp;&amp;nbsp; LAKES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A18008_IX1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SP_GRID_INFO(8, 0, 0)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you can probably reproduce the problem by just exporting the single table that is failing...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As SYS:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
CREATE DIRECTORY dmpdir AS '/opt/oracle';
GRANT read, write ON DIRECTORY dmpdir TO map;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AS OWNER of table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
expdp sdecreator/sdecreator DIRECTORY=dmpdir DUMPFILE=temp.dmp TABLES='LAKES'&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also might be related to the fact the instance is a RAC. I'll see if I can test that out to reproduce on a RAC server...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 06:46:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114070#M6514</guid>
      <dc:creator>ForrestJones</dc:creator>
      <dc:date>2021-12-11T06:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: SDE 10 Domain Index does not export ORA-39127</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114071#M6515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: sherriekubis&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Fojo.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the results:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select index_name, table_name, index_owner, table_owner from dba_ind_columns where index_name='A18008_IX1';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;INDEX_NAME TABLE_NAME INDEX_OWNER TABLE_OWNER&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A18008_IX1 AGSWM SDECREATOR SDECREATOR&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;select owner, table_name, index_name,grid from sde.st_geometry_index where index_name='A18008_IX1';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OWNER TABLE_NAME INDEX_NAME GRID&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SDECREATOR AGSWM A18008_IX1 (2600, 0, 0)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The expdp fails with: I used a .par file and executed from the SYS account&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With the Partitioning, Real Application Clusters, OLAP, Data Mining&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and Real Application Testing options&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Starting "SYS"."EXPDP_SDECREATOR_AGSWM": /******** AS SYSDBA parfile=sdecreator.par &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Estimate in progress using BLOCKS method...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Processing object type TABLE_EXPORT/TABLE/TABLE_DATA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Total estimation using BLOCKS method: 200.4 MB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Processing object type TABLE_EXPORT/TABLE/TABLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-39127: unexpected error from call to local_str := SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA('A18008_IX1','SDECREATOR','ST_DOMAIN_METHODS','SDE',11.01.00.00.00,newblock,0) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-20093: No ST_GRIDS supplied in PARAMETERS clause.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 270&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at line 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ORA-06512: at "SYS.DBMS_METADATA", line 5280&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Processing object type TABLE_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;. . exported "SDECREATOR"."AGSWM" 320.7 KB 856 rows&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Master table "SYS"."EXPDP_SDECREATOR_AGSWM" successfully loaded/unloaded&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;******************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dump file set for SYS.EXPDP_SDECREATOR_AGSWM is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; /exports/entod/exp_sdecreator_08252011_11_20.dmp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Job "SYS"."EXPDP_SDECREATOR_AGSWM" completed with 1 error(s) at 11:34:03&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 14:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114071#M6515</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-08-25T14:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: SDE 10 Domain Index does not export ORA-39127</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114072#M6516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Original User: nios&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find a solution of the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Niklas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Feb 2012 20:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114072#M6516</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-02-12T20:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: SDE 10 Domain Index does not export ORA-39127</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114073#M6517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had the same problem with Oracle 11gR2 (11.2.0.3) on AIX environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my environment has strict security database implimentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need first to grant the permission to the oracle account having these domain index problems, you may refer to: &lt;A href="https://geodatamaster.wordpress.com/2014/06/22/underlying-dbms-errorora-29902-error-in-executing-odciindexstart-routine-ora-01031-insufficient-privileges-ora-06512-at-sde-spx_utilline-847-ora-06512-at-sde-spx_utilline-891/" title="https://geodatamaster.wordpress.com/2014/06/22/underlying-dbms-errorora-29902-error-in-executing-odciindexstart-routine-ora-01031-insufficient-privileges-ora-06512-at-sde-spx_utilline-847-ora-06512-at-sde-spx_utilline-891/"&gt;Underlying DBMS error[ORA-29902: error in executing ODCIIndexStart() routine ORA-01031: insufficient privileges ORA-065…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://geodatamaster.wordpress.com/2014/06/22/underlying-dbms-errorora-29902-error-in-executing-odciindexstart-routine-ora-01031-insufficient-privileges-ora-06512-at-sde-spx_utilline-847-ora-06512-at-sde-spx_utilline-891/" title="https://geodatamaster.wordpress.com/2014/06/22/underlying-dbms-errorora-29902-error-in-executing-odciindexstart-routine-ora-01031-insufficient-privileges-ora-06512-at-sde-spx_utilline-847-ora-06512-at-sde-spx_utilline-891/"&gt;Underlying DBMS error[ORA-29902: error in executing ODCIIndexStart() routine ORA-01031: insufficient privileges ORA-065…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then try to rebuild the domain indexes (it will work):&lt;/P&gt;&lt;P&gt;select 'alter index ' || OWNER || '.'||INDEX_NAME|| ' rebuild ;' from all_indexes where owner='ORACLE_USER' and INDEX_TYPE='DOMAIN';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/114073#M6517</guid>
      <dc:creator>EmadAl-Mousa</dc:creator>
      <dc:date>2015-04-08T07:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: SDE 10 Domain Index does not export ORA-39127</title>
      <link>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/1406922#M45067</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I faced very similar problem (*) during oracle expdp from Oracle 19 database but above hint didn't help me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even excluding that index from expdp resolve the issue. Only dropping from the database (but I can't do it in the production environment).&lt;/P&gt;&lt;P&gt;Does someone have any suggestion?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lorenzo&lt;/P&gt;&lt;P&gt;(*)&lt;/P&gt;&lt;P&gt;ORA-39127: unexpected error from call to status := SYS.DBMS_EXPORT_EXTENSION.GET_V2_DOMAIN_INDEX_TABLES('A164_IX1','SDE','ST_DOMAIN_METHODS','SDE',0,'19.15.00.00.00',1,0)&lt;BR /&gt;ORA-01422: exact fetch returns more than requested number of rows&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2024 09:23:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/sde-10-domain-index-does-not-export-ora-39127/m-p/1406922#M45067</guid>
      <dc:creator>lollo</dc:creator>
      <dc:date>2024-04-07T09:23:27Z</dc:date>
    </item>
  </channel>
</rss>

