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 Paula Stankus

Reply:     1     2     3  

Thanks Mark.  :)

"Bobak, Mark" <Mark.Bobak@(protected)> wrote:      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
=directpathoperations
 
 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 and save
big.

   
-- ---- ---- ---- ---- ---- -----
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just 2?/min
with Yahoo! Messenger with Voice.
Thanks Mark.&nbsp; :)<BR><BR><B><I>"Bobak, Mark" &lt;Mark.Bobak@(protected)
&gt;</I></B> wrote:  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN
-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <META content="MSHTML 6.00.2900
.2873" name=GENERATOR>  <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 -->  <div><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> </div>  <div><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></div>  <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>  <div>  <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. </BLOCKQUOTE><BR><p>
    <hr size=1>Love cheap thrills? Enjoy PC-to-Phone <a href="http://us.rd.yahoo
.com/mail_us/taglines/postman9/*http://us.rd.yahoo.com/evt=39666/*http:/
/messenger.yahoo.com/"> calls to 30+ countries</a> for just 2?/min with Yahoo!
Messenger with Voice.