Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: index partition

RE: index partition

From: DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM>
Date: Thu, 12 Jun 2003 10:14:05 -0700
Message-ID: <F001.005B0520.20030612093448@fatcity.com>


Hamid

   On a partitioned table you can create either global (normal) indexes or local (partitioned) indexes. There are advantages and disadvantages to each, but you could start with normal indexes and then switch to partitioned indexes as you find the need.

Dennis Williams
DBA, 80%OCP, 100% DBA
Lifetouch, Inc.
[EMAIL PROTECTED] -----Original Message-----
Sent: Thursday, June 12, 2003 10:55 AM
To: Multiple recipients of list ORACLE-L

Dear List,

I have a table which partitioned on date range & This table has 10 indexes on it I just wondered do I have to Partitioned all the 10 indexes or NOT? Example:

Create table test(col1 number,col2 number,col3 number,col4 date) tablespace data
partition by range(col4)
( partition part1 VALUES LESS THAN (TO_DATE(' 2003-12-30 00:00:00')) ,
(partition part2 VALUES LESS THAN (TO_DATE(' 2004-12-30 00:00:00'))

can the indexes be like this:

create index idx_1 on test(col2)
tablespace users
OR

I have to create all the indexes as partition index?

Appreciate your help

Thanks,

Hamid Alavi

Office : 818-737-0526
Cell phone : 818-416-5095

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Hamid Alavi
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Jun 12 2003 - 12:14:05 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US