<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: What Happens When You Leave an Oracle Database in Backup Mode</title>
	<atom:link href="http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/</link>
	<description>News and views from Pythian DBAs</description>
	<lastBuildDate>Fri, 10 Feb 2012 13:01:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-62005</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Fri, 15 Jun 2007 14:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-62005</guid>
		<description>&lt;i&gt;&gt;ended up with ORA-600 during crash recovery

Chocolate ORA-600â€™s ?&lt;/i&gt;

It seems to be contagious!</description>
		<content:encoded><![CDATA[<p><i>>ended up with ORA-600 during crash recovery</p>
<p>Chocolate ORA-600â€™s ?</i></p>
<p>It seems to be contagious!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Log Buffer #49: a Carnival of the Vanities for DBAs &#171; Coskans Approach to Oracle</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61953</link>
		<dc:creator>Log Buffer #49: a Carnival of the Vanities for DBAs &#171; Coskans Approach to Oracle</dc:creator>
		<pubDate>Fri, 15 Jun 2007 12:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61953</guid>
		<description>[...] (try it I am sure that you wont leave it) script for performance tuning. Alex Gorbachev wrote about what will happen when you leave database in backup mode with a real story. Another stylish DBA of Pythian Group Christo Kutrovsky wrote about his [...]</description>
		<content:encoded><![CDATA[<p>[...] (try it I am sure that you wont leave it) script for performance tuning. Alex Gorbachev wrote about what will happen when you leave database in backup mode with a real story. Another stylish DBA of Pythian Group Christo Kutrovsky wrote about his [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kurt</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61788</link>
		<dc:creator>kurt</dc:creator>
		<pubDate>Fri, 15 Jun 2007 06:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61788</guid>
		<description>&gt;ended up with ORA-600 during crash recovery

Chocolate ORA-600&#039;s ?</description>
		<content:encoded><![CDATA[<p>&gt;ended up with ORA-600 during crash recovery</p>
<p>Chocolate ORA-600&#8242;s ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61394</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Thu, 14 Jun 2007 15:48:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61394</guid>
		<description>Fuad,
Agree - monitoring is the way to go and we do the same with all databases that we know have a chance to be in backup mode. There are more disadvantages of having a database in backup mode than just problem with crash recovery.</description>
		<content:encoded><![CDATA[<p>Fuad,<br />
Agree &#8211; monitoring is the way to go and we do the same with all databases that we know have a chance to be in backup mode. There are more disadvantages of having a database in backup mode than just problem with crash recovery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fuad Arshad</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61387</link>
		<dc:creator>Fuad Arshad</dc:creator>
		<pubDate>Thu, 14 Jun 2007 15:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61387</guid>
		<description>Have had that a couple of time but not for such a long period.
in 9i on mount mode you do have 
alter database end backup;
I have checks in my shutdown scripts that specifically check for this condition before shutting down adn starting up.
also have reports that come out daily in my daily checklists to validate the fact.
since we use emc bcv&#039;s we have had a number of incidences where the scripts got hung due to bad establish causing us issues of all sort. better be proactive then get  stuck finding tapes</description>
		<content:encoded><![CDATA[<p>Have had that a couple of time but not for such a long period.<br />
in 9i on mount mode you do have<br />
alter database end backup;<br />
I have checks in my shutdown scripts that specifically check for this condition before shutting down adn starting up.<br />
also have reports that come out daily in my daily checklists to validate the fact.<br />
since we use emc bcv&#8217;s we have had a number of incidences where the scripts got hung due to bad establish causing us issues of all sort. better be proactive then get  stuck finding tapes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61383</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Thu, 14 Jun 2007 15:24:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61383</guid>
		<description>&lt;i&gt;Did you guys really try to recover a database before checking to see if it was still in backup mode?&lt;/i&gt;
We had all reasons to believe that RMAN had been used for backups. Actually, placing database in the backup mode wasn&#039;t part of regular backup activity. Looks like someone was trying to perform something extraordinary at that time and left DB in backup mode. In any case, the decision was to postpone actions until the right people are available and to have some time for more investigations. And rightly so.

&lt;i&gt;Making me a little nervous here people.&lt;/i&gt;
Heh... Easy to say when you already know the outcome and you can always say - &quot;wasn&#039;t that obvious to any knowledgeable DBA?&quot;. Few times I have faced the situations when I was mad on myself after the issue was found - how did I manage to miss such an obvious detail.
The only reason to be nervous that I can see is that DBA&#039;s were intentionally not involved into backup and recovery procedures and it seems that responsible group didn&#039;t exercise test restore. Other than that, there was no crazy actions done in the middle of the night. Investigation was done and the root cause determined. Existing pieces of the database were preserved. The most appropriate restore strategy was followed.

I do have few concerns and suspicious why we had ORA-600 on crash recovery but I believe I should leave it aside.</description>
		<content:encoded><![CDATA[<p><i>Did you guys really try to recover a database before checking to see if it was still in backup mode?</i><br />
We had all reasons to believe that RMAN had been used for backups. Actually, placing database in the backup mode wasn&#8217;t part of regular backup activity. Looks like someone was trying to perform something extraordinary at that time and left DB in backup mode. In any case, the decision was to postpone actions until the right people are available and to have some time for more investigations. And rightly so.</p>
<p><i>Making me a little nervous here people.</i><br />
Heh&#8230; Easy to say when you already know the outcome and you can always say &#8211; &#8220;wasn&#8217;t that obvious to any knowledgeable DBA?&#8221;. Few times I have faced the situations when I was mad on myself after the issue was found &#8211; how did I manage to miss such an obvious detail.<br />
The only reason to be nervous that I can see is that DBA&#8217;s were intentionally not involved into backup and recovery procedures and it seems that responsible group didn&#8217;t exercise test restore. Other than that, there was no crazy actions done in the middle of the night. Investigation was done and the root cause determined. Existing pieces of the database were preserved. The most appropriate restore strategy was followed.</p>
<p>I do have few concerns and suspicious why we had ORA-600 on crash recovery but I believe I should leave it aside.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Gorbachev</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61368</link>
		<dc:creator>Alex Gorbachev</dc:creator>
		<pubDate>Thu, 14 Jun 2007 14:37:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61368</guid>
		<description>Amit,
Regarding end backup - I should have mentioned that end backup obviously was tried but ended up with ORA-600 during crash recovery.
&lt;i&gt;Wontâ€™t that result in Datafile is too new or datafile is in future kind of error instead of file needs recovery error ?&lt;/i&gt;
I recall that the message is confusingly the same &quot;Datafile 1 needs media recovery&quot; during open resetlogs.

Kurt,
Indeed, failover point you made is very good. Cheers.</description>
		<content:encoded><![CDATA[<p>Amit,<br />
Regarding end backup &#8211; I should have mentioned that end backup obviously was tried but ended up with ORA-600 during crash recovery.<br />
<i>Wontâ€™t that result in Datafile is too new or datafile is in future kind of error instead of file needs recovery error ?</i><br />
I recall that the message is confusingly the same &#8220;Datafile 1 needs media recovery&#8221; during open resetlogs.</p>
<p>Kurt,<br />
Indeed, failover point you made is very good. Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Hurley</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61367</link>
		<dc:creator>John Hurley</dc:creator>
		<pubDate>Thu, 14 Jun 2007 14:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61367</guid>
		<description>Did you guys really try to recover a database before checking to see if it was still in backup mode?

Making me a little nervous here people.</description>
		<content:encoded><![CDATA[<p>Did you guys really try to recover a database before checking to see if it was still in backup mode?</p>
<p>Making me a little nervous here people.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit poddar</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61302</link>
		<dc:creator>amit poddar</dc:creator>
		<pubDate>Thu, 14 Jun 2007 11:52:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61302</guid>
		<description>&quot;My immediate guess â€” the database is started with an old copy of the controlfile &quot;

Wont&#039;t that result in 
Datafile is too new or datafile is in future kind of error instead of file needs recovery error ?</description>
		<content:encoded><![CDATA[<p>&#8220;My immediate guess â€” the database is started with an old copy of the controlfile &#8221;</p>
<p>Wont&#8217;t that result in<br />
Datafile is too new or datafile is in future kind of error instead of file needs recovery error ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: amit poddar</title>
		<link>http://www.pythian.com/news/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode/#comment-61299</link>
		<dc:creator>amit poddar</dc:creator>
		<pubDate>Thu, 14 Jun 2007 11:50:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/blogs/504/what-happens-when-you-leave-an-oracle-database-in-backup-mode#comment-61299</guid>
		<description>You can also just say 

alter database end backup;

if all the files were in backup mode

at that point oracle will copy the hot backup scn over to checkpoint scn.

When a datafile is put in backup mode the full header is not frozen. Only the checkpoint scn is frozen. There is a  hot backup scn in the header which keeps incrementing. When end backup is issued this hot backup scn is copied over to the checkpoint scn.</description>
		<content:encoded><![CDATA[<p>You can also just say </p>
<p>alter database end backup;</p>
<p>if all the files were in backup mode</p>
<p>at that point oracle will copy the hot backup scn over to checkpoint scn.</p>
<p>When a datafile is put in backup mode the full header is not frozen. Only the checkpoint scn is frozen. There is a  hot backup scn in the header which keeps incrementing. When end backup is issued this hot backup scn is copied over to the checkpoint scn.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

