<?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: Oracle: What is an Unrecoverable Data File?</title>
	<atom:link href="http://www.pythian.com/news/7401/oracle-what-is-an-unrecoverable-data-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pythian.com/news/7401/oracle-what-is-an-unrecoverable-data-file/</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: Tom</title>
		<link>http://www.pythian.com/news/7401/oracle-what-is-an-unrecoverable-data-file/#comment-436547</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Thu, 17 Jun 2010 14:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=7401#comment-436547</guid>
		<description>Insert Append operations are logged unless you use the nologging clause. If you use force logging it will happen anyways.

Here is the testcase that was tried.

Archive log mode
Take hot backup
insert records into a table with the append hint
shutdown the DB
delete the tablespace
mount the DB
restore the tablespace
recover it
open the db
query the table to validate the records that were added after the backup by the insert append hint are there.

If you use the no logging option then it won&#039;t be logged.

Here is a link to asktom on this very same question.

http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8289905224297</description>
		<content:encoded><![CDATA[<p>Insert Append operations are logged unless you use the nologging clause. If you use force logging it will happen anyways.</p>
<p>Here is the testcase that was tried.</p>
<p>Archive log mode<br />
Take hot backup<br />
insert records into a table with the append hint<br />
shutdown the DB<br />
delete the tablespace<br />
mount the DB<br />
restore the tablespace<br />
recover it<br />
open the db<br />
query the table to validate the records that were added after the backup by the insert append hint are there.</p>
<p>If you use the no logging option then it won&#8217;t be logged.</p>
<p>Here is a link to asktom on this very same question.</p>
<p><a href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8289905224297" rel="nofollow">http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8289905224297</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogroll Report 29/01/2009 – 05/02/2010 &#171; Coskan&#8217;s Approach to Oracle</title>
		<link>http://www.pythian.com/news/7401/oracle-what-is-an-unrecoverable-data-file/#comment-411601</link>
		<dc:creator>Blogroll Report 29/01/2009 – 05/02/2010 &#171; Coskan&#8217;s Approach to Oracle</dc:creator>
		<pubDate>Fri, 05 Mar 2010 10:00:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=7401#comment-411601</guid>
		<description>[...] on Solaris 17-How to report if there was an unrecoverable operation happened? Catherine Chow-Oracle: What is an Unrecoverable Data File? 18-How to use latch classes in case you really want to change the spin count and cause minimal [...]</description>
		<content:encoded><![CDATA[<p>[...] on Solaris 17-How to report if there was an unrecoverable operation happened? Catherine Chow-Oracle: What is an Unrecoverable Data File? 18-How to use latch classes in case you really want to change the spin count and cause minimal [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Catherine Chow</title>
		<link>http://www.pythian.com/news/7401/oracle-what-is-an-unrecoverable-data-file/#comment-411159</link>
		<dc:creator>Catherine Chow</dc:creator>
		<pubDate>Wed, 03 Mar 2010 17:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=7401#comment-411159</guid>
		<description>Thanks for your comment and the simplified query. You are correct, unrecoverable objects can also be indexes, and this should also be identified. Please note, unrecoverable indexes will only become an issue if they cannot be reconstructed by the underlying tables. Cheers...</description>
		<content:encoded><![CDATA[<p>Thanks for your comment and the simplified query. You are correct, unrecoverable objects can also be indexes, and this should also be identified. Please note, unrecoverable indexes will only become an issue if they cannot be reconstructed by the underlying tables. Cheers&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coskan</title>
		<link>http://www.pythian.com/news/7401/oracle-what-is-an-unrecoverable-data-file/#comment-410557</link>
		<dc:creator>coskan</dc:creator>
		<pubDate>Sun, 28 Feb 2010 16:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.pythian.com/news/?p=7401#comment-410557</guid>
		<description>Nice one Catherine,

For the second query (unrecoverable objects) .  you assume that it is a table (join to dba_tables) you wrote the query but it might as well be an index and also some of the unnecessary joins can be avoided by using v$segment_statistics instead of v$segstats. 


select distinct ss.owner,ss.object_name, ss.object_type
,ss.tablespace_name, ts.logging tablespace_level_logging
from 
v$segment_statistics ss, dba_tablespaces ts,v$datafile df
where 
ss.statistic_name =&#039;physical writes direct&#039;
and ss.value &gt;0
and df.unrecoverable_change# &gt;0
and ss.ts#=df.ts#
and ss.tablespace_name=ts.tablespace_name;</description>
		<content:encoded><![CDATA[<p>Nice one Catherine,</p>
<p>For the second query (unrecoverable objects) .  you assume that it is a table (join to dba_tables) you wrote the query but it might as well be an index and also some of the unnecessary joins can be avoided by using v$segment_statistics instead of v$segstats. </p>
<p>select distinct ss.owner,ss.object_name, ss.object_type<br />
,ss.tablespace_name, ts.logging tablespace_level_logging<br />
from<br />
v$segment_statistics ss, dba_tablespaces ts,v$datafile df<br />
where<br />
ss.statistic_name =&#8217;physical writes direct&#8217;<br />
and ss.value &gt;0<br />
and df.unrecoverable_change# &gt;0<br />
and ss.ts#=df.ts#<br />
and ss.tablespace_name=ts.tablespace_name;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

