<?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: COSP table : performance issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841778#M1132600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it doesnt work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2008 05:55:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-28T05:55:37Z</dc:date>
    <item>
      <title>COSP table : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841776#M1132598</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;COSP table has 13 fields as primary key.&lt;/P&gt;&lt;P&gt;we have a report which has a select query which accesses this table with first 6 fields as a criteria in where clause. all 6 fields are used (non of them are blank) and hence considered in the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the table has huge number of entries: &lt;STRONG&gt;more than 35 million&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence the report takes around 7 hours to execute, hence its run in background. but business is not happy with  the performance of the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table is being archived on monthly basis (using the appropriate criteria)...&lt;/P&gt;&lt;P&gt;I can not create index, since the 6 fields in where clause are already part of primary key (hence it gives error on syntax check and tells the index will be never used..)&lt;/P&gt;&lt;P&gt;Since the report is used on monthly basis, i doubt if i can use the buffering option (i guess the buffer will be too large, hence impacting overall performance of the system...) {if i can use the buffering option, please let me know}&lt;/P&gt;&lt;P&gt;Since the table has so many entries, i am not able to use "select-into-itab" option, i have to use "select-endselect" to avoid memory dump..so, no further tuning through code changes is possible!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i am running out of options to performance tune this report, please suggest some way to solve this issue..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: chinmay kulkarni on Nov 28, 2008 10:27 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 04:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841776#M1132598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T04:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: COSP table : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841777#M1132599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Try using Blank Ranges for next 7 primary keys in the where condtions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 05:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841777#M1132599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T05:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: COSP table : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841778#M1132600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it doesnt work..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 05:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841778#M1132600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T05:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: COSP table : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841779#M1132601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chinmay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look for the Index available for tbale COSP with the fields which you are passing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any index is not available you can create the Secondary index with those fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 06:06:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841779#M1132601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T06:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: COSP table : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841780#M1132602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, the table is not allowing me to create index as the 6 fields used are already present in the primary index in the same order..&lt;/P&gt;&lt;P&gt;so, no secondary index creation is possible..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 06:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841780#M1132602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T06:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: COSP table : performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841781#M1132603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first six fields of the primary key really ought to be enough in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two things that I can think of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the explain function of ST05 to make sure that it actually uses the primary key and not something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure the statistics are up to date for this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 14:39:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cosp-table-performance-issue/m-p/4841781#M1132603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T14:39:21Z</dc:date>
    </item>
  </channel>
</rss>

