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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to speed up CREATE INDEX

Re: How to speed up CREATE INDEX

From: Steve <stevemc_at_sierra.com>
Date: Fri, 16 Nov 2001 12:06:06 -0800
Message-ID: <9t3rf7$m5u$1@spiney.sierra.com>


three items:

  1. specify the storage parameters, derive the values very carefully (I use data from user_tables after analyze table compute stats)
  2. use the parallel option e.g., create index I_my_table on my_table (my_field) storage (initial next etc) PARALLEL (degree 4) -- I used 4 here but you can use up to 4 * number of cpus, tho for multi-cpu systems, 4 is good. /
  3. create your indexes with multiple concurrent sessions. This works particularly well if large amount of cache (db_block_buffers) and indexes are all on same table

"Andreas Wizemann" <AWizemann_at_fvvag.de> wrote in message news:0745vts4r261d76qckfd3vobb5bdkrgm8d_at_4ax.com...
> Hi,
> i need to create multiple indexes on very large tables.
> Currently i do this one by one, which takes a lot of time.
> How can i speed up this process ?
> Is there a way to do something in parallel ?
>
> Regards
> Andreas
> Andreas Wizemann
Received on Fri Nov 16 2001 - 14:06:06 CST

Original text of this message

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