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 from online backup

Recovery from online backup

2006-04-26       - By Andrey Kriushin

Reply:     <<     11     12     13  


   Alessandro,

This mark in the controlfile is like a preventive measure against
inaccurate actions during incomplete recovery. Indeed, it is much easier
to make a mistake due to variety of possibilities. And it is actually a
very rare occasion when only controlfiles are damaged, while the rest of
the database is ok. And it is even more rare, when the redo stream is
reapplied completely up to the last existing redo record.

Let me remind you that 'USING BACKUP CONTROLFILE' actually means - 'go
farther along the redo stream than it is recorded in controlfile'. So
you know, that there is more history in the life of this database, and
oracle - doesn't. It takes all the info from control, redo and datafile
headers and these are the only sources of information available to
oracle. So oracle believes you and applies logs with redo sequence
numbers which are higher than recorded in controlfile. But oracle's
belief is not blind and complete. So it/he/she puts a mark about what is
going on into controlfile. Just in case you'll restart the instance ;-).

What IS really surprising - this mark is not reset when the real end of
redo stream is encountered (in the last available online redo). Well, I
treat it as a rule. Anyway, there are only two possibilities - reset the
mark or not. Oracle is well known for its "lazy" approach in many areas
(delayed logging block cleanounts, lazy global lock release to name a few).

HTH
- Andrey

Alessandro Vercelli wrote:
>> No, it is a consequence of using 'incomplete recovery' clause of RECOVER
command, i.e. any of UNTIL and/or USING BACKUP CONTROLFILE.
>> When you do so, a mark is placed in the controlfile used during RECOVER
command execution, which means - "Insist on opening database with RESETLOGS
with this particular controlfile".
>>    
>
> ....I accept your description, but it's strange as, during recovery, I used
"recover database using backup controlfile until cancel;"
>
> Thanks,
>
> Alessandro

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt><br>
??? Alessandro,<br>
<br>
This mark in the controlfile is like a preventive measure against
inaccurate actions during incomplete recovery. Indeed, it is much
easier to make a mistake due to variety of possibilities. And it is
actually a very rare occasion when only controlfiles are damaged, while
the rest of the database is ok. And it is even more rare, when the redo
stream is reapplied completely up to the last existing redo record.<br>
<br>
Let me remind you that 'USING BACKUP CONTROLFILE' actually means - 'go
farther along the redo stream than it is recorded in controlfile'. So
you know, that there is more history in the life of this database, and
oracle - doesn't. It takes all the info from control, redo and datafile
headers and these are the only sources of information available to
oracle. So oracle believes you and applies logs with redo sequence
numbers which are higher than recorded in controlfile. But oracle's
belief is not blind and complete. So it/he/she puts a mark about what
is going on into controlfile. Just in case you'll restart the instance
;-).<br>
<br>
What IS really surprising - this mark is not reset when the real end of
redo stream is encountered (in the last available online redo). Well, I
treat it as a rule. Anyway, there are only two possibilities - reset
the mark or not. Oracle is well known for its "lazy" approach in many
areas (delayed logging block cleanounts, lazy global lock release to
name a few).<br>
<br>
</tt>HTH<br>
- Andrey<br>
<br>
Alessandro Vercelli wrote:
<blockquote cite="midIYBV2K$3ECB1E5DE31F5EA436D1E6C48D14A480@(protected)"
type="cite">
 <blockquote type="cite">
   <pre wrap="">No, it is a consequence of using 'incomplete recovery' clause
of RECOVER  command, i.e. any of UNTIL and/or USING BACKUP CONTROLFILE.
When you do so, a mark is placed in the controlfile used during RECOVER command
execution, which means - "Insist on opening database with RESETLOGS with this
particular controlfile".
   </pre>
 </blockquote>
 <pre wrap=""><!---->
....I accept your description, but it's strange as, during recovery, I used
"recover database using backup controlfile until cancel;"

Thanks,

Alessandro</pre>
</blockquote>
</body>
</html>