Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: migrating to locally managed tablespaces

Re: migrating to locally managed tablespaces

From: <Kenneth>
Date: Mon, 20 Jan 2003 06:25:27 GMT
Message-ID: <3e2b95d7.896128@news.inet.tele.dk>


Hi Frederic,

Oooops...I stand self-corrected : It is of course alternative a) and b) that require a full backup before proceeding.

>Hi Frederic,
>
>There's more than one way to do that task, e.g. :
>
>a) The DBMS_SPACE_ADMIN.TABLESPACE_MIGRATE_TO_LOCAL() proc. converts
>a DMT to a LMT. Oracle provides full documentation on this. I know
>that there has, over time, been some dispute over this tool and it's
>efficiency and reliability. Try checking metalink on this.
>
>b) Create new LMT's on the DB and move the segments in the old DMT's
>to the new LMT's with :
>
> "Alter index indx_in_dmt rebuild tablespace NEW_IDX_LMT;"
> "Alter table table_in_dmt move tablespace NEW_TABLE_LMT;"
>etc.
>
>c) Create a new DB with LMT's, export from the old one and import to
>new one.
>
>Each of these methods has its advantages and disadvantages, regarding
>downtime, resource requirements etc.
>
>At least with a) and c), a full backup before proceeding is highly
>recommended.
>
>Good planning and extreme care is required in all 3 cases, but of
>course, even as a Junior DBA you know that :-) .Good Luck !
>
>- Kenneth Koenraadt
>
>
>
>
>
>
>
>
Received on Mon Jan 20 2003 - 00:25:27 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US