<?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 Direct Discovery of AWS Redshift - QS Application Filtering Slow in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/74210#M407</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;I am currently querying the following table of approx. 200m records in redshift from an EC2 instance within the same region, but filtering on the charts is returning really slow. Performance on the ec2 instance and redshift cluster is good, but interestingly I cannot see the queries triggering on the AWS Redshift console when I filter charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filtering on the charts is really slow, with them rendering after 1 minute or more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this might be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Redshift Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SQL Table.PNG" class="jive-image image-1" src="/legacyfs/online/197212_SQL Table.PNG" style="width: 620px; height: 211px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The AWS ec2 instance spec:&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="141" style="width: 237px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;m4.16xlarge&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;64 vCPU&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;256 Gib Memory&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The AWS Redshift cluster:&lt;/STRONG&gt;&lt;SPAN class="gwt-InlineLabel"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;The data warehouse node type of the nodes in this cluster.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;dc2.large&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;CPUNumber of EC2 Compute Units per node.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;7 EC2 Compute Units (2 virtual cores) per node&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;MemoryMemory per node.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;15.25 GiB per node&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;StorageDisk Storage of the Node Type.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;160GB SSD storage per node&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The DIRECT QUERY code from my Qlik Sense application:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'Amazon Redshift ODBC DSN 2 (qlik-sense_administrator)';&lt;/P&gt;&lt;P&gt;direct QUERY&lt;BR /&gt;DIMENSION&lt;BR /&gt; "market_type" as MARKET_TYPE,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "gps_indicator" as GPS_INDICATOR,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rapid_replenishment_indicator" as RAPID_REPLENISHMENT_INDICATOR,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "%key_product" as %Key_Product,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isbn as ISBN,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; state as State,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; company as Company,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "transaction date" as "Transaction Date"&lt;BR /&gt;MEASURE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "total sales" as "Total Sales",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "net sales" as "Net Sales",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "units sold" as "Units Sold",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vendor_receipts" as VENDOR_RECEIPTS,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vendor_returns" as VENDOR_RETURNS,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "customer_returns" as CUSTOMER_RETURNS&lt;BR /&gt;FROM publytics."public"."sales_str2";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The Data Model (ONLY THE FACT TABLE IS NOT IN-MEMORY AND QUERIED FROM REDSHIFT):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="data model.PNG" class="jive-image image-2" src="/legacyfs/online/197213_data model.PNG" style="width: 620px; height: 507px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions welcome,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2018 17:32:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-22T17:32:47Z</dc:date>
    <item>
      <title>Direct Discovery of AWS Redshift - QS Application Filtering Slow</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/74210#M407</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;I am currently querying the following table of approx. 200m records in redshift from an EC2 instance within the same region, but filtering on the charts is returning really slow. Performance on the ec2 instance and redshift cluster is good, but interestingly I cannot see the queries triggering on the AWS Redshift console when I filter charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filtering on the charts is really slow, with them rendering after 1 minute or more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this might be?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Redshift Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="SQL Table.PNG" class="jive-image image-1" src="/legacyfs/online/197212_SQL Table.PNG" style="width: 620px; height: 211px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The AWS ec2 instance spec:&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="141" style="width: 237px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;m4.16xlarge&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;64 vCPU&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;256 Gib Memory&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The AWS Redshift cluster:&lt;/STRONG&gt;&lt;SPAN class="gwt-InlineLabel"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;The data warehouse node type of the nodes in this cluster.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;dc2.large&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;CPUNumber of EC2 Compute Units per node.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;7 EC2 Compute Units (2 virtual cores) per node&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;MemoryMemory per node.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;15.25 GiB per node&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="font-weight: 600;"&gt;&lt;LABEL class="GPLNYVLBBSB"&gt;StorageDisk Storage of the Node Type.&lt;/LABEL&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P class="GPLNYVLBCSB"&gt;&lt;SPAN class="gwt-InlineLabel"&gt;160GB SSD storage per node&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The DIRECT QUERY code from my Qlik Sense application:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'Amazon Redshift ODBC DSN 2 (qlik-sense_administrator)';&lt;/P&gt;&lt;P&gt;direct QUERY&lt;BR /&gt;DIMENSION&lt;BR /&gt; "market_type" as MARKET_TYPE,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "gps_indicator" as GPS_INDICATOR,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "rapid_replenishment_indicator" as RAPID_REPLENISHMENT_INDICATOR,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "%key_product" as %Key_Product,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; isbn as ISBN,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; state as State,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; company as Company,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "transaction date" as "Transaction Date"&lt;BR /&gt;MEASURE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "total sales" as "Total Sales",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "net sales" as "Net Sales",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "units sold" as "Units Sold",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vendor_receipts" as VENDOR_RECEIPTS,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "vendor_returns" as VENDOR_RETURNS,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "customer_returns" as CUSTOMER_RETURNS&lt;BR /&gt;FROM publytics."public"."sales_str2";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;The Data Model (ONLY THE FACT TABLE IS NOT IN-MEMORY AND QUERIED FROM REDSHIFT):&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="data model.PNG" class="jive-image image-2" src="/legacyfs/online/197213_data model.PNG" style="width: 620px; height: 507px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions welcome,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2018 17:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/74210#M407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-22T17:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery of AWS Redshift - QS Application Filtering Slow</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/1699746#M5128</link>
      <description>&lt;P&gt;Hi Cam1988,&lt;BR /&gt;&lt;BR /&gt;I am also having the exact same issues.&lt;BR /&gt;Did you manage to resolve this issue or perhaps share your workarounds that you might have done to improve performance.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 10:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/1699746#M5128</guid>
      <dc:creator>karabothari</dc:creator>
      <dc:date>2020-05-07T10:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery of AWS Redshift - QS Application Filtering Slow</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/1741862#M5387</link>
      <description>&lt;P&gt;are you able to improvise performance?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 08:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/1741862#M5387</guid>
      <dc:creator>BITechie</dc:creator>
      <dc:date>2020-09-08T08:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Direct Discovery of AWS Redshift - QS Application Filtering Slow</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/1741867#M5388</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/125542"&gt;@BITechie&lt;/a&gt;&amp;nbsp; Unfortunately we couldnt, we ended up not going the Direct Discovery route.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We ended up using Dynamic Views and ODAG(with the detail app still pointing to redshift in case a user requires a more detailed&amp;nbsp;selection)&amp;nbsp;for our requirements.&lt;BR /&gt;we also used a tool called Dremio as a semantic layer for our QVD generation( This improved perfomance significantly as opposed to generating the QVD's directly from the huge redshift table)&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 08:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Direct-Discovery-of-AWS-Redshift-QS-Application-Filtering-Slow/m-p/1741867#M5388</guid>
      <dc:creator>karabothari</dc:creator>
      <dc:date>2020-09-08T08:49:02Z</dc:date>
    </item>
  </channel>
</rss>

