Home
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

Re: backup of offline dropped datafile

Mindaugas Navickas

2005-12-23

Replies:
Tanel, Koen

I do not think that Oracle would ever request a space from a datafile that is
offline.
From the scenario that Koen described, it doesn't look that storage been
allocated for any objects in the dropped data file, so queries against objects
shoudn't fail.
Even if you recreate controlfiles/resetlogs (from backup or from trace),
offline datafile will still apear in v$datafile - there is nothing you can do
about it - but from my understanding it should not cause any issue.

Regards
Mindaugas Navickas
OCP
--- Tanel P?der <tanel.poder.003@(protected):

> Hi,
>
> If your queries fail because of unaccessible data in this datafile then
> there's not much you can do.
>
> If you add another datafile then you might get errors when segments need to
> extend (into the offline datafile), this could be worked around by
> preallocating extents for your segments. (it might not be enough when you're
> doing direct path inserts though).
>
> From recovery part I don't see any other problems than additional complexity
> and running with a tablespace in an abnormal state. I wouldn't personally
> like to run my production database in such mode at all.
>
> Tanel.
>
> ----- Original Message -----
> From: "Koen Van Langenhove" <Koen.Van_Langenhove@(protected)>
> To: <oracle-l@(protected)>
> Sent: Friday, December 23, 2005 9:38 AM
> Subject: backup of offline dropped datafile
>
>
> > Hi,
> > First things first:
> > - 9.2.0.4 2-node RAC
> > - solaris 8 / sun cluster 3.0
> > - VxVM 3.2
> > - production system, rather urgent
> >
> > we have this little situation where someone dropped a datafile using
> > 'offline drop'. This was apparently not the best solution for its problem
> > and we don't have archivelogs available to recover the datafile (only the
> > archivelogs created during the backup are kept .. don't ask ..).
> >
> > As I understand it right now, there's no way we can "undrop" this
> > datafile, our only option is to drop the tablespace and recreate it, which
> > is what we'll do eventually. To get out of this situation we would like to
> > continue for a while with this datafile dropped, while adding another
> > datafile to make up for the lost space.
> >
> > Now, the question is, is this a good idea ? My main concern is
> > backup/recovery, but any other hints would be highly appreciated.
> >
> > TIA,
> > Koen
> >
> > PS the original problem:
> > - added a datafile
> > - the second node didn't have its symlink to the new vxvm volume
> > - adding the datafile worked, everything fine on node 1
> > - on node 2, got ORA-01157 on the new datafile
> > - created symlink but the instance did not pick up the datafile
> > - offline drop the datafile to bring the db into service again (while a
> > 'alter system check datafiles' would have fixed it)
> >
> > --
> > Regards,
> > Koen
> >
> > Siemens COM
> > COM D MN A
> >
> > Email : Koen.Van_Langenhove@(protected)
> > - - - - - - - Unix IS user-friendly .., it's just quite picky about its
> > friends.
> >
> > --
> > http://www.freelists.org/webpage/oracle-l
> >
> >
>
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>



 

 
   
__________________________________________________________
Find your next car at http://autos.yahoo.ca
--
http://www.freelists.org/webpage/oracle-l