<?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 Data Time Processing in the Second pass Load on Resident Data. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144502#M23415</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I do not see the QVD Optimized .&lt;/P&gt;&lt;P&gt;It shows&lt;/P&gt;&lt;P&gt;QVTable &amp;lt;&amp;lt; E151_QVD 3,167,507&lt;/P&gt;&lt;P&gt;How should i make the QVD optimized ??&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Debashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 00:38:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-05-20T00:38:54Z</dc:date>
    <item>
      <title>Data Time Processing in the Second pass Load on Resident Data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144500#M23413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team ,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OverView&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have Developed a QVD File (E151_QVD.qvd , size : 261MB , Records : 4 MM ) .&lt;/P&gt;&lt;P&gt;This QVD file gets populated from a Load QVW file ( Pull_Evenet_151.qvw ) , Scheduled to run every day at 12 PM in the Windows Server.&lt;/P&gt;&lt;P&gt;I am checking a Time Stamp Field called CRTDATE . I fetch the Max date from the QVD file and pull the rest data after that date (CRTDATE) from Oracle database.&lt;/P&gt;&lt;P&gt;I am also pulling 3 extra fields called Year , Month , Day from the database by the to_Char method of Oracle on one of the Table Fields called EVENT_TIME. I am pulling it to show a uase friendly calendar in the QVW report File (Event_151.QVW)&lt;/P&gt;&lt;P&gt;Once Pulled the data from the database i concatenate it with the Existing data in the QVD file.&lt;/P&gt;&lt;P&gt;and store it back in the QVD file.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem :&lt;/STRONG&gt; It seems that Qlikview when Loads the data from the QVD file and concatenates it to the pulled data from Oracle is very slow. I do not understand , if there is any performance issue in my Script.&lt;/P&gt;&lt;P&gt;Please find my attached QVW file.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debashish.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 23:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144500#M23413</guid>
      <dc:creator />
      <dc:date>2009-05-19T23:51:48Z</dc:date>
    </item>
    <item>
      <title>Data Time Processing in the Second pass Load on Resident Data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144501#M23414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you see "QVD Optimized" when it's loading from QVD file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 00:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144501#M23414</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-05-20T00:07:07Z</dc:date>
    </item>
    <item>
      <title>Data Time Processing in the Second pass Load on Resident Data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144502#M23415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I do not see the QVD Optimized .&lt;/P&gt;&lt;P&gt;It shows&lt;/P&gt;&lt;P&gt;QVTable &amp;lt;&amp;lt; E151_QVD 3,167,507&lt;/P&gt;&lt;P&gt;How should i make the QVD optimized ??&lt;/P&gt;&lt;P&gt;Regrads&lt;/P&gt;&lt;P&gt;Debashish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 00:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144502#M23415</guid>
      <dc:creator />
      <dc:date>2009-05-20T00:38:54Z</dc:date>
    </item>
    <item>
      <title>Data Time Processing in the Second pass Load on Resident Data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144503#M23416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you are loading from QVD, load it as same field names as in QVTable:&lt;/P&gt;&lt;P&gt;LOAD J_NO as &lt;STRONG&gt;OASIS.INSTRUMENT.&lt;/STRONG&gt; J_NO ......&lt;/P&gt;&lt;P&gt;And it's always a good practice to mention which table to concatenate: CONCATENATE (QVTable) LOAD .....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 00:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144503#M23416</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-05-20T00:55:57Z</dc:date>
    </item>
    <item>
      <title>Data Time Processing in the Second pass Load on Resident Data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144504#M23417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh ,&lt;/P&gt;&lt;P&gt;I could not get the Solution.Can u please elaborate Sir.&lt;/P&gt;&lt;P&gt;Before that i want to mention that , when i load just the QVD file from a diffrent QVW file , i am able to see the " QVD Optimized " .&lt;/P&gt;&lt;P&gt;//---------------------------------------------ONLY THIS SCRIPTS RUN and Shows QVD Optimized.&lt;/P&gt;&lt;P&gt;&lt;B&gt;load&lt;/B&gt; J_NO,CYCLE_NO,ZIP_FILE_ID,LEVENTID,IEVENTTYPE,EVENT_TIME,EVENT_TIME_NANOSEC, LASSAYNUMBER,CRTDATE,P1_TIME_STAMP,LRESULTID,DASSAYNUMBER,SREPINDEXINTEST,P69_DESTINATION_SLOT_NUMBER,D111_STATUS, P144_CAL_KIT_BOTTLE_NUMBER_1_F,LCALGROUPRUNID,P335_CURRENT_STEP_COUNT_DEVIAT,P358_SUPPLY_NUMBER,P556_STEP_COUNT_DEVIATION_LIMI,[Year],[Month] ,[Day] &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;from&lt;/B&gt; E151_QVD.qvd (qvd);&lt;/P&gt;&lt;P&gt;//---------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 01:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144504#M23417</guid>
      <dc:creator />
      <dc:date>2009-05-20T01:07:22Z</dc:date>
    </item>
    <item>
      <title>Data Time Processing in the Second pass Load on Resident Data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144505#M23418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this - just for the first 3 fields and let me know what you see. If works, do the same for all the fields:&lt;/P&gt;&lt;P&gt;QVTable:&lt;BR /&gt;LOAD OASIS.INSTRUMENT.J_NO as J_NO,&lt;BR /&gt; OASIS.EVT_EVENT.CYCLE_NO as CYCLE_NO,&lt;BR /&gt; OASIS.EVT_EVENT.ZIP_FILE_ID as ZIP_FILE_ID;&lt;BR /&gt;SQL select OASIS.INSTRUMENT.J_NO,&lt;BR /&gt; OASIS.EVT_EVENT.CYCLE_NO,&lt;BR /&gt; OASIS.EVT_EVENT.ZIP_FILE_ID,&lt;BR /&gt; OASIS.EVT_EVENT.LEVENTID,&lt;BR /&gt; OASIS.EVT_EVENT.IEVENTTYPE,&lt;BR /&gt; OASIS.EVT_EVENT.EVENT_TIME,&lt;BR /&gt; OASIS.EVT_EVENT.EVENT_TIME_NANOSEC,&lt;BR /&gt; OASIS.EVT_EVENT.LASSAYNUMBER,&lt;BR /&gt; ECON.ZIP_FILE.CRTDATE,&lt;BR /&gt; TO_CHAR(OASIS.EVT_EVENT.EVENT_TIME,'YYYY') Year,&lt;BR /&gt; TO_CHAR(OASIS.EVT_EVENT.EVENT_TIME,'MON') Month,&lt;BR /&gt; TO_CHAR(OASIS.EVT_EVENT.EVENT_TIME,'DD') Day,&lt;BR /&gt;max(case when IPARAMETERTYPE=1 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) P1_TIME_STAMP,&lt;BR /&gt;max(case when IPARAMETERTYPE=2 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) LRESULTID,&lt;BR /&gt;max(case when IPARAMETERTYPE=3 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) DASSAYNUMBER,&lt;BR /&gt;max(case when IPARAMETERTYPE=4 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) SREPINDEXINTEST,&lt;BR /&gt;max(case when IPARAMETERTYPE=69 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) P69_DESTINATION_SLOT_NUMBER,&lt;BR /&gt;max(case when IPARAMETERTYPE=111 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) D111_STATUS,&lt;BR /&gt;max(case when IPARAMETERTYPE=144 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) P144_CAL_KIT_BOTTLE_NUMBER_1_F,&lt;BR /&gt;max(case when IPARAMETERTYPE=259 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) LCALGROUPRUNID,&lt;BR /&gt;max(case when IPARAMETERTYPE=335 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) P335_CURRENT_STEP_COUNT_DEVIAT,&lt;BR /&gt;max(case when IPARAMETERTYPE=358 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) P358_SUPPLY_NUMBER,&lt;BR /&gt;max(case when IPARAMETERTYPE=556 then OASIS.EVT_EVENT_PARAMETER.VPARAMETERVALUE else null end) P556_STEP_COUNT_DEVIATION_LIMI&lt;BR /&gt;from OASIS.EVT_EVENT_PARAMETER,OASIS.EVT_EVENT,OASIS.INSTRUMENT,ECON.ZIP_FILE&lt;BR /&gt; where ECON.ZIP_FILE.CRTDATE &amp;lt;= sysdate&lt;BR /&gt; AND ECON.ZIP_FILE.CRTDATE &amp;gt; to_date('$(MostRecentUpdate)','YYYYMMDD HH24:MI:SS')&lt;BR /&gt; AND ECON.ZIP_FILE.ZIP_FILE_ID = OASIS.EVT_EVENT.ZIP_FILE_ID&lt;BR /&gt; AND ECON.ZIP_FILE.ZIP_FILE_ID = OASIS.EVT_EVENT_PARAMETER.ZIP_FILE_ID&lt;BR /&gt; AND OASIS.EVT_EVENT.INSTRUMENT_ID = OASIS.EVT_EVENT_PARAMETER.INSTRUMENT_ID&lt;BR /&gt; and OASIS.EVT_EVENT.CYCLE_NO = OASIS.EVT_EVENT_PARAMETER.CYCLE_NO&lt;BR /&gt; and OASIS.EVT_EVENT.LEVENTID = OASIS.EVT_EVENT_PARAMETER.LEVENTID&lt;BR /&gt; and OASIS.INSTRUMENT.INSTRUMENT_ID = OASIS.EVT_EVENT.INSTRUMENT_ID&lt;BR /&gt; and OASIS.EVT_EVENT.IEVENTTYPE = 151&lt;BR /&gt; group by OASIS.INSTRUMENT.J_NO,&lt;BR /&gt; OASIS.EVT_EVENT.CYCLE_NO,&lt;BR /&gt; OASIS.EVT_EVENT.ZIP_FILE_ID,&lt;BR /&gt; OASIS.EVT_EVENT.LEVENTID,&lt;BR /&gt; OASIS.EVT_EVENT.IEVENTTYPE,&lt;BR /&gt; OASIS.EVT_EVENT.EVENT_TIME,&lt;BR /&gt; OASIS.EVT_EVENT.EVENT_TIME_NANOSEC,&lt;BR /&gt; OASIS.EVT_EVENT.LASSAYNUMBER,&lt;BR /&gt; ECON.ZIP_FILE.CRTDATE,TO_CHAR(OASIS.EVT_EVENT.EVENT_TIME,'YYYY'),TO_CHAR(OASIS.EVT_EVENT.EVENT_TIME,'MON'),TO_CHAR(OASIS.EVT_EVENT.EVENT_TIME,'DD');&lt;/P&gt;&lt;P&gt;Concatenate (QVTable)&lt;BR /&gt;load&lt;BR /&gt; J_NO,&lt;BR /&gt; CYCLE_NO,&lt;BR /&gt; ZIP_FILE_ID&lt;BR /&gt;from E151_QVD.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 01:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144505#M23418</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2009-05-20T01:23:56Z</dc:date>
    </item>
    <item>
      <title>Data Time Processing in the Second pass Load on Resident Data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144506#M23419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh ,&lt;/P&gt;&lt;P&gt;As u have suggested , i did write " as " in all the fields , it worked faster . But i do not see the "QVD Optimized Statement".&lt;/P&gt;&lt;P&gt;and the Concatenation (QVTable) Load ..... also been modified.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any ways thanks for ur suggestion (for good tips on writing the Scripts).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now i can see faster upload.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Debashish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2009 03:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-Time-Processing-in-the-Second-pass-Load-on-Resident-Data/m-p/144506#M23419</guid>
      <dc:creator />
      <dc:date>2009-05-21T03:51:11Z</dc:date>
    </item>
  </channel>
</rss>

