<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Consistent Reads</title>
	<atom:link href="http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/</link>
	<description>Just another Oracle weblog</description>
	<lastBuildDate>Fri, 24 May 2013 13:27:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: gc cr block busy при восстановлении CR копии блока (data blocks consistent reads &#8211; undo records applied) &#171; Oracle mechanics</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-46451</link>
		<dc:creator><![CDATA[gc cr block busy при восстановлении CR копии блока (data blocks consistent reads &#8211; undo records applied) &#171; Oracle mechanics]]></dc:creator>
		<pubDate>Mon, 14 May 2012 21:38:18 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-46451</guid>
		<description><![CDATA[[...] Как Oracle восстанавливает консистентную версию блока данных, многократно изменённого открытыми транзакциями (что отражается статистикой data blocks consistent reads &#8211; undo records applied) отлично описал Дж.Льюисом: [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Как Oracle восстанавливает консистентную версию блока данных, многократно изменённого открытыми транзакциями (что отражается статистикой data blocks consistent reads &#8211; undo records applied) отлично описал Дж.Льюисом: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-43158</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 14:07:21 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-43158</guid>
		<description><![CDATA[John.

I can&#039;t think of any good way of doing this; although v$sql (and related views) report the number of buffer_gets against an child cursor, there&#039;s nothing similar that allows you to identify the buffer gets that were for undo records, or the number of CR buffers created.

There is event 10201 (trace undo applied for CR), if you enabled this and event 10046 for a session you could get a (very large) trace file that allowed you to count the number of undo application preceding each execution or fetch of a statement.

If you monitored all the sessions for a while, reporting the two stats (and the undos applied per CR created) every few minutes you might find a session responsible for a lot of the undo application - at which point you might be able to check v$open_cursor and v$sqlstats for the statements that the session was running.

Neither strategy sounds particularly viable in a busy production system, though. The former will be more accurate, but introduce a lot of overhead to the critical statement - the latter is a bit hit and miss.]]></description>
		<content:encoded><![CDATA[<p>John.</p>
<p>I can&#8217;t think of any good way of doing this; although v$sql (and related views) report the number of buffer_gets against an child cursor, there&#8217;s nothing similar that allows you to identify the buffer gets that were for undo records, or the number of CR buffers created.</p>
<p>There is event 10201 (trace undo applied for CR), if you enabled this and event 10046 for a session you could get a (very large) trace file that allowed you to count the number of undo application preceding each execution or fetch of a statement.</p>
<p>If you monitored all the sessions for a while, reporting the two stats (and the undos applied per CR created) every few minutes you might find a session responsible for a lot of the undo application &#8211; at which point you might be able to check v$open_cursor and v$sqlstats for the statements that the session was running.</p>
<p>Neither strategy sounds particularly viable in a busy production system, though. The former will be more accurate, but introduce a lot of overhead to the critical statement &#8211; the latter is a bit hit and miss.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Fak</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-43141</link>
		<dc:creator><![CDATA[John Fak]]></dc:creator>
		<pubDate>Wed, 14 Dec 2011 04:49:24 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-43141</guid>
		<description><![CDATA[How to tie the SYSSTAT of data blocks consistent reads - undo records applied               Creating CR clones - back to a causing SQL.

I have this isse and suspect 1 query is generting most of the &#039;CR clones&#039; - bu how to make that join ?]]></description>
		<content:encoded><![CDATA[<p>How to tie the SYSSTAT of data blocks consistent reads &#8211; undo records applied               Creating CR clones &#8211; back to a causing SQL.</p>
<p>I have this isse and suspect 1 query is generting most of the &#8216;CR clones&#8217; &#8211; bu how to make that join ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-40608</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Thu, 02 Jun 2011 20:48:36 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-40608</guid>
		<description><![CDATA[Ananda,

Capturing PQ slave activity isn&#039;t really possible - some of the slave numbers sum back to the co-ordinator, but some may be missing. You really need to run an extract against v$px_sesstat just before the query ends.

PQ Slaves are allocated as the query starts to run - not at parse time; if parallel_min_servers is non-zero they the processes can exist independently of any running query, even if parallel_min_servers there is an &quot;idle time&quot; before they die so one query can pick up the slaves spawned by another.]]></description>
		<content:encoded><![CDATA[<p>Ananda,</p>
<p>Capturing PQ slave activity isn&#8217;t really possible &#8211; some of the slave numbers sum back to the co-ordinator, but some may be missing. You really need to run an extract against v$px_sesstat just before the query ends.</p>
<p>PQ Slaves are allocated as the query starts to run &#8211; not at parse time; if parallel_min_servers is non-zero they the processes can exist independently of any running query, even if parallel_min_servers there is an &#8220;idle time&#8221; before they die so one query can pick up the slaves spawned by another.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ananda</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-40592</link>
		<dc:creator><![CDATA[Ananda]]></dc:creator>
		<pubDate>Wed, 01 Jun 2011 08:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-40592</guid>
		<description><![CDATA[Is there any way to capture PQ slave activity in snap_my_stats procedure?. 

I belive the PQ slaves get created during query parse time instead of session creation time.

Thanks
Ananda]]></description>
		<content:encoded><![CDATA[<p>Is there any way to capture PQ slave activity in snap_my_stats procedure?. </p>
<p>I belive the PQ slaves get created during query parse time instead of session creation time.</p>
<p>Thanks<br />
Ananda</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-40420</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Sun, 24 Apr 2011 09:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-40420</guid>
		<description><![CDATA[Bernard,

Thanks for the comment.
Another source of &quot;consistent gets - examination&quot; that I wrote about &lt;a href=&quot;http://www.jlcomp.demon.co.uk/buffer_handles.html&quot; rel=&quot;nofollow&quot;&gt;&lt;em&gt;&lt;strong&gt;a few years ago&lt;/strong&gt;&lt;/em&gt;&lt;/a&gt; is the special case of access to a single table hash cluster.]]></description>
		<content:encoded><![CDATA[<p>Bernard,</p>
<p>Thanks for the comment.<br />
Another source of &#8220;consistent gets &#8211; examination&#8221; that I wrote about <a href="http://www.jlcomp.demon.co.uk/buffer_handles.html" rel="nofollow"><em><strong>a few years ago</strong></em></a> is the special case of access to a single table hash cluster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernard Polarski</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-40375</link>
		<dc:creator><![CDATA[Bernard Polarski]]></dc:creator>
		<pubDate>Wed, 20 Apr 2011 07:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-40375</guid>
		<description><![CDATA[Very good article and I hope to re-read it into your next book. I learned another type of this &quot;consistent gets - examination&quot;. The Oracle doc states : &quot;subset of consistent gets. It is the number of consistent gets that could be immediately performed without pinning the buffer. Usually apply to indexes and require only one latch&quot;. But here I learn that the access to undo blocks in order to create consistent changes blocks also increment this &#039;examination&#039;, hence index block access is not the only source of this &#039;examination&#039;.]]></description>
		<content:encoded><![CDATA[<p>Very good article and I hope to re-read it into your next book. I learned another type of this &#8220;consistent gets &#8211; examination&#8221;. The Oracle doc states : &#8220;subset of consistent gets. It is the number of consistent gets that could be immediately performed without pinning the buffer. Usually apply to indexes and require only one latch&#8221;. But here I learn that the access to undo blocks in order to create consistent changes blocks also increment this &#8216;examination&#8217;, hence index block access is not the only source of this &#8216;examination&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: More CR &#171; Oracle Scratchpad</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-40369</link>
		<dc:creator><![CDATA[More CR &#171; Oracle Scratchpad]]></dc:creator>
		<pubDate>Tue, 19 Apr 2011 18:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-40369</guid>
		<description><![CDATA[[...] on from yesterday&#8217;s post on consistent reads, I thought I&#8217;d make the point that the way you work can make an enormous difference to the [...]]]></description>
		<content:encoded><![CDATA[<p>[...] on from yesterday&#8217;s post on consistent reads, I thought I&#8217;d make the point that the way you work can make an enormous difference to the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Lewis</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-40367</link>
		<dc:creator><![CDATA[Jonathan Lewis]]></dc:creator>
		<pubDate>Tue, 19 Apr 2011 07:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-40367</guid>
		<description><![CDATA[lascoltodelvenerdi,

Thanks for pointing that out - now fixed.]]></description>
		<content:encoded><![CDATA[<p>lascoltodelvenerdi,</p>
<p>Thanks for pointing that out &#8211; now fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lascoltodelvenerdi</title>
		<link>http://jonathanlewis.wordpress.com/2011/04/18/consistent-reads/#comment-40366</link>
		<dc:creator><![CDATA[lascoltodelvenerdi]]></dc:creator>
		<pubDate>Tue, 19 Apr 2011 06:57:40 +0000</pubDate>
		<guid isPermaLink="false">http://jonathanlewis.wordpress.com/?p=6186#comment-40366</guid>
		<description><![CDATA[Little typo.

You say: “data blocks consistent reads – undo records applied” = 1

but the dump of the stats says:
data blocks consistent reads - undo records applied                      1,001

Nice work as always.]]></description>
		<content:encoded><![CDATA[<p>Little typo.</p>
<p>You say: “data blocks consistent reads – undo records applied” = 1</p>
<p>but the dump of the stats says:<br />
data blocks consistent reads &#8211; undo records applied                      1,001</p>
<p>Nice work as always.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
