<?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 QVD - Key best practices in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-Key-best-practices/m-p/348990#M129295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am quite new to Qlikveiw coding and want to better understand how to build the most efficient QVDs possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I correct in assuming that any compression benefit would be lost if I make a truly unique column?&amp;nbsp; It seems in testing that when I only include data/date/ID columns I get a great compression rate.&amp;nbsp; When I include an integer ID column I seem to get ok compression.&amp;nbsp; But now that I have created a few fairly unique %Key columns I am basically getting horrible compression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And on the subject of Keys.&amp;nbsp; I have a fairly unique data set in that it is occurances of compter names over time (maybe millions of events).&amp;nbsp; I want to have the ability to count them various ways.&amp;nbsp; Distinct machines over a week, a month, a day, etc.&amp;nbsp; I frequently count and group by month but occasionally do need the data by day.&amp;nbsp; When I create my unique keys to use in my link tables - should I be creating 2 keys, one for the daily models and one for the monthly models?&amp;nbsp; Or would the daily key be enough if I also include in the data set a new column for 'StartOfMonth' or something?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 May 2012 21:06:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-13T21:06:21Z</dc:date>
    <item>
      <title>QVD - Key best practices</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Key-best-practices/m-p/348990#M129295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am quite new to Qlikveiw coding and want to better understand how to build the most efficient QVDs possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I correct in assuming that any compression benefit would be lost if I make a truly unique column?&amp;nbsp; It seems in testing that when I only include data/date/ID columns I get a great compression rate.&amp;nbsp; When I include an integer ID column I seem to get ok compression.&amp;nbsp; But now that I have created a few fairly unique %Key columns I am basically getting horrible compression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And on the subject of Keys.&amp;nbsp; I have a fairly unique data set in that it is occurances of compter names over time (maybe millions of events).&amp;nbsp; I want to have the ability to count them various ways.&amp;nbsp; Distinct machines over a week, a month, a day, etc.&amp;nbsp; I frequently count and group by month but occasionally do need the data by day.&amp;nbsp; When I create my unique keys to use in my link tables - should I be creating 2 keys, one for the daily models and one for the monthly models?&amp;nbsp; Or would the daily key be enough if I also include in the data set a new column for 'StartOfMonth' or something?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2012 21:06:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Key-best-practices/m-p/348990#M129295</guid>
      <dc:creator />
      <dc:date>2012-05-13T21:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: QVD - Key best practices</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Key-best-practices/m-p/348991#M129296</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;Please read this &lt;A _jive_internal="true" href="https://community.qlik.com/thread/18473"&gt;thread&lt;/A&gt; for some valuable information on best practices. &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;Thanks,&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 10:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Key-best-practices/m-p/348991#M129296</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2012-05-14T10:36:35Z</dc:date>
    </item>
  </channel>
</rss>

