Solved

rebuild lob index on a new tablespace

Posted on 2000-05-01
7
6,097 Views
Last Modified: 2008-02-20
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 ??
0
Comment
Question by:sbenyo
7 Comments
 
LVL 6

Expert Comment

by:crsankar
ID: 2765551
Try using the following syntax

ALTER TABLE employee MODIFY LOB

This should work.
0
 
LVL 5

Author Comment

by:sbenyo
ID: 2765767
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 ?
0
 
LVL 4

Expert Comment

by:sudhi022299
ID: 2767961
I couldn't find any option to move the tablespace used by the lob segment in ALTER TABLE MODIFY LOB statement.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 6

Expert Comment

by:crsankar
ID: 2768206
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!


0
 

Accepted Solution

by:
dassumit earned 100 total points
ID: 2773094
U can't drop or alter LOB indexes.

U can export the table to HD or DAT and then drop the table. Then u can import the table specifying index tablespace as different one. This should work.
0
 
LVL 4

Expert Comment

by:srikant033100
ID: 2873561
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

0
 

Expert Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now