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

Thread: Non-Partition table to Partition

  1. #1
    Join Date
    Jul 2000
    Location
    brewster,Newyork
    Posts
    87

    Lightbulb Non-Partition table to Partition

    Folks ,
    I have a table with about a 2 mil records. Now we want to make this tables partitioned by range on a different tablespace. Since this table being used we would like to do it in a easier way with very minimal downtime (other than exp/imp).Mind you this table has Foreign key and Pk constraints, Please help me out with the startegies/steps involved and drawbacks.
    Thanks
    sat

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    create new table - insert append into new table then rename it and create the constraints

  3. #3
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    DBMS_REDEFINITION package.

    No downtime, you will be actualy doing it online, that is while transactions are going on on that table.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

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