| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Partitioned Indexes question
If an index is partitioned on the same column(s) as the table, then the index is local. If you partition on different columns, then the index is global, and you have to specify the range in the index-create statement.
Local indexes follow the partitioning scheme of the tables(!), but you can only do range-partitioning on global indexes. These are in the docs, but probably not worded, or located where you were expecting to find them. In general, the partitioning error-messages are also quite helpful:
global partition by hash(col_a)
*
ERROR at line 2:
ORA-14005: missing RANGE keyword
You can only do "range" at the partitioning, and not sub-partitioning level:
subpartition by range(col_b) * ERROR at line 8: ORA-00922: missing or invalid option>
> -----Original Message-----
> From: Koivu, Lisa [SMTP:Lisa.Koivu_at_Cendant-TRG.com]
> Sent: Tuesday, March 09, 2004 5:56 AM
> To: oracle-l_at_freelists.org
> Subject: Partitioned Indexes question
This communication is confidential and may contain privileged material.
If you are not the intended recipient you must not use, disclose, copy or retain it.
If you have received it in error please immediately notify me by return email
and delete the emails.
Thank you.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Mon Mar 08 2004 - 18:09:40 CST
![]() |
![]() |