.ora-code.com

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
Recovery Issues :)

Recovery Issues :)

2006-05-11       - By Bobak, Mark
Reply:     1     2     3  

Hi Paula,

Ok, it sounds like you've successfully recovered.  Now, the problem w/
the "missing" rows.  This may be where NOLOGGING is relevant.  How is
this data loaded?  If it was done as INSERT /*+ APPEND */, then the
problem is that, with nologging set, the data was not in the archive
logs you applied, so, the segment will need to be truncated and
reloaded.  Ideally, the table is partitioned (is it?) so that you can
truncate and re-load just that partition.  Right now, if you do a full
table scan of the segment, your query will eventually hit the logically
corrupt blocks and raise an ORA-26040 (See ORA-26040.ora-code.com).  The only way to get rid of those
corrupt blocks is to either drop or truncate the segment containing
them.

For more info on direct load, nologging, and recovery implications, see:
http://dizwell.com/main/index.php?option=com_jd-wiki&Itemid=138&id=direc
tpathoperations

Hope that helps,

-Mark


--
Mark J. Bobak
Senior Oracle Architect
ProQuest Information & Learning

For a successful technology, reality must take precedence over public
relations, for Nature cannot be fooled.  --Richard P. Feynman, 1918-1988



__ ____ ____ ____ ____ ____ ____

From: oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] On Behalf Of Paula Stankus
Sent: Thursday, May 11, 2006 11:59 AM
To: Christo Kutrovsky
Cc: Oracle-L@(protected)
Subject: Re:Recovery Issues :)


Okay,

We used the following syntax to recover a database

ALTER DATABASE RECOVER DATABASE UNTIL TIME '2006-05-10:09:00:00' USING
BACKUP CONTROLFILE

Some of the archive files said "no longer needed for recovery"

Now, we are told there are rows missing from the night of the 9th (i.e.
the night before).  

Help :)!

__ ____ ____ ____ ____ ____ ____

New Yahoo! Messenger with Voice. Call regular phones from your PC
<http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.co
m/evt=39666/*http://messenger.yahoo.com>  and save big.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff size=2>Hi
Paula,</FONT></SPAN></DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff size=2>Ok,
it
sounds like you've successfully recovered.&nbsp; Now, the problem w/ the
"missing" rows.&nbsp; This may be where NOLOGGING is relevant.&nbsp; How is
this
data loaded?&nbsp; If it was done as INSERT /*+ APPEND */, then the problem is
that, with nologging set, the data was not in the archive logs you applied, so,
the segment will need to be truncated and reloaded.&nbsp; Ideally, the table is
partitioned (is it?) so that you can truncate and re-load just that
partition.&nbsp; Right now, if you do a full table scan of the segment, your
query will eventually hit the logically corrupt blocks and raise an
ORA-26040 (See ORA-26040.ora-code.com).&nbsp; The only way to get rid of those corrupt blocks is to either
drop or truncate the segment containing them.</FONT></SPAN></DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff size=2>For
more info on direct load, nologging, and recovery implications, see:&nbsp; <A
href="http://dizwell.com/main/index.php?option=com_jd-wiki&amp;Itemid=138&amp
;id=directpathoperations">http://dizwell.com/main/index.php?option=com_jd-wiki
&amp;Itemid=138&amp;id=directpathoperations</A></FONT></SPAN></DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff size=2>Hope
that helps,</FONT></SPAN></DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=828540516-11052006><FONT face=Arial color=#0000ff
size=2>-Mark</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><B><FONT face="Century Gothic" size=2>--</FONT></B> <BR><B><FONT
face="Century Gothic" size=2>Mark J. Bobak</FONT></B> <BR><B><FONT
face="Century Gothic" size=2>Senior Oracle Architect</FONT></B> <BR><B><FONT
face="Century Gothic" color=#000000 size=2>P</FONT><FONT face="Century Gothic"
size=2>ro</FONT><FONT face="Century Gothic" color=#ff0000 size=2>Q</FONT><FONT
face="Century Gothic" size=2>uest Information &amp; Learning</FONT></B> </P>
<P><FONT face="Courier New" size=2>For a successful technology, reality must
take precedence over public relations, for Nature cannot be fooled.&nbsp;
--Richard P. Feynman, 1918-1988</FONT></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> oracle-l-bounce@(protected)
[mailto:oracle-l-bounce@(protected)] <B>On Behalf Of </B>Paula
Stankus<BR><B>Sent:</B> Thursday, May 11, 2006 11:59 AM<BR><B>To:</B> Christo
Kutrovsky<BR><B>Cc:</B> Oracle-L@(protected)<BR><B>Subject:</B> Re:Recovery
Issues :)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Okay,</DIV>
<DIV>&nbsp;</DIV>
<DIV>We used the following syntax to recover a database </DIV>
<DIV>&nbsp;</DIV><FONT size=2>
<DIV>ALTER DATABASE RECOVER DATABASE UNTIL TIME '2006-05-10:09:00:00' USING
BACKUP CONTROLFILE</DIV>
<DIV>&nbsp;</DIV>
<DIV>Some of the archive files said "no longer needed for recovery"</DIV>
<DIV>&nbsp;</DIV>
<DIV>Now, we are told there are rows missing from the night of the 9th (i.e.
the
night before).&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Help :)!</DIV></FONT>
<P>
<HR SIZE=1>
New Yahoo! Messenger with Voice. <A
href="http://us.rd.yahoo.com/mail_us/taglines/postman5/*http://us.rd.yahoo.com
/evt=39666/*http://messenger.yahoo.com">Call
regular phones from your PC</A> and save big.</BODY></HTML>