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 on table with 3 million rows ???

Re: index on table with 3 million rows ???

From: Tim Sawmiller <sawmillert_at_state.mi.us>
Date: Thu, 12 Apr 2001 05:18:10 -0700
Message-ID: <F001.002E7F83.20010412045242@fatcity.com>

That's an awfully strange extent size (514k). Why don't you make it bigger, and make it divisible by your database block size? This would reduce wasted space. Also, do you really need all 8 columns indexed? If it's just for performance, you might be able to get away with using fewer columns, unless it needs to be a unique index.

>>> leslie_y_lu_at_yahoo.com 04/11/01 04:55PM >>>
Hi all,

I need to build an index on a table of 80 columns with 3 million rows. The index is on 8 columns.

I got ORA-01630: max # extents (n) reached in temp segment in tablespace ARBOR_INDEX, so I add more index files and enlarge extents, now I have 2 index files of 1G each, and tablespace storage is:

ALTER TABLESPACE ARBOR_INDEX
DEFAULT STORAGE (
INITIAL 514K
NEXT 514K
MAXEXTENTS 4080
);

And I still got ORA0-1630. Should I continue to increase index file size and extents or there is other way around? The datafile contains that table's tablespace is only 1G.

I didn't do exp, build index, imp since I believe for large amount of data, it's better to load the data first then build index.

Any idea? Thank you.

Leslie



Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Leslie Lu
  INET: leslie_y_lu_at_yahoo.com 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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.com
--
Author: Tim Sawmiller
  INET: sawmillert_at_state.mi.us

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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 Apr 12 2001 - 07:18:10 CDT

Original text of this message

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