<?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: SAS DI job going into long run in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311798#M8944</link>
    <description>Yes both source and target are in SPDS.&lt;BR /&gt;Target table size is 70gb.&lt;BR /&gt;Table has only one composite index.&lt;BR /&gt;Version of DI is 4.901&lt;BR /&gt;It is the insert query to load the data into target table that takes longer time to execute in scd type 2 loader transformation.</description>
    <pubDate>Tue, 15 Nov 2016 17:58:10 GMT</pubDate>
    <dc:creator>neha11_ch</dc:creator>
    <dc:date>2016-11-15T17:58:10Z</dc:date>
    <item>
      <title>SAS DI job going into long run</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311479#M8935</link>
      <description>&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;hi,&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;I have a etl job running on spds server. The scheduled job on lsf is recently going into long run. The etl does not get completed in a days time and when server restarts automatically, job gets killed.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;There are 32 lakhs of input records are present in the source table, that needs to be loaded into target table.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;Job goes in hung state at scd type2 loader. No new record gets inserted in the spds target table.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;Kindly help me with the solution here.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1"&gt;Neha&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 18:23:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311479#M8935</guid>
      <dc:creator>neha11_ch</dc:creator>
      <dc:date>2016-11-14T18:23:54Z</dc:date>
    </item>
    <item>
      <title>which</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311507#M8937</link>
      <description>&lt;P&gt;If it doesn't abend, it's probably lack of resources, or some kind of really inefficient "programming"/ETL logic.&lt;/P&gt;
&lt;P&gt;Try to work on a small subset from the sources, then carefully follow the log on the timing in each step.&lt;/P&gt;
&lt;P&gt;Temporarily&amp;nbsp;change from view to&amp;nbsp;tables as transformation outputs.&lt;/P&gt;
&lt;P&gt;If you are executing in DI Studio you could get help via the "Collect runtime statistics" option which present the results as a graph or table.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311507#M8937</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-11-14T20:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: which</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311552#M8939</link>
      <description>&lt;P&gt;Some other questions/suggestions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;As LinusH already said, turn on runtime statistics.&lt;/LI&gt;&lt;LI&gt;Review the Workspace server logs&lt;/LI&gt;&lt;LI&gt;Monitor your resources - could be one or more of the data locations is full (or SASWORK, or SASUTIL)&lt;/LI&gt;&lt;LI&gt;Are you running interactively or in batch?&lt;/LI&gt;&lt;LI&gt;Does this occur for just a particular source/target table? Are others running okay?&lt;/LI&gt;&lt;LI&gt;Include some precode to turn on LOTS of options and (if interactive) redirect the log to a text file so you don't lose it if you have to kill the job.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:32:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311552#M8939</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2016-11-14T22:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: which</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311554#M8940</link>
      <description>&lt;P&gt;A couple more:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Try a smaller source table&lt;/LI&gt;&lt;LI&gt;Try a (smaller?) source table of new records only&lt;/LI&gt;&lt;LI&gt;Try a &lt;SPAN&gt;(smaller?) &lt;/SPAN&gt;source table of updated records only&lt;/LI&gt;&lt;LI&gt;Try altering your SCD2 options (I presume you're using Update/Insert, and if so are you using SAS or SQL sub-options?)&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 14 Nov 2016 22:49:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311554#M8940</guid>
      <dc:creator>AndrewHowell</dc:creator>
      <dc:date>2016-11-14T22:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI job going into long run</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311595#M8941</link>
      <description>This problem occur for a particular source and target table only. All other similar etl jobs run perfectly fine. I tried running with small subset of data that is 10 records from source, it takes 3.5 hrs to load into the target table.</description>
      <pubDate>Tue, 15 Nov 2016 03:07:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311595#M8941</guid>
      <dc:creator>neha11_ch</dc:creator>
      <dc:date>2016-11-15T03:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI job going into long run</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311756#M8943</link>
      <description>Are both source and target in SPD Server? &lt;BR /&gt;Hw large is the target table? &lt;BR /&gt;Any indexes? &lt;BR /&gt;What version of DI Studio? &lt;BR /&gt;The type 2 Loader have many internal steps, look at log from the 3.5 hrs run and see which step consumes the time most.&lt;BR /&gt;In older versions there was a very inefficient SQL update in the type 2 Loader.</description>
      <pubDate>Tue, 15 Nov 2016 16:19:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311756#M8943</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-11-15T16:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI job going into long run</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311798#M8944</link>
      <description>Yes both source and target are in SPDS.&lt;BR /&gt;Target table size is 70gb.&lt;BR /&gt;Table has only one composite index.&lt;BR /&gt;Version of DI is 4.901&lt;BR /&gt;It is the insert query to load the data into target table that takes longer time to execute in scd type 2 loader transformation.</description>
      <pubDate>Tue, 15 Nov 2016 17:58:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311798#M8944</guid>
      <dc:creator>neha11_ch</dc:creator>
      <dc:date>2016-11-15T17:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI job going into long run</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311912#M8946</link>
      <description>70gb is perhaps a too large table to be handled by the standardised code from the transformation. &lt;BR /&gt;Attach the log from the loader and a contents of the target table if you need further guidance. &lt;BR /&gt;Be sure to set the msglevel=I system option, and assign sodswdeb=YES to get additional information about the processing.</description>
      <pubDate>Wed, 16 Nov 2016 06:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-job-going-into-long-run/m-p/311912#M8946</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-11-16T06:09:44Z</dc:date>
    </item>
  </channel>
</rss>

