<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Parm Patram &#187; FLASHBACK</title>
	<atom:link href="http://oracle.3dub.com/category/flashback-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracle.3dub.com</link>
	<description>Oracle, Linux and UNIX tips, tricks and stuff</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:14:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Finding changed rows in a table</title>
		<link>http://oracle.3dub.com/2008/09/22/finding-changed-rows-in-a-table/</link>
		<comments>http://oracle.3dub.com/2008/09/22/finding-changed-rows-in-a-table/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 21:32:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FLASHBACK]]></category>

		<guid isPermaLink="false">http://oracle.3dub.com/?p=159</guid>
		<description><![CDATA[select ename,sal, versions_xid,versions_startscn,versions_endscn
from scott.emp versions
between scn minvalue and maxvalue
/
SELECT UNDO_SQL
FROM FLASHBACK_TRANSACTION_QUERY
WHERE XID = &#8216;01000400D3110000&#8242;
/
]]></description>
			<content:encoded><![CDATA[<p>select ename,sal, versions_xid,versions_startscn,versions_endscn<br />
from scott.emp versions<br />
between scn minvalue and maxvalue<br />
/</p>
<p>SELECT UNDO_SQL<br />
FROM FLASHBACK_TRANSACTION_QUERY<br />
WHERE XID = &#8216;01000400D3110000&#8242;<br />
/</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle.3dub.com/2008/09/22/finding-changed-rows-in-a-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling flashback</title>
		<link>http://oracle.3dub.com/2008/09/22/enabling-flashback/</link>
		<comments>http://oracle.3dub.com/2008/09/22/enabling-flashback/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 18:44:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FLASHBACK]]></category>

		<guid isPermaLink="false">http://oracle.3dub.com/?p=156</guid>
		<description><![CDATA[shutdown immediate;
startup mount;
alter database archivelog;
alter system set DB_FLASHBACK_RETENTION_TARGET=600; &#8212; time is in minutes (10 hours)
alter system set DB_RECOVERY_FILE_DEST_SIZE=2G;
alter system set DB_RECOVERY_FILE_DEST=’/recovery/flashback’;
alter database flashback on;
alter database open;
]]></description>
			<content:encoded><![CDATA[<p>shutdown immediate;<br />
startup mount;<br />
alter database archivelog;<br />
alter system set DB_FLASHBACK_RETENTION_TARGET=600; &#8212; time is in minutes (10 hours)<br />
alter system set DB_RECOVERY_FILE_DEST_SIZE=2G;<br />
alter system set DB_RECOVERY_FILE_DEST=’/recovery/flashback’;<br />
alter database flashback on;<br />
alter database open;</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle.3dub.com/2008/09/22/enabling-flashback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovering using flashback query</title>
		<link>http://oracle.3dub.com/2008/09/22/recovering-using-flashback-query/</link>
		<comments>http://oracle.3dub.com/2008/09/22/recovering-using-flashback-query/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 17:22:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FLASHBACK]]></category>

		<guid isPermaLink="false">http://oracle.3dub.com/?p=151</guid>
		<description><![CDATA[select * from &#38;&#38;TABLE as of timestamp to_timestamp(&#8217;&#38;&#38;DD-&#38;&#38;MON-&#38;&#38;YY &#38;HOUR:00:00&#8242;,&#8217;DD-MON-YY HH24: MI: SS&#8217;) minus select * from &#38;&#38;TABLE;
&#8211; this will allow you to browse backward to find the time when the change occurred
alter table &#38;TABLE enable row movement;
&#8211; row movement must be enabled for flashback queries
flashback table &#38;TABLE to timestamp to_timestamp(&#8217;&#38;DD-&#38;MON-&#38;YY &#38;HOUR:00:00&#8242;,&#8217;DD-MON-YY HH24:Mi:SS&#8217;);
]]></description>
			<content:encoded><![CDATA[<p>select * from &amp;&amp;TABLE as of timestamp to_timestamp(&#8217;&amp;&amp;DD-&amp;&amp;MON-&amp;&amp;YY &amp;HOUR:00:00&#8242;,&#8217;DD-MON-YY HH24: MI: SS&#8217;) minus select * from &amp;&amp;TABLE;<br />
&#8211; this will allow you to browse backward to find the time when the change occurred<br />
alter table &amp;TABLE enable row movement;<br />
&#8211; row movement must be enabled for flashback queries<br />
flashback table &amp;TABLE to timestamp to_timestamp(&#8217;&amp;DD-&amp;MON-&amp;YY &amp;HOUR:00:00&#8242;,&#8217;DD-MON-YY HH24:Mi:SS&#8217;);</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle.3dub.com/2008/09/22/recovering-using-flashback-query/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

