<?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 Re: ORA-29861:domain index is marked LOADING/FAILED/UNUSABLE in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820646#M3727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;SQL&amp;gt; select dbms_metadata.get_ddl('INDEX','A1_IX1','SDE')||chr(10)||'/' from dual;&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="125:3384;a" style="color: #2b2826; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;example:&amp;nbsp;&amp;nbsp;CREATE INDEX "SDE"."A1_IX1" ON "SDE"."GDB_ITEMS" ("SHAPE")&amp;nbsp;&amp;nbsp;INDEXTYPE IS "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;SQL&amp;gt; Drop Index&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;SQL&amp;gt; Recreate Index using the ddl from above&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Oct 2018 10:56:50 GMT</pubDate>
    <dc:creator>George_Thompson</dc:creator>
    <dc:date>2018-10-11T10:56:50Z</dc:date>
    <item>
      <title>ORA-29861:domain index is marked LOADING/FAILED/UNUSABLE</title>
      <link>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820643#M3724</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;We recently migrated our Oracle geodatabase from AIX to Oracle Linux platform. The geodatabase version is 10.4.1. We're using SDO_Geometry as our spatial type. While doing our database checks, we encountered an error while doing a reconcile/post.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/423779_Post_Error.png" /&gt;&lt;/P&gt;&lt;P&gt;As per our versioning framework, we have SDE.Default as the top version in hierarchy. Below that, we have 3 user schema versions - Schema1.ADMIN, Schema2.Admin, Schema3.Admin , all of them are children of SDE.Default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now under each schema admin version we have further children which are the user versions. So for example, we have a version Schema1.User1 which is child of Schema1.ADMIN, which in turn is child of SDE.Default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in the migrated database, we did some edits in&amp;nbsp;&lt;SPAN&gt;Schema1.User1 version, which were successfully reconciled and posted to&amp;nbsp;Schema1.ADMIN. The error has come when we do reconcile and post from&amp;nbsp;Schema1.ADMIN to SDE.Default. Here reconcile still works, it is in the post that we get this error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The ESRI article in the link given below is applicable for ArcSDE 9.2-9.3.1 and for ST_Geometry. In our case we do not have ArcSDE, we have ESRI Geodatabase 10.4.1 and enabled SDO_Geometry.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000010622" title="https://support.esri.com/en/technical-article/000010622"&gt;Error: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What could be the cause of this? Is it related to tablespace or something else?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Apurv&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 07:19:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820643#M3724</guid>
      <dc:creator>ApurvDanke</dc:creator>
      <dc:date>2018-10-05T07:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-29861:domain index is marked LOADING/FAILED/UNUSABLE</title>
      <link>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820644#M3725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be related to the domain index on the "GDB_*" table that is invalid. Run the following SQL to verify the indexes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;col index_name for A20&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="125:356;a" style="color: #2b2826; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;col table_name for A15&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="125:356;a" style="color: #2b2826; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;col index_type for A10&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="125:356;a" style="color: #2b2826; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;col domidx_status for A13&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="125:356;a" style="color: #2b2826; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;col domidx_opstatus for A15&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="125:356;a" style="color: #2b2826; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;select index_name, table_name, index_type, domidx_status, domidx_opstatus from user_indexes where index_type='DOMAIN' order by 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If the index is INVAILD, drop and rebuild it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 11:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820644#M3725</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2018-10-05T11:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-29861:domain index is marked LOADING/FAILED/UNUSABLE</title>
      <link>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820645#M3726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks George.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the SQL logging in as SDE user and this is the result in our staging database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/424145_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like all are valid. However, now we have a strange observation. Now when we do a reconcile/post to SDE.DEFAULT the error is not coming. But when we run "Synchronize Changes" python script to replicate the data updates from our staging database to consumption database, we are getting the error as given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 13.3333px;"&gt; &lt;/DIV&gt;&lt;DIV style="color: #000000; background-color: #ffffff; font-size: 13.3333px;"&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Synchronisation Started at Time 2018-10-08 10:50:58.501000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Source SDE = [Our staging database SDE connection]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black; background: #FFEE94;"&gt;Replication&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;&amp;nbsp;ID = [Our replica name]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Target SDE = [Our consumption database SDE connection]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Exception caught at :2018-10-08 10:51:14.283000&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Code = 1 (FAILURE),&lt;SPAN style="background: yellow;"&gt;&amp;nbsp;Underlying DBMS error&amp;nbsp;[ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Error on Line 86&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Replica Synchronisation Failed for Site Area&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;SPAN style="font-size: 10.0pt; color: black;"&gt;Code =&amp;nbsp;&lt;SPAN style="background: yellow;"&gt;Underlying DBMS error [ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I ran the same SQL query in our consumption database, and I see there is an index which is in FAILED state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/424147_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to drop and rebuild this index? Also our staging database is versioned, while consumption is non-versioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Apurv&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 06:45:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820645#M3726</guid>
      <dc:creator>ApurvDanke</dc:creator>
      <dc:date>2018-10-11T06:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-29861:domain index is marked LOADING/FAILED/UNUSABLE</title>
      <link>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820646#M3727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;SQL&amp;gt; select dbms_metadata.get_ddl('INDEX','A1_IX1','SDE')||chr(10)||'/' from dual;&lt;/SPAN&gt;&lt;BR data-aura-rendered-by="125:3384;a" style="color: #2b2826; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;example:&amp;nbsp;&amp;nbsp;CREATE INDEX "SDE"."A1_IX1" ON "SDE"."GDB_ITEMS" ("SHAPE")&amp;nbsp;&amp;nbsp;INDEXTYPE IS "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;SQL&amp;gt; Drop Index&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b2826; background-color: #ffffff;"&gt;SQL&amp;gt; Recreate Index using the ddl from above&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 10:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820646#M3727</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2018-10-11T10:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: ORA-29861:domain index is marked LOADING/FAILED/UNUSABLE</title>
      <link>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820647#M3728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN lang="en"&gt;In my case, the index error was presented as "failed" in the table GDB_ITEMS, 
and I solve it, only by deleting the index without trying to create it again

Regards
Leonardo
&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:44:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/ora-29861-domain-index-is-marked-loading-failed/m-p/820647#M3728</guid>
      <dc:creator>LeonardoEspinosa</dc:creator>
      <dc:date>2021-12-12T09:44:03Z</dc:date>
    </item>
  </channel>
</rss>

