<?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 Inner Join performance problem. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188884#M1200902</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 wrote a select statement using inner join on table VBRK , VBUK, VBAP and VBRP.&lt;/P&gt;&lt;P&gt;This select statement is working fine from last two years, but suddenly to execute this select statement&lt;/P&gt;&lt;P&gt;taking lot of time and program going to dump.&lt;/P&gt;&lt;P&gt;But same select statement is working in development and quality systems and not working in production system. Based on given selection we check the tables in production we found only 10 records, but to fetch these 10 records also it will taking lot of time and going to dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone please advise on the same.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2009 05:58:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-18T05:58:27Z</dc:date>
    <item>
      <title>Inner Join performance problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188884#M1200902</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 wrote a select statement using inner join on table VBRK , VBUK, VBAP and VBRP.&lt;/P&gt;&lt;P&gt;This select statement is working fine from last two years, but suddenly to execute this select statement&lt;/P&gt;&lt;P&gt;taking lot of time and program going to dump.&lt;/P&gt;&lt;P&gt;But same select statement is working in development and quality systems and not working in production system. Based on given selection we check the tables in production we found only 10 records, but to fetch these 10 records also it will taking lot of time and going to dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone please advise on the same.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 05:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188884#M1200902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T05:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join performance problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188885#M1200903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what r the joining condition.?&lt;/P&gt;&lt;P&gt;Please analyze  this report in SE30 tcode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 06:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188885#M1200903</guid>
      <dc:creator>JoffyJohn</dc:creator>
      <dc:date>2009-02-18T06:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join performance problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188886#M1200904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;select all the primary key &lt;/P&gt;&lt;P&gt;if possible use view instead of join &lt;/P&gt;&lt;P&gt;see this link&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1139796"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 06:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188886#M1200904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T06:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join performance problem.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188887#M1200905</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;Please:&lt;/P&gt;&lt;P&gt;1. Create DB view instead of inner join&lt;/P&gt;&lt;P&gt;2. Use the primary key of the base table (the first or main table in your view) in your where clause&lt;/P&gt;&lt;P&gt;3. If not possible, then you need to create secondary index in your base table that match with your where clause fields.&lt;/P&gt;&lt;P&gt;4. Try to use positive relationship operator, like EQ instead NE, GT, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Lim...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 06:12:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-performance-problem/m-p/5188887#M1200905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T06:12:29Z</dc:date>
    </item>
  </channel>
</rss>

