Links
Home
Oracle DBA Forum
Frequent Oracle Errors
TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found'>ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated
A special way of migration

A special way of migration

2005-09-28       - By Yechiel Adar

Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Hello Joerg

1) First of all, I would not mix upgrade of oracle version with a move
to a new server.
One change at a time if enough for me.

2) As to your idea of copy via database link you can just do export rows=n.
Then build new database on the new server and do import from that export
file.
This will build all the database structure that you need.
Then run insert as select via database link and all will be well.
If the presence of indexes slow the process down too much you can delete
the indexes and use:
imp system/manager file=... fromuser=test touser=test indexfile=idx.sql
This will create a script to build all the indexes.

3) Have you thought about moving the storage to the new server, like:
(when I say disk I mean disk array or disk defined in central storage)
1) Build a new server and install oracle, the same version as the source.
2) Attach a new disk and build the database, with the same sid and
directory structure as on the old server, on the new disk.
3) Stop the service and detach the new disk.
4) On the old server, stop the service and detach the disk.
5) Connect the disk to the new server and restart.

I tested this procedure with windows servers that connect to the EMC and
it works.

Adar Yechiel
Rechovot, Israel



jost@(protected) wrote:

>
>
>
>Hi list,
>
>i have an unusal question i think, but i am curios about your meaning about
>this.
>
>I am often in the situation to get a production database from an old
>db-server
>to a new one. In some cases i am also instructed to lift up the Oracle
>Version. Naturally i use export/import to get all the data of our
>application
>into the new database.
>
>  
>

--
http://www.freelists.org/webpage/oracle-l