DBAsupport.com Forums - Powered by vBulletin
Results 1 to 6 of 6

Thread: Transfer data from one Datafile to another Datafile

  1. #1
    Join Date
    Jan 2005
    Posts
    6

    Transfer data from one Datafile to another Datafile

    How can I change datafile of my tables, initially I was using SYSTEM Datafile now I have created my new separete datafile, how can I transfer all data (50 tables) into new datafile(tablespace)

  2. #2
    Join Date
    Dec 2002
    Location
    Bangalore ( India )
    Posts
    2,434
    alter table move tablespace
    funky...

    "I Dont Want To Follow A Path, I would Rather Go Where There Is No Path And Leave A Trail."

    "Ego is the worst thing many have, try to overcome it & you will be the best, if not good, person on this earth"

  3. #3
    Join Date
    Jan 2005
    Posts
    6

    Thanks Krishna

    Thanks Krishna

  4. #4
    Join Date
    Jan 2002
    Posts
    113
    Just remember to rebuild your indexes on the table being moved. They will be put into the 'unusable' state one the table is moved.
    Arm yourself with knowledge

  5. #5
    Join Date
    Jan 2001
    Posts
    3,134
    Originally posted by psychofun
    Just remember to rebuild your indexes on the table being moved. They will be put into the 'unusable' state one the table is moved.
    I've heard that.

    I would add an analyze after those two as well.
    Heck I'll throw in a backup for free.
    I remember when this place was cool.

  6. #6
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Also remove the quota that users have on the system tablespace.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width