<?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: Rebuild Indexes after moving tablespace in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1235977#M8055</link>
    <description>&lt;P&gt;if you have a featureclass registered as traditional versioning then your featureclasses has the Base Table, Adds Table and Deletes Table, and a Spatial Index will be added to the A table and to the B Table, hence you have 2 Spatial Indexes. Oracle displays the tablespace name as null because the index_type is a domain index, but if you check the tablespace size where the indexes are located you will notice the indexes are in the correct tablespace. I hope this clarifies.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 16:19:42 GMT</pubDate>
    <dc:creator>MarceloMarques</dc:creator>
    <dc:date>2022-11-29T16:19:42Z</dc:date>
    <item>
      <title>Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1215969#M7896</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Oracle 19c and ArcGIS Enterprise 10.9&lt;/P&gt;&lt;P&gt;Recenty I move some Feature Class into another tablespace. I observe the indexes using query :&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT table_name, index_name, index_type, status, NUM_ROWS&lt;BR /&gt;FROM DBA_INDEXES WHERE STATUS='UNUSABLE' AND owner = 'SDE'&lt;/P&gt;&lt;P&gt;The Normal and Domain indexes become "unusable". I know I can rebuild Indexes using ArcGIS Pro but I think its to tiresome becasue I have 1000 feature classes. I prefer using phyton script or query / plsql. Is there anyone here can help or at least point me to a direction?&lt;BR /&gt;&lt;BR /&gt;Moreover, I tried to delete the attribute Index. But the button is greyed out. Why ? I can rebuild the spatial index just fine. See the picture below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yockee_0-1664194438691.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/52152i442922B9580045C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yockee_0-1664194438691.png" alt="yockee_0-1664194438691.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I delete and then rebuild the Attribute Index again with the same name (or with deifferent name, its fine) ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 12:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1215969#M7896</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-09-26T12:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1216146#M7897</link>
      <description>&lt;P&gt;You can see several examples to automate the rebuild index via Oracle SQL PLUS script in my blog posts, see links below, you can also use the Pro Geoprocessing Tool to Rebuild the Indexes, right click the GP Tool Rebuild Indexes and choose batch and drap and drop the featureclasses and tables, you can save the GP Tool Batch to execute later again, you can then further automate the execution with Model Builder or export as an arcpy python script. &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/rebuild-indexes.htm" target="_blank" rel="noopener"&gt;Rebuild Indexes (Data Management)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, I am an Oracle DBA hence I prefer Oracle SQL commands to rebuild the indexes ( attribute indexes and spatial indexes ) because I can choose advanced options to rebuild indexes like "PARALLEL" and "ONLINE".&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/how-to-move-an-enterprise-geodatabase-with-the/ba-p/1212116" target="_blank" rel="noopener"&gt;How to move an Enterprise Geodatabase with the Oracle Data Pump Utility&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note: see &lt;EM&gt;"7.6.Change data owner schema storage"&lt;/EM&gt; and "&lt;EM&gt;8.5.Rebuild Indexes"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/oracle-egdb-sde-repo-upgrade-using-oracle-restore/ba-p/1190454" target="_blank" rel="noopener"&gt;Oracle eGDB SDE Repo Upgrade Using Oracle Restore Point&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The option to delete the attribute index Rxxx_SDE_ROWID_UK&amp;nbsp; is grayed out because it is the unique index of the objectid field.&lt;/P&gt;&lt;P&gt;For more database best practices visit my blog page.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/mapping-and-charting-solutions-mcs-enterprise/ba-p/893351" target="_blank" rel="noopener"&gt;Mapping and Charting Solutions (MCS) Enterprise Databases Best Practices&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/mapping-and-charting-enterprise-databases/bg-p/mapping-charting-enterprise-databasesblog-board" target="_blank" rel="noopener"&gt;Mapping and Charting Enterprise Databases - Esri Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 19:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1216146#M7897</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-09-26T19:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1216366#M7898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7880"&gt;@MarceloMarques&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The "Rxxxx_SDE_ROWID_UK" is greyed out and I see it's status is "UNUSABLE". If its Unusable, how can I&amp;nbsp; make it usable again ? I want to delete and rebuild it in order to make it usable again..&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 02:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1216366#M7898</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-09-27T02:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1216535#M7899</link>
      <description>&lt;P&gt;You will need to manually drop the index in Oracle via SQL Plus or Oracle SQL Developer then open ArcGIS Pro and rebuild the index.&lt;BR /&gt;&lt;A href="https://support.esri.com/en/technical-article/000010622" target="_blank"&gt;Error: ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE (esri.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2022 15:25:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1216535#M7899</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-09-27T15:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1218184#M7910</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7880"&gt;@MarceloMarques&lt;/a&gt;&amp;nbsp; Thanks..&lt;BR /&gt;Any Idea how to rebuild spatial index using query?&lt;BR /&gt;I am able to build attribute index using query, but I just can not find any articles on building spatial index using query&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 07:20:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1218184#M7910</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-10-03T07:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1218301#M7912</link>
      <description>&lt;P&gt;You rebuild the spatial index the same way you rebuild an attribute index via SQL, there is no difference in the syntax, example:&amp;nbsp; "ALTER INDEX &amp;lt;index_name&amp;gt; REBUILD ONLINE PARALLEL 8 TABLESPACE &amp;lt;tbs_name&amp;gt;;"&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 16:11:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1218301#M7912</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-10-03T16:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1223701#M7963</link>
      <description>&lt;P&gt;Additional question.&lt;BR /&gt;1. Actually, a Feature Class has 3 indexes associated with it : Lob (SYS_IL*), Normal (R*_SDE_ROWID) and Spatial (A*_IX1). For the Lob index, do I need to move it as well ? There is no indication that the Lob Index is unusable.&amp;nbsp;How can I move the Lob Index anyway ? when I run this query "ALTER INDEX SYS_IL0000196018C00023$$ REBUILD TABLESPACE DATAUSER1" There is error : "SQL Error [2243] [42000]: ORA-02243: invalid ALTER INDEX or ALTER MATERIALIZED VIEW option"&lt;BR /&gt;&lt;BR /&gt;2. This command fails for moving spatial index :&amp;nbsp;ALTER INDEX SDE.A280_IX1 REBUILD PARALLEL 8 NOLOGGING TABLESPACE DATAUSER1; Any other alternative command ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 07:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1223701#M7963</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-10-20T07:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1223796#M7964</link>
      <description>&lt;P&gt;Read my white paper&amp;nbsp;&lt;A href="https://esriis-my.sharepoint.com/personal/marc3932_esri_com/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Fmarc3932%5Fesri%5Fcom%2FDocuments%2Fmcs%5Fdb%5Fscripts%2Fwiki%2Egis%2Fguide%5Fbooks%5Fpro%5F3x%2FStoring%20the%20Production%20Mapping%20workspace%20in%20a%20geodatabase%20in%20Oracle%5F2022%5F06%5F23%2Epdf&amp;amp;parent=%2Fpersonal%2Fmarc3932%5Fesri%5Fcom%2FDocuments%2Fmcs%5Fdb%5Fscripts%2Fwiki%2Egis%2Fguide%5Fbooks%5Fpro%5F3x&amp;amp;ga=1" target="_blank" rel="noopener"&gt;guide_books_pro_3x - OneDrive (sharepoint.com)&lt;/A&gt;&amp;nbsp;-&amp;nbsp;&lt;EM&gt;11.&amp;nbsp;Verifying&amp;nbsp;the&amp;nbsp;tablespace&amp;nbsp;storage&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN&gt;List&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;large&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;objects&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;(LOBS)&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;by&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;table.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="" size=""&gt;&lt;EM&gt;SELECT * FROM USER_LOBS WHERE SEGMENT_NAME LIKE 'SYS_LOB%' ORDER BY TABLE_NAME;&lt;/EM&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If&amp;nbsp;you&amp;nbsp;are&amp;nbsp;moving&amp;nbsp;large&amp;nbsp;objects&amp;nbsp;(LOB)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;read&amp;nbsp;Oracle Support Doc ID 130814.1 How&amp;nbsp;to&amp;nbsp;move&amp;nbsp;LOB&amp;nbsp;Data&amp;nbsp;to&amp;nbsp;Another&amp;nbsp;Tablespace.&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;support.oracle.com&lt;/EM&gt;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;&lt;EM&gt;How To Move LOB Data To Another Tablespace&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;EM&gt;&lt;SPAN class=""&gt;(Doc ID 130814.1)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="" size=""&gt;select chunk 
from dba_lobs
where table_name =upper('ContainsLOB_tab');
  2    3  
     CHUNK
----------
      8192

ALTER TABLE ContainsLOB_tab
MOVE LOB(c) STORE AS (
TABLESPACE users CHUNK 17000
);
/

SQL&amp;gt; select chunk 
from dba_lobs
where table_name =upper('ContainsLOB_tab');&lt;/FONT&gt;&lt;/PRE&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;SPAN class=""&gt;How To Move A LOB Index To Another Tablespace ?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/EM&gt;&lt;EM&gt;&lt;SPAN class=""&gt;(Doc ID 871203.1)&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="" size=""&gt;&lt;EM&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;--&amp;nbsp; 1. find out the column name&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;select&amp;nbsp;column_name&amp;nbsp;from&amp;nbsp;dba_lobs&amp;nbsp;where&amp;nbsp;index_name='SYS_IL...$$'&amp;nbsp;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&amp;nbsp; 2. move the lob (and the lob index)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ALTER&amp;nbsp;TABLE &amp;lt;table name&amp;gt; MOVE&amp;nbsp;LOB(&amp;lt;column&amp;nbsp;name&amp;nbsp;from&amp;nbsp;above&amp;gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;STORE&amp;nbsp;AS &amp;lt;new lob segment name&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(tablespace &amp;lt;new tablespace&amp;gt; storage&amp;nbsp;(&amp;lt;storage attributes&amp;gt;));&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;
SQL&amp;gt; select chunk 
from dba_lobs
where table_name =upper('ContainsLOB_tab');&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;&lt;I&gt;* You need a valid Oracle Support Identifier (SI) to access the Oracle Support Articles.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 14:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1223796#M7964</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-10-20T14:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1226955#M7978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/7880"&gt;@MarceloMarques&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to move the spatial index into new tablespace (the same with the feature class's tablespace). Here is what I do :&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;FONT color="#0000FF"&gt;DROP INDEX SDE.A276_IX1 FORCE;&lt;/FONT&gt;&amp;nbsp; &amp;nbsp;-- I have to drop it otherwise it can not be rebuild&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;FONT color="#0000FF"&gt;CREATE INDEX SDE.A276_IX1&amp;nbsp;ON FEATURECLASS_LN_1K(SHAPE)&amp;nbsp;INDEXTYPE IS sde.st_spatial_index&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;PARAMETERS('st_grids=840 st_srid=32748 ST_COMMIT_ROWS = 10000 PCTFREE 0 INITRANS 4 TABLESPACE USERDATA1')&lt;/FONT&gt;;&amp;nbsp; &amp;nbsp;--recreating the index because &lt;FONT color="#0000FF"&gt;ALTER index REBUILD&lt;/FONT&gt; does not work&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I check using query : "&lt;FONT color="#0000FF"&gt;SELECT * FROM dba_indexes WHERE rownum &amp;lt; 5 AND table_name = 'FEATURECLASS_LN_1K&lt;/FONT&gt;'", the &lt;FONT color="#0000FF"&gt;TABLESPACE_NAME = NULL&lt;/FONT&gt; and&amp;nbsp;&lt;FONT color="#0000FF"&gt;STATUS = VALID&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;How can I create spatial index via query correctly ? Why is the tablespace_name is NULL ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 07:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1226955#M7978</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-10-31T07:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1227084#M7979</link>
      <description>&lt;P&gt;--DOMAIN INDEX--&lt;/P&gt;&lt;P&gt;SELECT * FROM user_indexes where index_name = 'A241_IX1';&lt;BR /&gt;/*&lt;BR /&gt;INDEX_NAME, INDEX_TYPE, TABLE_OWNER, TABLE_NAME, TABLE_TYPE, UNIQUENESS, COMPRESSION, PREFIX_LENGTH, TABLESPACE_NAME&lt;BR /&gt;A241_IX1 DOMAIN GIS STREETS TABLE NONUNIQUE DISABLED &amp;lt;null&amp;gt; &amp;lt;null&amp;gt;&lt;BR /&gt;*/&lt;BR /&gt;&lt;BR /&gt;"ALTER INDEX &amp;lt;index_name&amp;gt; REBUILD ONLINE PARALLEL 8 TABLESPACE &amp;lt;tbs_name&amp;gt;;"&lt;/P&gt;&lt;P&gt;ALTER INDEX GIS.A241_IX1 REBUILD ONLINE PARALLEL 8 TABLESPACE GIS_SINDEX;&lt;/P&gt;&lt;P&gt;/*&lt;BR /&gt;Error starting at line : 7 in command -&lt;BR /&gt;ALTER INDEX GIS.A241_IX1 REBUILD ONLINE&lt;BR /&gt;Error report -&lt;BR /&gt;&lt;STRONG&gt;ORA-29871: invalid alter option for a domain index&lt;/STRONG&gt;&lt;BR /&gt;29871. 00000 - "invalid alter option for a domain index"&lt;BR /&gt;*Cause: The user specified an invalid option for altering a domain index.&lt;BR /&gt;*Action: Reissue the alter statement with a valid option.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--My Oracle Support: How To Validate/Rebuild Domain Index (ORA-29871: invalid alter option for a domain index) (Doc ID 1580967.1)&lt;/STRONG&gt;&lt;BR /&gt;/*&lt;BR /&gt;Use the following syntax to rebuild the Domain Index:&lt;/P&gt;&lt;P&gt;alter index HR.HR_LOCATIONS_SPT rebuild;&lt;/P&gt;&lt;P&gt;See the explanation for the ORA-29871 error below:&lt;/P&gt;&lt;P&gt;The command ALTER INDEX rebuild online is not a valid command for a domain index.&lt;/P&gt;&lt;P&gt;The modification of indexes is subject to the following restrictions:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-If index is a domain index, then you can specify only the PARAMETERS clause, the RENAME clause, the rebuild_clause (with or without the PARAMETERS clause),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;the parallel_clause, or the UNUSABLE clause. No other clauses are valid.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- You cannot alter or rename a domain index that is marked LOADING or FAILED. If an index is marked FAILED, then the only clause you can specify is REBUILD.&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;-- Documentation about Domain Indexes: &lt;A href="https://docs.oracle.com/en/database/oracle/oracle-database/19/addci/building-domain-indexes.html#GUID-7E2F4550-36F8-4417-9983-B4DE8277BB89" target="_blank" rel="noopener"&gt;https://docs.oracle.com/en/database/oracle/oracle-database/19/addci/building-domain-indexes.html#GUID-7E2F4550-36F8-4417-9983-B4DE8277BB89&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ALTER INDEX GIS.A241_IX1 REBUILD;&lt;BR /&gt;/*&lt;BR /&gt;Index GIS.A241_IX1 altered.&lt;BR /&gt;*/&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 17:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1227084#M7979</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-10-31T17:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1235771#M8051</link>
      <description>&lt;P&gt;I still can not move my spatial index storage to a new place.&lt;/P&gt;&lt;P&gt;Here is what I do :&lt;/P&gt;&lt;P&gt;- Drop the index: &lt;STRONG&gt;DROP INDEX SDE.A280_IX1 FORCE;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Run this query : "&lt;STRONG&gt;CREATE INDEX SDE.A280_IX1 REBUILD PARAMETERS('st_grids=1,3,0 st_srid=32748 tablespace=NEWTBS');&lt;/STRONG&gt;"&lt;/P&gt;&lt;P&gt;- Run :&amp;nbsp;&lt;STRONG&gt;ALTER INDEX A280_IX1 rebuild&amp;nbsp; &lt;/STRONG&gt;Success. But this does not changed the tablespace location to a new location&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Run : &lt;STRONG&gt;ALTER INDEX A280_IX1 rebuild tablespace NEWTBS online;&lt;/STRONG&gt;&amp;nbsp; -- Error :&amp;nbsp;ORA-29871: invalid alter option for a domain index&lt;/P&gt;&lt;P&gt;- Run :&amp;nbsp;&lt;STRONG&gt;ALTER INDEX A280_IX1 tablespace NEWTBS;&amp;nbsp; &lt;/STRONG&gt;--Error:&amp;nbsp;ORA-02243: invalid ALTER INDEX or ALTER MATERIALIZED VIEW option&lt;/P&gt;&lt;P&gt;- Run :&amp;nbsp;&lt;STRONG&gt;ALTER INDEX A276_IX1 REBUILD MOVE TABLESPACE&lt;/STRONG&gt; &lt;STRONG&gt;NEWTBS;&amp;nbsp;&lt;/STRONG&gt;--ORA-02243: invalid ALTER INDEX or ALTER MATERIALIZED VIEW option&lt;/P&gt;&lt;P&gt;When I query "&lt;STRONG&gt;SELECT * FROM dba_indexes WHERE rownum &amp;lt; 5 AND table_name = 'STREET'&lt;/STRONG&gt;", the &lt;EM&gt;tablespace = NULL&lt;/EM&gt; and &lt;EM&gt;Status = Valid&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;What am I missing? Are there any legitimate ways of doing it correctly?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 06:28:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1235771#M8051</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-11-29T06:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1235788#M8052</link>
      <description>&lt;P&gt;UPDATE: It turns out that the default tablespace name is always NULL. Interesting !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is what I do :&lt;/P&gt;&lt;P&gt;- Observe the original tablespace :&amp;nbsp;SELECT * FROM user_indexes where index_name = 'A346_IX1'&amp;nbsp; &lt;EM&gt;--the tablespacename = NULL&lt;/EM&gt;&lt;BR /&gt;- Drop it :&amp;nbsp;DROP INDEX A346_IX1 FORCE;&amp;nbsp; --&lt;EM&gt;success&lt;/EM&gt;&lt;BR /&gt;- Recreate it :&amp;nbsp;CREATE INDEX SDE.A280_IX1&lt;BR /&gt;ON STREET(SHAPE)&lt;BR /&gt;INDEXTYPE IS sde.st_spatial_index&lt;BR /&gt;PARAMETERS('st_grids=1,3,0 st_srid=32748 tablespace NEWTBS');&amp;nbsp; &amp;nbsp;--&lt;EM&gt;success&lt;/EM&gt;&lt;BR /&gt;- Observer again once more :&amp;nbsp;SELECT * FROM user_indexes where index_name = 'A346_IX1'&amp;nbsp; --&lt;EM&gt;--the tablespacename = NULL too&lt;/EM&gt;&lt;BR /&gt;The result of the 2 observations are EXACTLY THE SAME.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt; 1 :&lt;BR /&gt;But why the default tablesapce is always NULL? Where are all the spatial indexes are stored then?&lt;/P&gt;&lt;P&gt;Moreover, I read article here :&amp;nbsp;&lt;A href="https://support.esri.com/en/technical-article/000009505" target="_blank" rel="noopener"&gt;https://support.esri.com/en/technical-article/000009505&lt;/A&gt;&amp;nbsp;. It says that the spatial index's name follows this pattern :&amp;nbsp;S&amp;lt;geom_id&amp;gt;_IDX$. If I follow this, then my feature class has spatial index name : S1244_idx$.&lt;/P&gt;&lt;P&gt;So, now I end up with 2 spatial indexes :&amp;nbsp; A346_IX1 vs&amp;nbsp;S1244_idx$.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt; 2 : Which one is the correct spatial index ?&lt;/P&gt;&lt;P&gt;Then I change the tablespace location using :&amp;nbsp;ALTER TABLE "S1244_IDX$" MOVE TABLESPACE NEWTBS;&amp;nbsp; ---&lt;EM&gt;success&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Check if it works :&amp;nbsp;SELECT tablespace_name&lt;BR /&gt;FROM user_indexes&lt;BR /&gt;WHERE index_name = 'S1244_IDX$';&amp;nbsp; -- tablespace is NULL.&lt;/P&gt;&lt;P&gt;Note : I find A346_IX1 with query :&lt;BR /&gt;SELECT table_name, index_name, column_name&lt;BR /&gt;FROM dba_ind_columns&lt;BR /&gt;WHERE table_owner='SDE'&lt;BR /&gt;AND table_name in&lt;BR /&gt;('STREET')&lt;BR /&gt;order BY table_name, column_position;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 08:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1235788#M8052</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-11-29T08:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1235977#M8055</link>
      <description>&lt;P&gt;if you have a featureclass registered as traditional versioning then your featureclasses has the Base Table, Adds Table and Deletes Table, and a Spatial Index will be added to the A table and to the B Table, hence you have 2 Spatial Indexes. Oracle displays the tablespace name as null because the index_type is a domain index, but if you check the tablespace size where the indexes are located you will notice the indexes are in the correct tablespace. I hope this clarifies.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 16:19:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1235977#M8055</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-11-29T16:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1239524#M8103</link>
      <description>&lt;P&gt;I read &lt;A title="spatial indexes" href="https://desktop.arcgis.com/en/arcmap/10.3/manage-data/using-sql-with-gdbs/spatial-indexes-and-stgeometry.htm" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. It says : "&lt;SPAN&gt;A feature class created using ST_Geometry storage with a spatial index creates an additional table within the Oracle database. The spatial index table is named S&amp;lt;n&amp;gt;_IDX$, where &amp;lt;n&amp;gt; is the geometry index value for the table. The value can be obtained by querying the SDE.ST_GEOMETRY_COLUMNS table. The spatial index table is created as an Oracle Indexed Organized Table (IOT). &lt;STRONG&gt;The spatial index on the ST_Geometry attribute appears as&lt;/STRONG&gt; &lt;STRONG&gt;A&amp;lt;n&amp;gt;_IX1 when viewed through Enterprise Manager&lt;/STRONG&gt;. The value of &amp;lt;n&amp;gt; represents the LAYER_ID value stored in the LAYERS table.&lt;/SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;Based on that article, so I am thinking that those &lt;STRONG&gt;2 indexes are actually the same&lt;/STRONG&gt;. Am I wrong?&lt;/P&gt;&lt;P&gt;But I think , the A&amp;lt;n&amp;gt;_IX and S&amp;lt;n&amp;gt;$_IX are 2 different entities.&lt;/P&gt;&lt;P&gt;Index "A&amp;lt;n&amp;gt;_IX" can be found on "&lt;SPAN&gt;&lt;STRONG&gt;dba_ind_columns&lt;/STRONG&gt;" whereas the "S&amp;lt;n&amp;gt;$_IX" can be found on "&lt;STRONG&gt;user_indexes&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;&lt;STRONG&gt;A&amp;lt;n&amp;gt;_IX can not be moved straight away&lt;/STRONG&gt;. It has to be dropped and then recreate. But still the tablespace_name shows NULL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Whereas &lt;STRONG&gt;the&amp;nbsp;S&amp;lt;n&amp;gt;$_IX can be moved straight away&lt;/STRONG&gt; using&amp;nbsp;ALTER TABLE "S&amp;lt;id&amp;gt;_IDX$" MOVE TABLESPACE NEWTBS1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should I &lt;STRONG&gt;move both&lt;/STRONG&gt; the&amp;nbsp;A&amp;lt;n&amp;gt;_IX and S&amp;lt;n&amp;gt;$_IX ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And moreover, the Feature Class is not registered as versioned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I am just confused and still learning to understand it fully. Please pardon me.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 06:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1239524#M8103</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-12-09T06:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1239748#M8113</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/116349"&gt;@yockee&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; Based on that article, so I am thinking that those&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;2 indexes are actually the same&lt;/STRONG&gt;&lt;SPAN&gt;. Am I wrong?&amp;nbsp;But I think , the A&amp;lt;n&amp;gt;_IX and S&amp;lt;n&amp;gt;$_IX are 2 different entities.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt; they are 2 different indexes.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; Should I&amp;nbsp;&lt;STRONG&gt;move both&lt;/STRONG&gt;&amp;nbsp;the&amp;nbsp;A&amp;lt;n&amp;gt;_IX and S&amp;lt;n&amp;gt;$_IX ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt; yes&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_0-1670609180316.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58158iCDF0C04C2033E537/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_0-1670609180316.png" alt="MarceloMarques_0-1670609180316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_6-1670609970384.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58164iD609CA4CE7AC7A84/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_6-1670609970384.png" alt="MarceloMarques_6-1670609970384.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_4-1670609764481.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58162i87876A4C8B4BF22A/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_4-1670609764481.png" alt="MarceloMarques_4-1670609764481.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarceloMarques_5-1670609874767.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/58163i415ABE7DE235B7F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="MarceloMarques_5-1670609874767.png" alt="MarceloMarques_5-1670609874767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;--REBUILD INDEXES&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;--TABLE STREETS--&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;ALTER INDEX A241_IX1 REBUILD TABLESPACE GIS_BINDEX ONLINE PARALLEL 4; --index_type=DOMAIN&lt;BR /&gt;/*&lt;BR /&gt;Error report -&lt;BR /&gt;ORA-29871: invalid alter option for a domain index&lt;BR /&gt;29871. 00000 - "invalid alter option for a domain index"&lt;BR /&gt;*Cause: The user specified an invalid option for altering a domain index.&lt;BR /&gt;*Action: Reissue the alter statement with a valid option.&lt;BR /&gt;*/&lt;BR /&gt;--GENERATE THE INDEX SQL DDL THEN DROP THE INDEX AND TRY TO RECREATE ON ANOTHER TABLESPACE!!!&lt;/P&gt;&lt;P&gt;DROP INDEX "GIS"."A241_IX1";&lt;BR /&gt;--Index "GIS"."A241_IX1" dropped.&lt;/P&gt;&lt;P&gt;CREATE INDEX "GIS"."A241_IX1" ON "GIS"."STREETS" ("SHAPE")&lt;BR /&gt;INDEXTYPE IS "SDE"."ST_SPATIAL_INDEX" PARAMETERS ('ST_GRIDS=6000:0:0 ST_SRID=300003')&lt;BR /&gt;TABLESPACE "GIS_BINDEX";&lt;BR /&gt;/*&lt;BR /&gt;Error report -&lt;BR /&gt;ORA-29850: invalid option for creation of domain indexes&lt;BR /&gt;29850. 00000 - "invalid option for creation of domain indexes"&lt;BR /&gt;*Cause: The user specified an invalid option like ASC, DESC, SORT or a&lt;BR /&gt;parallel clause, partitioning clause &lt;STRONG&gt;or physical attributes clause&lt;/STRONG&gt;.&lt;BR /&gt;*Action: Choose one of the valid clauses for creation of domain indexes.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;DROP INDEX "GIS"."A241_IX1";&lt;BR /&gt;--add the tablespace as parameter&lt;BR /&gt;CREATE INDEX "GIS"."A241_IX1" ON "GIS"."STREETS" ("SHAPE")&lt;BR /&gt;INDEXTYPE IS "SDE"."ST_SPATIAL_INDEX" PARAMETERS ('ST_GRIDS=6000:0:0 ST_SRID=300003 &lt;STRONG&gt;TABLESPACE=GIS_BINDEX&lt;/STRONG&gt;');&lt;BR /&gt;/*&lt;BR /&gt;Error report -&lt;BR /&gt;ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine&lt;BR /&gt;ORA-02216: tablespace name expected&lt;BR /&gt;ORA-06512: at "SYS.DBMS_SQL", line 1199&lt;BR /&gt;ORA-06512: at "SDE.ST_DOMAIN_METHODS", line 1425&lt;BR /&gt;29855. 00000 - "error occurred in the execution of ODCIINDEXCREATE routine"&lt;BR /&gt;*Cause: Failed to successfully execute the ODCIIndexCreate routine.&lt;BR /&gt;*Action: Check to see if the routine has been coded correctly.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;DROP INDEX "GIS"."A241_IX1";&lt;BR /&gt;--add the tablespace as parameter&lt;BR /&gt;CREATE INDEX "GIS"."A241_IX1" ON "GIS"."STREETS" ("SHAPE")&lt;BR /&gt;INDEXTYPE IS "SDE"."ST_SPATIAL_INDEX" PARAMETERS ('ST_GRIDS=6000:0:0 ST_SRID=300003 &lt;STRONG&gt;TABLESPACE GIS_BINDEX&lt;/STRONG&gt;');&lt;BR /&gt;--Index "GIS"."A241_IX1" created. --Works!!! but do not think it uses the tablespace parameter !!!&lt;/P&gt;&lt;P&gt;DROP INDEX "GIS"."A241_IX1";&lt;BR /&gt;CREATE INDEX "GIS"."A241_IX1" ON "GIS"."STREETS" ("SHAPE")&lt;BR /&gt;INDEXTYPE IS "SDE"."ST_SPATIAL_INDEX" PARAMETERS ('ST_GRIDS=6000:0:0 ST_SRID=300003');&lt;BR /&gt;--Index "GIS"."A241_IX1" created.&lt;/P&gt;&lt;P&gt;--CONCLUSION: CANNOT MOVE A DOMAIN INDEX !!!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--Building Domain Indexes&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://docs.oracle.com/en/database/oracle/oracle-database/19/addci/building-domain-indexes.html#GUID-E370B5E4-BAC0-49C6-B17D-830B3A507FB4" target="_blank"&gt;https://docs.oracle.com/en/database/oracle/oracle-database/19/addci/building-domain-indexes.html#GUID-E370B5E4-BAC0-49C6-B17D-830B3A507FB4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;ALTER INDEX R290_SDE_ROWID_UK REBUILD TABLESPACE GIS_BINDEX ONLINE PARALLEL 4; --index_type=normal&lt;BR /&gt;--Index R290_SDE_ROWID_UK altered.&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;--TABLE A290--&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;ALTER INDEX A290_PK REBUILD TABLESPACE GIS_AINDEX ONLINE PARALLEL 4; --index_type=normal&lt;BR /&gt;--Index A290_PK altered.&lt;/P&gt;&lt;P&gt;ALTER INDEX A241_IX1_A REBUILD TABLESPACE GIS_AINDEX ONLINE PARALLEL 4; --index_type=DOMAIN&lt;BR /&gt;--CONCLUSION: CANNOT MOVE A DOMAIN INDEX !!! SEE EXAMPLE ABOVE WITH DETAILS !!!&lt;/P&gt;&lt;P&gt;ALTER INDEX A290_STATEID_IX1 REBUILD TABLESPACE GIS_AINDEX ONLINE PARALLEL 4; --index_type=normal&lt;BR /&gt;--Index A290_STATEID_IX1 altered.&lt;/P&gt;&lt;P&gt;--TABLE D290--&lt;BR /&gt;ALTER INDEX D290_PK REBUILD TABLESPACE GIS_DINDEX ONLINE PARALLEL 4; --index_type=normal&lt;BR /&gt;--Index D290_PK altered.&lt;/P&gt;&lt;P&gt;ALTER INDEX D290_IDX1 REBUILD TABLESPACE GIS_DINDEX ONLINE PARALLEL 4; --index_type=normal&lt;BR /&gt;--Index D290_IDX1 altered.&lt;/P&gt;&lt;P&gt;--TABLE S349_IDX$--&lt;BR /&gt;ALTER INDEX S349$_IX1 REBUILD TABLESPACE GIS_SINDEX ONLINE PARALLEL 4; --index_type=IOT&lt;BR /&gt;/*&lt;BR /&gt;Error report -&lt;BR /&gt;ORA-28650: Primary index on an IOT cannot be rebuilt&lt;BR /&gt;28650. 00000 - "Primary index on an IOT cannot be rebuilt"&lt;BR /&gt;*Cause: An attempt is made to issue alter index rebuild on IOT-TOP&lt;BR /&gt;*Action: Use Alter table MOVE to reorganize the table(IOT)&lt;BR /&gt;*/&lt;BR /&gt;ALTER TABLE S349_IDX$ MOVE TABLESPACE GIS_SINDEX PARALLEL 4;&lt;BR /&gt;--Table S349_IDX$ altered.&lt;/P&gt;&lt;P&gt;ALTER INDEX S349$_IX2 REBUILD TABLESPACE GIS_SINDEX ONLINE PARALLEL 4; --index_type=normal&lt;BR /&gt;--Index S349$_IX2 altered.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this clarifies.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 19:13:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1239748#M8113</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-12-09T19:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1239868#M8118</link>
      <description>&lt;P&gt;thankyou so much. that clarifies it..&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 00:33:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1239868#M8118</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2022-12-10T00:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rebuild Indexes after moving tablespace</title>
      <link>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1240232#M8131</link>
      <description>&lt;P&gt;You are welcome!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 17:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/rebuild-indexes-after-moving-tablespace/m-p/1240232#M8131</guid>
      <dc:creator>MarceloMarques</dc:creator>
      <dc:date>2022-12-12T17:16:58Z</dc:date>
    </item>
  </channel>
</rss>

