| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Index rebuilds
"Jonathan Lewis" <jonathan_at_jlcomp.demon.co.uk> wrote in message
news:bm329u$h43$1$8300dec7_at_news.demon.co.uk...
>
> Where did you get the line about the last block
> never being filled more than 100-PCTFREE ?
> I've not seen it before. It's fairly easy to prove
> that it's not (always) true - but I'd be interested
> to see a test case that demonstrates it.
>
> It is true that Oracle reports a statistics called
> something like:
> index leaf splits 90/10
>
> But to date, I've never seen a 90/10 split,
> only things that are roughly 50/50 splits,
> and things that could be called 100/0 splits -
> the latter being things that then record under
> the 90/10 statistic.
>
Hi Jonathan,
I'm with you (guess you're a bit worried now eh ;)
Oracle reports 'leaf node splits', which I've always interpreted as the 50-50 split.
Oracle reports 'leaf node 90-10 splits' which I've always interpreted as the 100-0 split, and
Oracle reports 'branch node splits' which I've always interpreted as the, well I guess branch node split
Having not much to do in sunny Canberra this evening (rugby world cup doesn't start until tomorrow), I thought I'll dump a leaf index block that has just "split" due to a maximum index entry just being inserted and yes, the behaviour is still the same on 9.2:
Start dump data blocks tsn: 39 file#: 16 minblk 482 maxblk 482
buffer tsn: 39 rdba: 0x040001e2 (16/482)
scn: 0x0000.03750e66 seq: 0x01 flg: 0x00 tail: 0x0e660601
frmt: 0x02 chkval: 0x0000 type: 0x06=trans data
Block header dump: 0x040001e2
Object id on Block? Y
seg/obj: 0x7aa0 csc: 0x00.3750e66 itc: 2 flg: O typ: 2 - INDEX
fsl: 0 fnx: 0x40001e3 ver: 0x01
Itl Xid Uba Flag Lck Scn/Fsc0x01 0x000f.009.0000480e 0x0340016a.08fa.01 CB-- 0 scn 0x0000.03750e63
Leaf block dump
This new index block only contains the one and only maximum index entry (the 100-almost 0 split).
I posted in the past what a 50-50 split looks like but I too have not seen the illusive 90-10 split.
If anyone newish wants me to post how I performed the above test, just let me know.
Cheers
Richard Received on Thu Oct 09 2003 - 08:53:58 CDT
![]() |
![]() |