<?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: select query taking long time to execute during background execution. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478518#M2001630</link>
    <description>&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;The table modify state won't last long ..so your query should have feteched either latest modified or previous one .&lt;/P&gt;&lt;P&gt;Run SAT .. you find exactly where it takes more time.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 03:27:42 GMT</pubDate>
    <dc:creator>ponrajasekharan</dc:creator>
    <dc:date>2022-01-28T03:27:42Z</dc:date>
    <item>
      <title>select query taking long time to execute during background execution.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478515#M2001627</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;We are facing an issue while running a background job select query is used to process entry from one ztable.&lt;/P&gt;
  &lt;P&gt;but it takes longer than usual, due to which this job goes in long running.&lt;/P&gt;
  &lt;P&gt;Any possible reasons of table being locked or any other reasons for query to process for such a long duration?&lt;/P&gt;
  &lt;P&gt;SELECT zcolumns&lt;BR /&gt; FROM ztables UP TO 1 ROWS&lt;BR /&gt; INTO lwa_table&lt;BR /&gt; WHERE zfield1 EQ primary_key_1&lt;BR /&gt; AND zfield2 EQ primary_key_2&lt;BR /&gt; ORDER BY key_field.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 07:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478515#M2001627</guid>
      <dc:creator>mukeshponraj1234</dc:creator>
      <dc:date>2021-12-07T07:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: select query taking long time to execute during background execution.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478516#M2001628</link>
      <description>&lt;P&gt;It's impossible to do a remote analysis with so few details. You should use the tools for performance analysis, like the ones which are provided with your database system, or at SAP level (ST03, ST04, ST12, SAT, etc.)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478516#M2001628</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-12-07T08:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: select query taking long time to execute during background execution.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478517#M2001629</link>
      <description>&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;We took performance trace for the following job and at the same time there is another background job which is deleting the entries of same table, not sure due to this it is causing delay in fetching from select query.&lt;/P&gt;&lt;P&gt;there is no issue in select query, it fetches the entries quickly while processed in foreground.&lt;/P&gt;&lt;P&gt;when select query can take max time for fetching while doing any operation in the same table?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478517#M2001629</guid>
      <dc:creator>mukeshponraj1234</dc:creator>
      <dc:date>2021-12-07T08:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: select query taking long time to execute during background execution.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478518#M2001630</link>
      <description>&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;The table modify state won't last long ..so your query should have feteched either latest modified or previous one .&lt;/P&gt;&lt;P&gt;Run SAT .. you find exactly where it takes more time.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 03:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-taking-long-time-to-execute-during-background-execution/m-p/12478518#M2001630</guid>
      <dc:creator>ponrajasekharan</dc:creator>
      <dc:date>2022-01-28T03:27:42Z</dc:date>
    </item>
  </channel>
</rss>

