Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: online index rebuilds
You can actually get an index full scan
(rather than fast full scan) for an offline
index rebuild - and I thnk I decided the
choice was cost-based even back in 8i.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/cbo_book/ind_book.html Cost Based Oracle: Fundamentals
http://www.jlcomp.demon.co.uk/appearances.html Public Appearances - schedule updated 10th Jan 2006
Hi,
Thinking about why full table scan is required for online index rebuild... Maybe the potential index block splits are the reason why index FFS can't be used for online index rebuild? Consistent reads should overcome this issue though, but maybe there is something we don't know...
Btw, with offline index rebuild the decision whether to go with FTS or index FFS is also cost based (at least 10.2). If I have only single-column table indexed then the offline rebuild may do an FTS instead of fasf full index scan. (also, even in the case of fast full index scan, rows have to be sorted anyway, because index fast full scan doesn't guarantee an ordered result).
Tanel.
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Jan 30 2006 - 14:06:29 CST
![]() |
![]() |