<?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: How do you move a partitionned index from one TS to another ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220008#M892495</link>
    <description>hi,&lt;BR /&gt; &lt;BR /&gt;yep, normally every partition resides in a different tablespace.&lt;BR /&gt;But you can combine them into one "alter index" statement:&lt;BR /&gt; &lt;BR /&gt;alter index I1&lt;BR /&gt;rebuild partition P1 tablespace T1 storage (...)&lt;BR /&gt;rebuild partition P2 tablespace T2 storage (...);&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry. &lt;BR /&gt;</description>
    <pubDate>Tue, 16 Mar 2004 09:45:32 GMT</pubDate>
    <dc:creator>Thierry Poels_1</dc:creator>
    <dc:date>2004-03-16T09:45:32Z</dc:date>
    <item>
      <title>How do you move a partitionned index from one TS to another ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220004#M892491</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;How do you move a partitionned index from one TS to another ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 16 Mar 2004 09:04:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220004#M892491</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-03-16T09:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you move a partitionned index from one TS to another ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220005#M892492</link>
      <description>What about&lt;BR /&gt;alter index &lt;INDEXNAME&gt; rebuild tablespace &lt;TABLESPACENAME&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc&lt;/TABLESPACENAME&gt;&lt;/INDEXNAME&gt;</description>
      <pubDate>Tue, 16 Mar 2004 09:15:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220005#M892492</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-03-16T09:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do you move a partitionned index from one TS to another ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220006#M892493</link>
      <description>Hi,  &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Move the index partition to a new tablespace with the following command:&lt;BR /&gt; &lt;BR /&gt;alter index index_name rebuild partition part_name tablespace tsname;&lt;BR /&gt; &lt;BR /&gt;(hope you're talking about Oracle ;-)&lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.</description>
      <pubDate>Tue, 16 Mar 2004 09:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220006#M892493</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-03-16T09:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do you move a partitionned index from one TS to another ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220007#M892494</link>
      <description>The second answer is better.&lt;BR /&gt;&lt;BR /&gt;As you can see Jean-Luc, Oracle refused to move the whole index at once.&lt;BR /&gt;&lt;BR /&gt;14:55:43 RSTX01&amp;gt; alter index ISLDRST_CPTEXT_RST_SAVE rebuild tablespace RST;&lt;BR /&gt;alter index ISLDRST_CPTEXT_RST_SAVE rebuild tablespace RST&lt;BR /&gt;            *&lt;BR /&gt;ERROR at line 1:&lt;BR /&gt;ORA-14086: a partitioned index may not be rebuilt as a whole&lt;BR /&gt;&lt;BR /&gt;Do I really need to specify every partition_name ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 16 Mar 2004 09:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220007#M892494</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-03-16T09:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do you move a partitionned index from one TS to another ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220008#M892495</link>
      <description>hi,&lt;BR /&gt; &lt;BR /&gt;yep, normally every partition resides in a different tablespace.&lt;BR /&gt;But you can combine them into one "alter index" statement:&lt;BR /&gt; &lt;BR /&gt;alter index I1&lt;BR /&gt;rebuild partition P1 tablespace T1 storage (...)&lt;BR /&gt;rebuild partition P2 tablespace T2 storage (...);&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry. &lt;BR /&gt;</description>
      <pubDate>Tue, 16 Mar 2004 09:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220008#M892495</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-03-16T09:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do you move a partitionned index from one TS to another ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220009#M892496</link>
      <description>I just wanted to give general idea.&lt;BR /&gt;not using partioning.&lt;BR /&gt;&lt;BR /&gt;from the documentation :&lt;BR /&gt;Using Alter Index to Rebuild a Partition&lt;BR /&gt;The ALTER INDEX...REBUILD PARTITION statement rebuilds one partition of an index. It cannot be used on a composite-partitioned table. At the same time as you recreate the index, you can move the partition to a new tablespace or change attributes. &lt;BR /&gt;&lt;BR /&gt;For composite-partitioned tables, use ALTER INDEX...REBUILD SUBPARTITION to rebuild a subpartition of an index. You can move the subpartition to another tablespace or specify a parallel clause. The following statement rebuilds a subpartition of a local index on a table and moves the index subpartition is another tablespace. &lt;BR /&gt;&lt;BR /&gt;ALTER INDEX scuba&lt;BR /&gt;   REBUILD SUBPARTITION bcd_types&lt;BR /&gt;   TABLESPACE tbs23 PARALLEL (DEGREE 2);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;Also there was a bug on 8i where the statistics were lost. Bug 3018073  &lt;BR /&gt;Don't know your version.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jean-Luc</description>
      <pubDate>Tue, 16 Mar 2004 10:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220009#M892496</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2004-03-16T10:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do you move a partitionned index from one TS to another ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220010#M892497</link>
      <description>Merci Ã&amp;nbsp; vous deux pour votre aide.&lt;BR /&gt;&lt;BR /&gt;J'ai utilisÃ© le script suivant pour reconstruire / dÃ©placer mon index :&lt;BR /&gt;&lt;BR /&gt;select 'ALTER INDEX '||INDEX_NAME||' REBUILD PARTITION '||PARTITION_NAME||' TABLESPACE RST'&lt;BR /&gt;from USER_IND_PARTITIONS&lt;BR /&gt;where INDEX_NAME in (SELECT index_name FROM user_indexes WHERE table_name='TSLDRST_SAV</description>
      <pubDate>Tue, 16 Mar 2004 10:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-do-you-move-a-partitionned-index-from-one-ts-to-another/m-p/3220010#M892497</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-03-16T10:12:39Z</dc:date>
    </item>
  </channel>
</rss>

