<?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: help in performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413138#M819727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  Thomas Zloch  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to take from catsdb network , project &lt;/P&gt;&lt;P&gt; hours ,status .&lt;/P&gt;&lt;P&gt;what u say is to take all employee of project and to use maybe &lt;/P&gt;&lt;P&gt;for all entris with pernr key ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 13:03:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T13:03:16Z</dc:date>
    <item>
      <title>help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413131#M819720</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;i have this join there is way that i can improve this performance&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;  SELECT  catsdb&lt;SUB&gt;rnplnr catsdb&lt;/SUB&gt;catshours catsdb~workdate&lt;/P&gt;&lt;P&gt;    catsdb&lt;SUB&gt;status afvc&lt;/SUB&gt;vornr afvc~ltxa1&lt;/P&gt;&lt;P&gt;  FROM  ( catsdb&lt;/P&gt;&lt;P&gt;  LEFT OUTER JOIN afvc&lt;/P&gt;&lt;P&gt;  ON afvc&lt;SUB&gt;aufpl EQ catsdb&lt;/SUB&gt;raufpl&lt;/P&gt;&lt;P&gt;  AND afvc&lt;SUB&gt;aplzl EQ catsdb&lt;/SUB&gt;raplzl )&lt;/P&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF TABLE c_tab&lt;/P&gt;&lt;P&gt;  WHERE workdate IN period&lt;/P&gt;&lt;P&gt;  AND rnplnr = project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 10:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413131#M819720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T10:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413132#M819721</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;USE FOR ALL ENTRIES THAT WILL REDUCE THE LOAD ON DATA BASE &lt;/P&gt;&lt;P&gt;IF YOU USE JOINS THEN DATA BASE CONNECTIVITY WILL BE THERE UP TO THE PROGRAM EXECUTION RESULT IN WHICH LOAD ON DATA BASE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF YOU USE FOR ALL ENTRIES THE DATA WILLBE RETRIVED VERY FIRST AND THERE WON'T BE ANY DATA BASE CONNECTIVITY&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 10:22:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413132#M819721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T10:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413133#M819722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the join condition is OK, however you are not using a primary or secondary key when selecting from CATSDB. &lt;/P&gt;&lt;P&gt;Analyse the keys of table CATSDB and see if you can fill any of these keys top down as much as possible when selecting the data.&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 10:29:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413133#M819722</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-02-21T10:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413134#M819723</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;u can give me E.G . how to use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 10:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413134#M819723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T10:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413135#M819724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, check out CATSDB in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;primary key is COUNTER. Not available as selection criteria? We have to look at the secondary indexes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1           Index for Personnel Number and Date       &lt;/P&gt;&lt;P&gt;2           Index for Document Number                 &lt;/P&gt;&lt;P&gt;3           Index for Personnel Number and Work Item  &lt;/P&gt;&lt;P&gt;4           Index for Personnel Number, Status, Date  &lt;/P&gt;&lt;P&gt;5           Index for External Document Number        &lt;/P&gt;&lt;P&gt;6           Index for Objekt-Id (ARBID)   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now I don't want to list all key fields here, you can check that yourself in SE11. The first one for example has fields PERNR and WORKDATE (in that order). In your select you are using WORKDATE and another field. If you could include a narrow selection on PERNR in your select, performance would improve significantly.&lt;/P&gt;&lt;P&gt;If all else fails, you can create your own secondary index, however this occupies additional disk space and increases DB load slighty on each insert/update operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 11:41:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413135#M819724</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-02-21T11:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413136#M819725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Thomas, &lt;/P&gt;&lt;P&gt;you should not really recommend a beginner to create an index. The effect can be very counterproductive as other applications can be effected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Ricardo&lt;/P&gt;&lt;P&gt;please ignore the spam mail on the FOR ALL ENTRIES, it is incorrect.If there is no index support then also FOR ALL ENTRIES is slow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With proper index support a join is faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How many entries are in the CATSDB in your system, check with SE11?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413136#M819725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413137#M819726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Siegfried Boes  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have 10,758,930 entries in catsdb table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:57:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413137#M819726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T12:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413138#M819727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi  Thomas Zloch  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to take from catsdb network , project &lt;/P&gt;&lt;P&gt; hours ,status .&lt;/P&gt;&lt;P&gt;what u say is to take all employee of project and to use maybe &lt;/P&gt;&lt;P&gt;for all entris with pernr key ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 13:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413138#M819727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T13:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413139#M819728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the FOR ALL ENTRIES will change nothing, there you would have to start with this SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT catsdb&lt;SUB&gt;rnplnr catsdb&lt;/SUB&gt;catshours catsdb~workdate&lt;/P&gt;&lt;P&gt;catsdb~status &lt;/P&gt;&lt;P&gt;FROM catsdb&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE c_tab&lt;/P&gt;&lt;P&gt;WHERE workdate IN period&lt;/P&gt;&lt;P&gt;      AND rnplnr = project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which is again slow because it is not index supported and&lt;/P&gt;&lt;P&gt;your table has 10.000.000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check with the SE11 have many records fulfill your condition for workdate and project. Also this will take a while.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In principle it would be ncessary to create an index with rnplnr and workdate. But your table has 10.000.000 records, so the index will also be large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your applcation really important? The new index will slow down other applications (additional index update). Maybe it is not so important because it runs very rarely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should check whether CATSDB data can be archieved or deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the select is optimized then the join is just a little overhead, and should be much faster than a FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 13:36:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413139#M819728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T13:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413140#M819729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if that gives you a SMALL selection of PERNRs, it's worth a try.&lt;/P&gt;&lt;P&gt;otherwise I'll leave you with Siegfried, you're in good hands.&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 15:35:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413140#M819729</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-02-21T15:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413141#M819730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; The first one for example has fields PERNR and&lt;/P&gt;&lt;P&gt;&amp;gt; WORKDATE (in that order).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can get the pernr for your project from another table&lt;/P&gt;&lt;P&gt;then it could work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT catsdb&lt;SUB&gt;rnplnr catsdb&lt;/SUB&gt;catshours catsdb~workdate&lt;/P&gt;&lt;P&gt;catsdb~status &lt;/P&gt;&lt;P&gt;FROM catsdb&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE c_tab&lt;/P&gt;&lt;P&gt;WHERE &lt;/P&gt;&lt;P&gt;pernr = ( select pernr from ???? where project = project) &lt;/P&gt;&lt;P&gt;AND workdate IN period&lt;/P&gt;&lt;P&gt;AND rnplnr = project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 16:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413141#M819730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T16:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: help in performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413142#M819731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas - creating a secondary index for one SELECT in one report is overkill. Eventtually, what quite often happens is that the report is run rarely anyway and finally becomes obsolete, but the index remains along with the associated overhead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the poster cannot find a workaround, it can just be run in the background when users are off the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 18:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-in-performance/m-p/3413142#M819731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T18:34:56Z</dc:date>
    </item>
  </channel>
</rss>

