 




<?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: Trigger Perormance Issues when Journalling Started</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: FrankWM</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110025</link>
		<dc:creator>FrankWM</dc:creator>
		<pubDate>Mon, 13 Aug 2012 08:08:12 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110025</guid>
		<description><![CDATA[&lt;i&gt;And 5,000,000 rows in 25 minutes is a problem because&lt;/i&gt;Because it only takes a little over 2 minutes without the trigger. Although, in practice you may be right. I need to do some analysis of just how many writes do take place. I&#039;ll do that later today.Interestingly, I have done some tests with record updates and they are quite acceptable. Something like 1.5 million updates. With no trigger 7 minutes and with the trigger, 16 minutes. I also have a lightweight version of the monitor file that does not include the before and after images (the thought is that I can write those to a separate, non-journaled file with same key). In that scenario I see blocking happening with the writes to the monitor file and it only takes 9 minutes; I haven&#039;t added the extra file for the images, so it will go up when I do]]></description>
		<content:encoded><![CDATA[<p><i>And 5,000,000 rows in 25 minutes is a problem because</i>Because it only takes a little over 2 minutes without the trigger. Although, in practice you may be right. I need to do some analysis of just how many writes do take place. I&#8217;ll do that later today.Interestingly, I have done some tests with record updates and they are quite acceptable. Something like 1.5 million updates. With no trigger 7 minutes and with the trigger, 16 minutes. I also have a lightweight version of the monitor file that does not include the before and after images (the thought is that I can write those to a separate, non-journaled file with same key). In that scenario I see blocking happening with the writes to the monitor file and it only takes 9 minutes; I haven&#8217;t added the extra file for the images, so it will go up when I do</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110019</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sun, 12 Aug 2012 22:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110019</guid>
		<description><![CDATA[And 5,000,000 rows in 25 minutes is a problem because ...]]></description>
		<content:encoded><![CDATA[<p>And 5,000,000 rows in 25 minutes is a problem because &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110016</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sun, 12 Aug 2012 21:12:02 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110016</guid>
		<description><![CDATA[With 50 files, there could be a very large number of jobs all trying to write to the same (monitor) file. Contention could be excessive. Further, the extra journaling adds an additional layer of contention (for 50 files). And because the write to the journal must complete before the write can be allowed to the file, every point of contention has an extra delay added in.
&#160;
All of it on top of the primary output to the 50 files and the journaling for them.
&#160;
I&#039;ve yet to understand why a &quot;monitor&quot; file is good for anything when journaling already exists. I don&#039;t quite see the elegance yet.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>With 50 files, there could be a very large number of jobs all trying to write to the same (monitor) file. Contention could be excessive. Further, the extra journaling adds an additional layer of contention (for 50 files). And because the write to the journal must complete before the write can be allowed to the file, every point of contention has an extra delay added in.<br />
&nbsp;<br />
All of it on top of the primary output to the 50 files and the journaling for them.<br />
&nbsp;<br />
I&#8217;ve yet to understand why a &#8220;monitor&#8221; file is good for anything when journaling already exists. I don&#8217;t quite see the elegance yet.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FrankWM</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110015</link>
		<dc:creator>FrankWM</dc:creator>
		<pubDate>Sun, 12 Aug 2012 21:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110015</guid>
		<description><![CDATA[What happened to my line-feeds? My previous message looks a mess]]></description>
		<content:encoded><![CDATA[<p>What happened to my line-feeds? My previous message looks a mess</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FrankWM</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110014</link>
		<dc:creator>FrankWM</dc:creator>
		<pubDate>Sun, 12 Aug 2012 21:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110014</guid>
		<description><![CDATA[&lt;i&gt;Doesn’t that wreak havoc on rollbacks?&lt;/i&gt;No, when STRCMTCTL issued, generally all files are open COMMIT&lt;i&gt;Which modes are “wrong”?&lt;/i&gt;Yes - commit lock, if this indicates that the file needs to be open commit, but it isn&#039;t, then it is closed and opened commit and vice-versa.&lt;i&gt;It has no effect on what? And are you saying that the timings you gave above were always outside of commitment control?&lt;/i&gt;Yes, my tests are outside of commitment control. 50% of real system transactions do not use commitment control and it was only for comparative purposes.&lt;i&gt;The use journals question&lt;/i&gt;They were considered as an option but they also have their problems that are outside the scope of this.]]></description>
		<content:encoded><![CDATA[<p><i>Doesn’t that wreak havoc on rollbacks?</i>No, when STRCMTCTL issued, generally all files are open COMMIT<i>Which modes are “wrong”?</i>Yes &#8211; commit lock, if this indicates that the file needs to be open commit, but it isn&#8217;t, then it is closed and opened commit and vice-versa.<i>It has no effect on what? And are you saying that the timings you gave above were always outside of commitment control?</i>Yes, my tests are outside of commitment control. 50% of real system transactions do not use commitment control and it was only for comparative purposes.<i>The use journals question</i>They were considered as an option but they also have their problems that are outside the scope of this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110012</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Sun, 12 Aug 2012 20:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110012</guid>
		<description><![CDATA[So the trigger program only writes to the monitor file, which could have been created from the Journals.&#160; Why do this in real time?]]></description>
		<content:encoded><![CDATA[<p>So the trigger program only writes to the monitor file, which could have been created from the Journals.&nbsp; Why do this in real time?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110004</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sun, 12 Aug 2012 10:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110004</guid>
		<description><![CDATA[&lt;EM&gt;We have mixture of processing, some in commitment control and some not.&lt;/EM&gt;
&#160;
Doesn&#039;t that wreak havoc on rollbacks?
&#160;
&lt;EM&gt;I close and open the monitor file if the flag in the passed parameter indicates I am open in the wrong mode.&lt;/EM&gt;
&#160;
Which modes are &quot;wrong&quot;? I assume the &quot;parameter&quot; is &#039;Commit lock level&#039;. How does opening/closing the file matter for that?
&#160;
&lt;EM&gt;The Close/Open has no effect in my test as commitment control is always off.&lt;/EM&gt;
&#160;
It has no effect on what? And are you saying that the timings you gave above were always outside of commitment control?
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>We have mixture of processing, some in commitment control and some not.</em><br />
&nbsp;<br />
Doesn&#8217;t that wreak havoc on rollbacks?<br />
&nbsp;<br />
<em>I close and open the monitor file if the flag in the passed parameter indicates I am open in the wrong mode.</em><br />
&nbsp;<br />
Which modes are &#8220;wrong&#8221;? I assume the &#8220;parameter&#8221; is &#8216;Commit lock level&#8217;. How does opening/closing the file matter for that?<br />
&nbsp;<br />
<em>The Close/Open has no effect in my test as commitment control is always off.</em><br />
&nbsp;<br />
It has no effect on what? And are you saying that the timings you gave above were always outside of commitment control?<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FrankWM</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110003</link>
		<dc:creator>FrankWM</dc:creator>
		<pubDate>Sun, 12 Aug 2012 10:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-110003</guid>
		<description><![CDATA[Yes it does roll back the transaction if the transaction rolls back. That&#039;s part of the elegance of the solution as I only want to know about changes that got committed. My trigger program is RPGIV. We have mixture of processing, some in commitment control and some not. I close and open the monitor file if the flag in the passed parameter indicates I am open in the wrong mode. The Close/Open has no effect in my test as commitment control is always off.]]></description>
		<content:encoded><![CDATA[<p>Yes it does roll back the transaction if the transaction rolls back. That&#8217;s part of the elegance of the solution as I only want to know about changes that got committed. My trigger program is RPGIV. We have mixture of processing, some in commitment control and some not. I close and open the monitor file if the flag in the passed parameter indicates I am open in the wrong mode. The Close/Open has no effect in my test as commitment control is always off.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-109999</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 11 Aug 2012 21:27:50 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-109999</guid>
		<description><![CDATA[&lt;EM&gt;...it will roll back the inserted monitor file record if the transaction rolls back&lt;/EM&gt;
&#160;
Does it roll back if the transaction rolls back?
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>&#8230;it will roll back the inserted monitor file record if the transaction rolls back</em><br />
&nbsp;<br />
Does it roll back if the transaction rolls back?<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FrankWM</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-109998</link>
		<dc:creator>FrankWM</dc:creator>
		<pubDate>Sat, 11 Aug 2012 20:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/trigger-perormance-issues-when-journalling-started/#comment-109998</guid>
		<description><![CDATA[Thanks Phil. I have tried using a separate journal for the monitor file, but it makes no difference to the timings. Why journal the monitor? So it will roll back the inserted monitor file record if the transaction rolls back]]></description>
		<content:encoded><![CDATA[<p>Thanks Phil. I have tried using a separate journal for the monitor file, but it makes no difference to the timings. Why journal the monitor? So it will roll back the inserted monitor file record if the transaction rolls back</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.044 seconds using memcached
Object Caching 393/399 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 19:05:32 -->