Link to home
Start Free TrialLog in
Avatar of sbenyo
sbenyo

asked on

rebuild lob index on a new tablespace

I want to move a blob index created on tablespace a to tablespace b.
I tried to rebuild the index and got this error:
ORA-02327: cannot create index on column with datatype LOB

I also tried to drop the index and got this error:
ORA-22864: cannot ALTER or DROP LOB indexes

Is there any way I can move this index to the new tablespace ??
Avatar of crsankar
crsankar
Flag of United States of America image

Try using the following syntax

ALTER TABLE employee MODIFY LOB

This should work.
Avatar of sbenyo
sbenyo

ASKER

Hi,
Thanks, but I can't find anywhere I can change the tablespace of the index with this command.
Do you know the exact syntax (if there is...) for that ?
I couldn't find any option to move the tablespace used by the lob segment in ALTER TABLE MODIFY LOB statement.
ALTER TABLE employee MODIFY LOB (resume) (CACHE);

I was referring to this statement. But I think I made a mistake saying that it can be used to change the tablespace. You can change other storage charecteristics though.

Sorry!


ASKER CERTIFIED SOLUTION
Avatar of dassumit
dassumit

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi sebno

U can allocate a different tablespace to the lob at time of creation or at time of adding a lob column


Srikant Sarda

Thanks.
U can reach me at dassumit@email.com
Thanx and Regards,
Sumit.
DBA
BFL Software India Ltd.
Bangalore, India