Link to home
Start Free TrialLog in
Avatar of Sam OZ
Sam OZFlag for Australia

asked on

Move index to different tablespace in oracle

How can I move index from one tablespace to another in Oracle 11g ?
Avatar of Alex [***Alex140181***]
Alex [***Alex140181***]
Flag of Germany image

alter index <the index name> rebuild tablespace <new tablespace name> online;

Open in new window

Avatar of Sam OZ

ASKER

Thanks Alex. The problem is the new tablespace is with a new user. So It doesn't let me move index
the new tablespace is with a new user
What does this mean??!
SOLUTION
Avatar of Sean Stuber
Sean Stuber

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
Avatar of Sam OZ

ASKER

Sorry, I mean just the otherway.. The new user is using the new tablespace...

It is somethng like this
     Olduser with OldTS(Tablespace)....    Index is now in OldTS
     New  User with NewTS
      The Index need to move from OldTS to NewTS

   When the  trying the Alter Tablespace ,  It is not letting the move of Index
So you mean the default tablespace of the users?!
ASKER CERTIFIED SOLUTION
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