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: Moving instance to another host

Re: Moving instance to another host

From: Xuewei Zhou <zhou_at_Glue.umd.edu>
Date: 1997/05/09
Message-ID: <5kvdua$8m2@z.glue.umd.edu>#1/1

In article <01bc5be9$f46b1fa0$8a1ca68f_at_carlos.us.dell.com>, Carlos A. Gonzalez <Carlos_A_gonzalez_at_us.dell.com> wrote:
>Oracle Gurus:
>
>Please comments
>
>I am in the process of moving an Oracle instance from one host to another
>
>I have identified the following ways to do such operation:
>
>A) Export the whole database in the old host, create the database and
>corresponding
> tablespaces in the new host and then do the import.
>
> Advantages: Optimize space usage (Compress parameter)
> Disavantages: Too slow
>
>B) FTP the data files to the new host, copy the data files to the
>corresponding
> directories, edit the Control File and startup the instance.
>
> Advantages: Faster to do
> Disavantages: No way to optimize the old database.
>
>Our resident ORACLE Guru insists in doing it the following way, which I am
>kind of resisting
>beacuse besides the fact you have to identify every user/table, triggers
>and stored procedures
>will require special handling plus the fact that you may overlook some
>special tables, views,
>what not....
>
>Please comments on approach C) will be appreciated.
>
>
>C) Create a Database in the new host, establish a link to the old instance.
> and copy all the tables using something like:
>
> CREATE DATABASE LINK dblink
> CONNECT TO user IDENTIFIED BY password USING 'connect_string';
>
> CREATE TABLE new_table
> TABLESPACE tablespace
> AS SELECT * FROM old_table_at_dblink
>
> Advantages: Please comment
> Disavantages: Please comment
>

Never try to copy a database over SQL*Net. It is extremely slow. Copying datafiles, log files, control files and configuration files is most efficient way to do it. Export/import allows you to compress extents and eliminate some chained rows. You can speed up import by importing data only and creating indexes later.

zhou Received on Fri May 09 1997 - 00:00:00 CDT

Original text of this message

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