<?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: Composite key performence issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571203#M683001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sijeet&lt;/P&gt;&lt;P&gt;Can i use like this,&lt;/P&gt;&lt;P&gt;autonumber(key1 &amp;amp;'_'&amp;amp; key2 &amp;amp;'_'&amp;amp; key3 &amp;amp;'_'&amp;amp; key4 &amp;amp;'_'&amp;amp; key5 &amp;amp;'_'&amp;amp; key6 &amp;amp;'_'&amp;amp; key7) as CP_KEY,&lt;/P&gt;&lt;P&gt;if so can please exlain the flow...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2014 08:35:12 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2014-02-26T08:35:12Z</dc:date>
    <item>
      <title>Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571198#M682996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;HI all,&lt;/P&gt;&lt;P&gt;I have 2 fact tables DAILY , SUMMARY (month wise)&amp;nbsp; andDimensions ,&lt;/P&gt;&lt;P&gt;now i need to create a link table by creating a composite key, i have 7 DIMs so 7 key fields are there,&lt;/P&gt;&lt;P&gt;now i have created a composite key with 7 keys fields ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my question : is there any effect on performence if i create a composite key with 7 key fields?&lt;/P&gt;&lt;P&gt; if then please let me know what are they&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:11:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571198#M682996</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-02-26T08:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571199#M682997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7-column composite key is not an issue per se (obviously you're using autonumber to convert the key to numeric value, don't you?). You can also try to create two separate docs, one on low level (DAILY) and one aggregated (SUMMARY) and use document chaining to go to detailed doc from summary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lukasz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:20:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571199#M682997</guid>
      <dc:creator />
      <dc:date>2014-02-26T08:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571200#M682998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The main thing you need for this is that the data type for this key .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to this blog &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/16/synthetic-keys&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:22:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571200#M682998</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-02-26T08:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571201#M682999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: 'Droid Sans', sans-serif; background-color: rgba(235, 235, 235, 0.952941);"&gt;Avoid using Complex composite keys(when to remove synthetic keys), and instead use the autonumber() function to generate a sequence which uses compact memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571201#M682999</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-02-26T08:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571202#M683000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Lukasz&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;Can u please provide a link or documents which explain about document chaining .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571202#M683000</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-02-26T08:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571203#M683001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sijeet&lt;/P&gt;&lt;P&gt;Can i use like this,&lt;/P&gt;&lt;P&gt;autonumber(key1 &amp;amp;'_'&amp;amp; key2 &amp;amp;'_'&amp;amp; key3 &amp;amp;'_'&amp;amp; key4 &amp;amp;'_'&amp;amp; key5 &amp;amp;'_'&amp;amp; key6 &amp;amp;'_'&amp;amp; key7) as CP_KEY,&lt;/P&gt;&lt;P&gt;if so can please exlain the flow...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571203#M683001</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-02-26T08:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571204#M683002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To setup the document chaining you have to create a trigger with External =&amp;gt; Open QlikView Document action and check "Transfer State" checkbox to transfer selections from aggregated document to detail document. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 08:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571204#M683002</guid>
      <dc:creator />
      <dc:date>2014-02-26T08:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571205#M683003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That can be but do you really need such big composite key&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 10:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571205#M683003</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-02-26T10:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571206#M683004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Yes, i have tried to reduce fields but i didn`t , so i need to use that one only.&lt;/P&gt;&lt;P&gt;Here one thing that i can`t understand is the FLOW of searching for the record through compsite key ,&lt;/P&gt;&lt;P&gt;when we made selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 10:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571206#M683004</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-02-26T10:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571207#M683005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it effects on performance so to make as uniue no. in qlikview to compact memory use&lt;/P&gt;&lt;P&gt;autonumberhash256(Field1,Field2,Field3,Field4,Field5,Field6,Field7) as Key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See it&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Autonumber needs one &lt;/SPAN&gt;&lt;SPAN class="q4t09a9bf" style="border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline; color: #0000ff;"&gt;expression&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; as input and autonumberhashXXX can handle more inputs. So you'd use autonumber(Field1&amp;amp;Field2&amp;amp;Field3) which needs to calculate the concatenation of Field1,-2 and -3 first. Autonumberhash can take more inputs: autonumberhash128(Field1, Field2, Field3). More importantly the autonumberhash are likely more efficient in determining if the &lt;/SPAN&gt;&lt;SPAN class="q4t09a9bf" style="border-top-color: transparent; border-right-color: transparent; border-left-color: transparent; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; text-decoration: underline; color: #0000ff;"&gt;combined&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; inputs have already been encountered or are encountered for the first time. So they are probably faster in calculating the unique integer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 10:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571207#M683005</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-02-26T10:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571208#M683006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI mohit,&lt;/P&gt;&lt;P&gt;is there any way to reduce number of keys in composite key,&lt;/P&gt;&lt;P&gt;in my scenario i have 7 common keys between Dim and both FACT tables,&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;if i use autonumberXXX() function At what extent it&amp;nbsp; reduce the effect on the performence ?&lt;/P&gt;&lt;P&gt;Please provide sample example if u&amp;nbsp; have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571208#M683006</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-02-26T12:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571209#M683007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LINK tables are known to have poor performance when there are many rows. If you have 7 dimensions, I will expect that you have many rows.&lt;/P&gt;&lt;P&gt;You may think another way to create your model: by concatenating your tables for example. If possible, of course.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See a post by HIC: &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/26/mixed-granularity"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/10/26/mixed-granularity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:37:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571209#M683007</guid>
      <dc:creator />
      <dc:date>2014-02-26T12:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571210#M683008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ANUEZ,&lt;/P&gt;&lt;P&gt;Concatenating is not possible&amp;nbsp; in my scenario ,&lt;/P&gt;&lt;P&gt;Other than Link table and Concatenating ,is there any way to solve the problem ?&lt;/P&gt;&lt;P&gt;so that i can make my Data model perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 03:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571210#M683008</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2014-02-27T03:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Composite key performence issue</title>
      <link>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571211#M683009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know.&lt;/P&gt;&lt;P&gt;Did you read the post by HIC about mixed granularity ? That is your scenario : some daily data, some monthly data. You have therefore a field named %Time to be generic that will contain months and days. Each %Time will point to day and month (3 fields in the link table) to perform the link and let the user do the choice. For the days that is evident, for the months the day part is null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You concatenate the tables. You create some LINK dimension tables (one for each dimension where there is different granularity). HIC's solution works perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your current LINK table is small, you will get no problem. It it contains several millions lines, I am not so sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Composite-key-performence-issue/m-p/571211#M683009</guid>
      <dc:creator />
      <dc:date>2014-02-27T08:15:07Z</dc:date>
    </item>
  </channel>
</rss>

