<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Regarding Performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077949#M1179437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Create 2 ranges for remaining 2 fields in program&lt;/P&gt;&lt;P&gt;Use these 2 ranges without any values in selece statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select ZX&lt;/P&gt;&lt;P&gt;ZY&lt;/P&gt;&lt;P&gt;FROM TABLE ZSDR&lt;/P&gt;&lt;P&gt;INTO TABLE i_zsdr &lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN i_ZTABLE&lt;/P&gt;&lt;P&gt;WHERE F1 = i_ztable-f1&lt;/P&gt;&lt;P&gt;AND f2 IN s_f2&lt;/P&gt;&lt;P&gt;AND f3 IN s_f3&lt;/P&gt;&lt;P&gt;and f4 in r_f4&lt;/P&gt;&lt;P&gt;and f5 in r_f5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Feb 2009 07:26:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-09T07:26:31Z</dc:date>
    <item>
      <title>Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077948#M1179436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written one select on Z table, it is having some 40Laks records, I have the secondaty index on 5 fields, In my where clause iam using the first 3 fields. But still the select statement is taking more than 10 mins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the select statement is below..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select ZX&lt;/P&gt;&lt;P&gt;          ZY&lt;/P&gt;&lt;P&gt;           FROM TABLE ZSDR&lt;/P&gt;&lt;P&gt;           INTO TABLE i_zsdr &lt;/P&gt;&lt;P&gt;          FOR ALL ENTRIES IN i_ZTABLE&lt;/P&gt;&lt;P&gt;         WHERE F1 = i_ztable-f1&lt;/P&gt;&lt;P&gt;         AND f2 IN s_f2&lt;/P&gt;&lt;P&gt;         AND f3 IN s_f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still the program is taking more time, in i_ztable i have 80,000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any other way to improve the performance of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the secondary index avaiable in fields F1, F2, F3, F4 and F5..but iam using the first 3 fields in the same order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 07:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077948#M1179436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T07:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077949#M1179437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Create 2 ranges for remaining 2 fields in program&lt;/P&gt;&lt;P&gt;Use these 2 ranges without any values in selece statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select ZX&lt;/P&gt;&lt;P&gt;ZY&lt;/P&gt;&lt;P&gt;FROM TABLE ZSDR&lt;/P&gt;&lt;P&gt;INTO TABLE i_zsdr &lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN i_ZTABLE&lt;/P&gt;&lt;P&gt;WHERE F1 = i_ztable-f1&lt;/P&gt;&lt;P&gt;AND f2 IN s_f2&lt;/P&gt;&lt;P&gt;AND f3 IN s_f3&lt;/P&gt;&lt;P&gt;and f4 in r_f4&lt;/P&gt;&lt;P&gt;and f5 in r_f5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 07:26:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077949#M1179437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T07:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077950#M1179438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can create secondary index with the three fields which you are using in select clause in the same sequence.It will increase the performance .&lt;/P&gt;&lt;P&gt;You can make the ZY  table  &lt;STRONG&gt;full Buffering&lt;/STRONG&gt; .&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pinaki Mukherjee on Feb 9, 2009 9:30 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pinaki Mukherjee on Feb 9, 2009 9:31 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 07:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077950#M1179438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T07:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077951#M1179439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i_temp[ ] = i_ZTABLE[ ].&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sort i_temp by f1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;delete adjacent duplicates from i_temp comparing f1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select ZX&lt;/P&gt;&lt;P&gt;ZY&lt;/P&gt;&lt;P&gt;FROM TABLE ZSDR&lt;/P&gt;&lt;P&gt;INTO TABLE i_zsdr&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN &lt;STRONG&gt;i_temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;WHERE F1 = &lt;STRONG&gt;i_temp-f1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AND f2 IN s_f2&lt;/P&gt;&lt;P&gt;AND f3 IN s_f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Dev Parbutteea on Feb 9, 2009 9:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 08:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077951#M1179439</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-02-09T08:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077952#M1179440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;better u go for creation of secondary index with the 3 fields, that ur using in ur select query WHERE clause.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 08:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077952#M1179440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T08:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077953#M1179441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;quite a lot of nonsense ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is lakhs ... it is not real English, is it?  I guess it is 100.000, such a table can not be buffered !!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The number of fields in an index is quite irrelevant, index f1, f2, f3, f4, f5 and f1 , f2 f3 are identical&lt;/P&gt;&lt;P&gt;if only the three fields are used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what is actually used, are there entries, in there f2 and f3 ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the selectivity of f1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This information ' i_ztable i have 80,000 records' is o.k., but how many records come back?????&lt;/P&gt;&lt;P&gt;That would the relevant information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 09:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077953#M1179441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T09:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077954#M1179442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you realy want to increase performance try out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Instead of two Select statements (For all entries) Use Joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) View is the best in performance create a view from all the fields and use it in the program&lt;/P&gt;&lt;P&gt; as normal structure as table.(Views can be buffered).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the second Option it is the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 12:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077954#M1179442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-09T12:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077955#M1179443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; 1) Instead of two Select statements (For all entries) Use Joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never thought I'd live to read this &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2009 15:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077955#M1179443</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-09T15:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077956#M1179444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;unfortunately it does not fit here !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't know whether there is another SELECT close to that you. I can be that i_ztable is the result of some manual input, of a long processing of data upload or whatever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077956#M1179444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077957#M1179445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sreehari,&lt;/P&gt;&lt;P&gt;I hope you have sorted the table i_ZTABLE on f1 f2 f3 or that matches to your where clause!!! Also did you try to see that extract all the records in itab and then delete unwanted based on your criterion. By all the records I mean by using as generic where clause as you can make.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 16:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-performance-issue/m-p/5077957#M1179445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T16:08:47Z</dc:date>
    </item>
  </channel>
</rss>

