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 Mladen Gogala

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


On 09/28/2005 03:24:39 AM, Andre van Winssen wrote:
> Joerg,
>
> Here are some thoughts and experiences:
>
> Exports can be made in a consistent way (consistent=y), meaning that all
> data is logically from the same timestamp, which is what you usually want.


There is, of course, one minor detail here: "consistent=y" will make the whole
export "repeatable" and that means "set transaction read only" as the 1st
statement.
The whole export will be read into undo segments, providing the rapture beyond
anything
that words can describe to the people trying to perform transactions amd the
DBA who will
have to size the UNDO tablespace appropriately. That is how read consistency is
ensured and
that is especially good for the full export of multi-TB databases.

>
> Imports can be speeded up considerably by using large buffersize (and
> commit=y!) and by making sure no characterset translation has to take place
> between export server and import server. Import isn't happy importing
> datatypes LONG or LONG RAW, it will do it row by row instead of by arrays.
> Sqlplus' COPY feature is a workaround for the slow import using LONG because
> you can use arrays even with LONG's.
>
> The issue with database links and sqlplus COPY is that you have to arrange
> yourself that copied data across tables in a schema is consistent, i.e. if
> you have to copy tables A..Z then no one else should be updating these
> tables until you are finished. Otherwise the data in the import or target
> server may loose its referential integrity.

That is why God has created the statement
"alter table <tbl> enable novalidate constraint <constr>"

Of course, the best thing to do with exp/imp is not to perform them at all.
Replication goes a long way. Someone here was explaining to me what Oracle
Streams
can do. I bought Madhu Thumma's "Oracle Streams" book (Rampant) and I must say
it's
an excellent book. Now if only my boss will go for that.



--
Mladen Gogala
http://www.mgogala.com


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