Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ORA-01502 index in unusable state

117 views
Skip to first unread message

agichen

unread,
Jan 18, 2000, 3:00:00 AM1/18/00
to
Hello, everyone,
When I run some procedure,I got
"ORA-01502: index xxx or partition of such index is in unusable state

Why ?? What should I do ??

I use sqlldr to load( load truncate) some data to table A,will this
caused the index is in unusable state ??
Must I rebuild the index after I truncate the table every time ??

Thanks for any suggestions in advance !!

Rgds,
Agi


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!


tony

unread,
Jan 19, 2000, 3:00:00 AM1/19/00
to
This normally happens when you have bitmap indexes, simply do an alter index
'<NAME>' REBUILD;

Agi

unread,
Jan 19, 2000, 3:00:00 AM1/19/00
to
In article <388573C6...@littlebushsys.demon.co.uk>,

tony <to...@littlebushsys.demon.co.uk> wrote:
> This normally happens when you have bitmap indexes, simply do an
alter index
> '<NAME>' REBUILD;
tony,
there're no bitmap indexe on the table.(only 2 normal index)

??

Agi

>
> agichen wrote:
>
> > Hello, everyone,
> > When I run some procedure,I got
> > "ORA-01502: index xxx or partition of such index is in unusable
state
> >
> > Why ?? What should I do ??
> >
> > I use sqlldr to load( load truncate) some data to table A,will
this
> > caused the index is in unusable state ??
> > Must I rebuild the index after I truncate the table every time ??
> >
> > Thanks for any suggestions in advance !!
> >
> > Rgds,
> > Agi
> >
> > * Sent from RemarQ http://www.remarq.com The Internet's Discussion
Network *
> > The fastest and easiest way to search and participate in Usenet -
Free!
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

tony

unread,
Jan 19, 2000, 3:00:00 AM1/19/00
to
did you try the rebuild ??

MohammedB

unread,
Jan 19, 2000, 3:00:00 AM1/19/00
to
Agi,

If you use sqlldr with the direct load option, your indexes will be
left in an unusable state. Do what the previous poster suggested.
Just rebuild the index.

hth

mkb


In article <38a139f2...@usw-ex0102-013.remarq.com>, agichen

0 new messages