Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-26028: index initially in unusable state
I just RTFM a little and if you truncate a partition and the table have a
global index it will become unusable.
Yechiel Adar
Mehish Computer Services
----- Original Message -----
From: "Niall Litchfield" <niall.litchfield_at_gmail.com>
To: <jdunn_at_sefas.com>
Cc: "Mark J. Bobak" <mark_at_bobak.net>; <Oracle-L_at_freelists.org>
Sent: Thursday, January 20, 2005 5:23 PM
Subject: Re: ORA-26028: index initially in unusable state
> On Thu, 20 Jan 2005 14:17:49 -0000, John Dunn <jdunn_at_sefas.com> wrote:
> >
> > <<I think the idea is to skip unusable indexes, do the load, then
rebuild
> > the indexes w/ NOLOGGING. If you rebuild the index before the load, the
> > index maintenance will cause significant logging. It's faster and more
> > efficient to load while indexes are unusable>>
> >
> > Thnaks for your comments, but rebuilding the indexes takes far longer
than
> > the time saved during the load, even with nologging!
> >
> > And it is still not clear to me what causes the index to become
unusuable.
>
> Maybe I'm all at sea here, but my understanding is that the index is
> already marked UNUSABLE before the load starts. The error message is
> telling you that you can't do the load because maintaining the index
> is not possible because of the existing state of the index.
>
>
>
> --
> Niall Litchfield
> Oracle DBA
> http://www.niall.litchfield.dial.pipex.com
> --
> http://www.freelists.org/webpage/oracle-l
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Jan 20 2005 - 10:54:29 CST
![]() |
![]() |