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 many people here rebuid index regularly?

Re: How many people here rebuid index regularly?

From: Hasta <hasta_l3_at_hotmail.com>
Date: Sun, 7 Oct 2007 08:48:01 +0200
Message-ID: <MPG.21729f89b3ff7a3e989694@news.dommel.be>


In article <DPadnWQ-lar_XZva4p2dnAA_at_bt.com>, jonathan_at_jlcomp.demon.co.uk says...
>
> <fitzjarrell_at_cox.net> wrote in message
> news:1191612916.550302.168250_at_57g2000hsv.googlegroups.com...
> > I realise this would take time, but have you considered a treedump of
> > the indexes before and after the rebuild:
> >
> > alter session set evnts = 'immediate trace name treedump level <index
> > object id>';
> >
>
>
> Test this one on a small index before trying it on a large index.
> On some versions of Oracle it does a full dump of all leaf blocks,
> rather than one line per block.
>
> Remember, it reads the index one block at a time anyway, so
> it can be very slow even when it doesn't to a full dump.
>

Thanks for the advice, Jonathan. No, David, I never did a treedump in my life.

Hmm.. If there is interest here, I could try to collect data from an actual production site, before and after a rebuild.

Which data would you (collective) want to see ?

Keep in mind that this would be from a customer production site. Therefore,

Best regards, everybody

Received on Sun Oct 07 2007 - 01:48:01 CDT

Original text of this message

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