<?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>idea Re: Request to change Query to improve the performance SAP HANA ECC - Status changed to: Delivered in Suggest an Idea</title>
    <link>https://community.qlik.com/t5/Suggest-an-Idea/Request-to-change-Query-to-improve-the-performance-SAP-HANA-ECC/idc-p/1858913#M7788</link>
    <description>&lt;P&gt;This improvement is generally available now with the Nov 2021 release of Qlik Replicate.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 21:39:03 GMT</pubDate>
    <dc:creator>Shelley_Brennan</dc:creator>
    <dc:date>2021-11-12T21:39:03Z</dc:date>
    <item>
      <title>Request to change Query to improve the performance SAP HANA ECC</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Request-to-change-Query-to-improve-the-performance-SAP-HANA-ECC/idi-p/1815595</link>
      <description>&lt;P&gt;We have a call with SAP vendor Team on Attunity consumption.&lt;/P&gt;&lt;P&gt;We got a request to change the Query what Attunity is running to get the Max Row ID value to improve CPU consumption and Execution time. Please find the attached consumption details.&lt;/P&gt;&lt;P&gt;This is in production environment. We want R&amp;amp;D to look in this and provide fix ASAP as this will help across all the projects which we are using SAP HANA Connector.&lt;/P&gt;&lt;P&gt;Please let me know if you want us to create a incident with P2 or open a feature request. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;21.9% of the CPU consumed by the ATTINUTY query and Average execution time 2569645(ms)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current Query:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;SELECT MAX("$rowid$") FROM "ATNTYREPUSR4"."attrep_cdc_log"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Suggested Query:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;select max_rowid from m_cs_tables where schema_name = 'ATNTYREPUSR4' and table_name = 'attrep_cdc_log'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test Results: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Results are following:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;STATEMENT_HASH&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;STATEMENT_STRING&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;&lt;STRONG&gt;AVG_EXECUTION_TIME (microseconds)&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;32ea944315d81af1c7c4b08ffda28a4a&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;SELECT MAX("$rowid$") FROM "ATNTYREPUSR4"."attrep_cdc_log"&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;2569645&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;c72e7372bd5ce9e2c2ab0ddf60d95591&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;select table_name, schema_name, max_rowid from m_cs_tables where schema_name = 'ATNTYREPUSR4' and table_name = 'attrep_cdc_log'&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;14034&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;select statement_hash, statement_string, execution_count, avg_execution_time &amp;nbsp;from m_sql_plan_cache where statement_hash in ('c72e7372bd5ce9e2c2ab0ddf60d95591', '32ea944315d81af1c7c4b08ffda28a4a');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using m_cs_columns view is 183 times faster. However it works only for non-partitioned tables.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 17:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Request-to-change-Query-to-improve-the-performance-SAP-HANA-ECC/idi-p/1815595</guid>
      <dc:creator>cah_admin</dc:creator>
      <dc:date>2021-06-16T17:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Request to change Query to improve the performance SAP HANA ECC - Status changed to: Open - On Roadmap</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Request-to-change-Query-to-improve-the-performance-SAP-HANA-ECC/idc-p/1821435#M6743</link>
      <description>&lt;P&gt;Thank you for sharing.&amp;nbsp; This is in the roadmap and we will update you on its availability.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 13:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Request-to-change-Query-to-improve-the-performance-SAP-HANA-ECC/idc-p/1821435#M6743</guid>
      <dc:creator>Shelley_Brennan</dc:creator>
      <dc:date>2021-07-12T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Request to change Query to improve the performance SAP HANA ECC - Status changed to: Delivered</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Request-to-change-Query-to-improve-the-performance-SAP-HANA-ECC/idc-p/1858913#M7788</link>
      <description>&lt;P&gt;This improvement is generally available now with the Nov 2021 release of Qlik Replicate.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 21:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Request-to-change-Query-to-improve-the-performance-SAP-HANA-ECC/idc-p/1858913#M7788</guid>
      <dc:creator>Shelley_Brennan</dc:creator>
      <dc:date>2021-11-12T21:39:03Z</dc:date>
    </item>
  </channel>
</rss>

