<?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: why to avoid synthetic keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463639#M699609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Synthetic Keys are always not bad thing to have. Although, as a rule you should avoid them and work on your model. You can use&lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt; Hash128()&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;STRONG style="color: #800000;"&gt;Autonumber()&lt;/STRONG&gt; functions to build concatenated field keys. These functions are less rescource consuming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Nov 2012 20:00:45 GMT</pubDate>
    <dc:creator>IAMDV</dc:creator>
    <dc:date>2012-11-24T20:00:45Z</dc:date>
    <item>
      <title>why to avoid synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463637#M699607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just started learning qlikview,Can some one help me understand why do we have to avoid synthetic keys and how will effect the performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2012 16:56:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463637#M699607</guid>
      <dc:creator>sr_qlikview</dc:creator>
      <dc:date>2012-11-24T16:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: why to avoid synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463638#M699608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See &lt;A _jive_internal="true" href="https://community.qlik.com/thread/10279"&gt;this discussion&lt;/A&gt;. In short synthetic keys usually mean you made some mistakes constructing your data model. If you fix the problems of the model the synthetic keys are likely gone as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2012 17:56:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463638#M699608</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-11-24T17:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: why to avoid synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463639#M699609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Synthetic Keys are always not bad thing to have. Although, as a rule you should avoid them and work on your model. You can use&lt;SPAN style="color: #800000;"&gt;&lt;STRONG&gt; Hash128()&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;STRONG style="color: #800000;"&gt;Autonumber()&lt;/STRONG&gt; functions to build concatenated field keys. These functions are less rescource consuming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;DV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://QlikShare.com"&gt;&lt;SPAN style="font-family: calibri,verdana,arial,sans-serif;"&gt;www.QlikShare.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Nov 2012 20:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463639#M699609</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-11-24T20:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: why to avoid synthetic keys</title>
      <link>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463640#M699610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just as Deepak indicates in his last post, synthetic keys are not always bad. Rather, you should ask yourself "Do I want two keys between these two tables?". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, then you could leave it as it is or create a composite key with Hash128(Key1 &amp;amp; Key2) or Autonumber(Key1 &amp;amp; Key2). Either way, it will improve the data model. (If the synthetic affects3 tables, a composite key may be necessary.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you don't want two keys, one of the keys should be removed by renaming a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Nov 2012 00:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/why-to-avoid-synthetic-keys/m-p/463640#M699610</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2012-11-25T00:08:20Z</dc:date>
    </item>
  </channel>
</rss>

