 




<?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: How to reduce the time taken to select the records from huge keyed physical file having 180 Million records</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 02:38:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-112009</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Mon, 08 Oct 2012 14:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-112009</guid>
		<description><![CDATA[block of&#160;plutonium leading to truncation?
&#160;
Certainly words to wake up homeland security.]]></description>
		<content:encoded><![CDATA[<p>block of&nbsp;plutonium leading to truncation?<br />
&nbsp;<br />
Certainly words to wake up homeland security.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graybeard52</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111968</link>
		<dc:creator>graybeard52</dc:creator>
		<pubDate>Sun, 07 Oct 2012 03:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111968</guid>
		<description><![CDATA[One more suggestion- do the query directly over the PF.&#160; Building a query over a LF is usually much slower.]]></description>
		<content:encoded><![CDATA[<p>One more suggestion- do the query directly over the PF.&nbsp; Building a query over a LF is usually much slower.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111957</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 06 Oct 2012 10:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111957</guid>
		<description><![CDATA[(Previous comment was truncated on input...)
&#160;
So far, the OP hasn&#039;t told us anything useful about the table structure nor answered questions about the other three values. We don&#039;t know what records look like. We haven&#039;t even seen the OPNQRYF command yet.
&#160;
The target program has a trivial description and sounds easy. It almost seems like it could be replaced by a single Qshell db2 statement. It&#039;s hard to tell how it could be so difficult to change.
&#160;
As far as we know, the OPNQRYF is already optimized to maximum possible degree. Maybe &quot;20-30 minutes&quot; is the best possible time on that system for that table.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>(Previous comment was truncated on input&#8230;)<br />
&nbsp;<br />
So far, the OP hasn&#8217;t told us anything useful about the table structure nor answered questions about the other three values. We don&#8217;t know what records look like. We haven&#8217;t even seen the OPNQRYF command yet.<br />
&nbsp;<br />
The target program has a trivial description and sounds easy. It almost seems like it could be replaced by a single Qshell db2 statement. It&#8217;s hard to tell how it could be so difficult to change.<br />
&nbsp;<br />
As far as we know, the OPNQRYF is already optimized to maximum possible degree. Maybe &#8220;20-30 minutes&#8221; is the best possible time on that system for that table.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111956</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 06 Oct 2012 10:33:59 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111956</guid>
		<description><![CDATA[&lt;EM&gt;The use of OPNQRYF can be optimized...&lt;/EM&gt;
&#160;
That&#039;s true.
&#160;
The use of plutonium for generating heat can also be optimized, but that doesn&#039;t mean that a block of plutonium makes a good heater for my living room.
&#160;
So far, the OP ]]></description>
		<content:encoded><![CDATA[<p><em>The use of OPNQRYF can be optimized&#8230;</em><br />
&nbsp;<br />
That&#8217;s true.<br />
&nbsp;<br />
The use of plutonium for generating heat can also be optimized, but that doesn&#8217;t mean that a block of plutonium makes a good heater for my living room.<br />
&nbsp;<br />
So far, the OP </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nuccio</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111953</link>
		<dc:creator>nuccio</dc:creator>
		<pubDate>Sat, 06 Oct 2012 09:16:51 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111953</guid>
		<description><![CDATA[Are you using OPNQRYF directly to read and write in printer file or CPYFRMQRYF ?The use of OPNQRYF can be optimized in various mode and it is particularly useful in programs because it allows you to use the normal definitions of files. The first thing to be done is reduce the number of fields in base to the real necessity, using a proper format, than use logical files only if correspond in arrangement&#160; with OPNQRYF, otherwise&#160; use physical file.]]></description>
		<content:encoded><![CDATA[<p>Are you using OPNQRYF directly to read and write in printer file or CPYFRMQRYF ?The use of OPNQRYF can be optimized in various mode and it is particularly useful in programs because it allows you to use the normal definitions of files. The first thing to be done is reduce the number of fields in base to the real necessity, using a proper format, than use logical files only if correspond in arrangement&nbsp; with OPNQRYF, otherwise&nbsp; use physical file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111944</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 06 Oct 2012 00:35:45 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111944</guid>
		<description><![CDATA[&lt;EM&gt;PLs suggest will it work.&lt;/EM&gt;
&#160;
It can be made to work, but it&#039;s more difficult than simply indexing by the appropriate columns. It could also be significantly slower.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>PLs suggest will it work.</em><br />
&nbsp;<br />
It can be made to work, but it&#8217;s more difficult than simply indexing by the appropriate columns. It could also be significantly slower.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111932</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 05 Oct 2012 16:32:02 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111932</guid>
		<description><![CDATA[The fact that it&#039;s a keyed file doesn&#039;t help when the selection is not by the key or is a range or list.&#160; You may need to build this cl using different Logicals for different selection rules so the query engine doesn&#039;t have to seach the entire data set.]]></description>
		<content:encoded><![CDATA[<p>The fact that it&#8217;s a keyed file doesn&#8217;t help when the selection is not by the key or is a range or list.&nbsp; You may need to build this cl using different Logicals for different selection rules so the query engine doesn&#8217;t have to seach the entire data set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajeshece</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111889</link>
		<dc:creator>rajeshece</dc:creator>
		<pubDate>Fri, 05 Oct 2012 04:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111889</guid>
		<description><![CDATA[Have 1 point. Create a logical File with multiple members. Arrange the date.&#160; you just select the correct member based on the User&#039;s input. Read that Member and Filter the Records
Eg:&#160; Data should be arranged based on period and Country. So you can select the members which is related to res.country and period. then start filtering based on remaining 3 fields. PLs suggest will it work.]]></description>
		<content:encoded><![CDATA[<p>Have 1 point. Create a logical File with multiple members. Arrange the date.&nbsp; you just select the correct member based on the User&#8217;s input. Read that Member and Filter the Records<br />
Eg:&nbsp; Data should be arranged based on period and Country. So you can select the members which is related to res.country and period. then start filtering based on remaining 3 fields. PLs suggest will it work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rajeshece</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111886</link>
		<dc:creator>rajeshece</dc:creator>
		<pubDate>Fri, 05 Oct 2012 04:02:48 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111886</guid>
		<description><![CDATA[Using Sql is the best option. Or Create logical file based on some known selection creteria and use sql on that logical file]]></description>
		<content:encoded><![CDATA[<p>Using Sql is the best option. Or Create logical file based on some known selection creteria and use sql on that logical file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111880</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 05 Oct 2012 01:23:47 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/how-to-reduce-the-time-taken-to-select-the-records-from-huge-keyed-physical-file-having-180-million-records/#comment-111880</guid>
		<description><![CDATA[The period and country fields might be good candidates for EVIs. The other three fields are total unknowns, but any one of them might also be an EVI candidate. EVIs are &lt;EM&gt;potential&lt;/EM&gt; ways to significantly speed up the process.
&#160;
Of course, it&#039;s not at all clear how OPNQRYF fits with &quot;accessing keyed logical file&quot; unless the LF is effectively being created by the OPNQRYF. An existing LF wouldn&#039;t seem to be useful at all except potentially for the initial compile.&#160;Without seeing any programming, it&#039;s pure guesswork.
&#160;
As for the file size, I&#039;ve seen much larger files for businesses smaller than $265M/yr. There are many reasons for larger files.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>The period and country fields might be good candidates for EVIs. The other three fields are total unknowns, but any one of them might also be an EVI candidate. EVIs are <em>potential</em> ways to significantly speed up the process.<br />
&nbsp;<br />
Of course, it&#8217;s not at all clear how OPNQRYF fits with &#8220;accessing keyed logical file&#8221; unless the LF is effectively being created by the OPNQRYF. An existing LF wouldn&#8217;t seem to be useful at all except potentially for the initial compile.&nbsp;Without seeing any programming, it&#8217;s pure guesswork.<br />
&nbsp;<br />
As for the file size, I&#8217;ve seen much larger files for businesses smaller than $265M/yr. There are many reasons for larger files.<br />
&nbsp;<br />
Tom</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/8 queries in 0.040 seconds using memcached
Object Caching 395/396 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 03:14:36 -->