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

Thread: table reorg.

  1. #1
    Join Date
    Aug 2000
    Posts
    32
    HOw to reorganize a table to avoid problem in future based on storage .please help me.

  2. #2
    Join Date
    Dec 2001
    Location
    UK
    Posts
    1,684
    Either move the table, to a new tablespace or the same one:

    ALTER TABLE my_table MOVE my_tablespace STORAGE (...);

    This will rebuild the table with new storage parameters, but it does take quite a while for large tables and does require double the disk space during the process.

    Alternatively you can export the table, drop the table, create a new table withe the correct storage parameters then import the data back in.

    Are you sure you need to reorganize. Having multiple extents for a table is not a problem, especially if the tablespace is locally managed.

    Cheers
    Tim...
    OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
    OCA PL/SQL Developer
    Oracle ACE Director
    My website: oracle-base.com
    My blog: oracle-base.com/blog

  3. #3
    Rember to rebuild the indexes on the table after your move the tables
    www.cnoug.org

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