All Oracle Error Codes
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

Warm Backup/Restore of Temporary tablespaces

Ray Stell



These notes indicate that you do not backup temp ts:

Note:167056.1 ("Alter Tablespace Begin Backup" on a Temporary Tablespace Fails with ORA-03217)
Note:167135.1 (How to Incorporate Locally Managed Temporary Tablespaces into the Backup Strategy)

So, I drop and recreate the temp ts on a test restore machine.

How is the default temp ts supposed to be recovered? I can drop and
recreate other temp ts, but not the default defined at db creation

SQL> drop tablespace TEMP including contents;
drop tablespace TEMP including contents
ERROR at line 1:
ORA-12906: cannot drop default temporary tablespace

and I can't back it up with the warm backup commands, per the notes above:

SQL> alter tablespace temp begin backup;
alter tablespace temp begin backup
ERROR at line 1:
ORA-03217: invalid option for alter of TEMPORARY TABLESPACE

How should this ts be handled to complete a recovery from a warm backup?
The db restores, but does not seem all together correct:

on production I have this ts and datafile, the default temp ts:


TABLESPACE_NAME    FILE_NAME                     BYTES
-------------------- ---------------------------------------- ----------
TEMP           /db05/oradata/dbx/temp01.dbf      41943040

but on the recovery db I have no datafile included in the recovery:


no rows selected

even though this tablespace does exist:

SQL> select TABLESPACE_NAME, STATUS from dba_tablespaces where TABLESPACE_NAME like '%TEM%';

------------------------------ ---------
TEMP                  ONLINE

I moved the file over, but it seems I need some magic to make the
ts usable. Is it just me, or has Oracle Corp really made a mess
here. They don't seem to document a good recovery process.
Ray Stell  stellr@(protected)
Please see the official ORACLE-L FAQ: http://www.orafaq.com
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html