<?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: Using SAS views in ETL processes in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215780#M39818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use a view to extract a subset of data (vertical and/or horizontal) from a dataset, and use that three times, you will read the whole sourcedata three times. If instead you create a smaller (temporary?) dataset once and use that three times, you will be more efficient. This will become even more evident if the view contains a join.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2015 11:50:20 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-06-29T11:50:20Z</dc:date>
    <item>
      <title>Using SAS views in ETL processes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215777#M39815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 12.0pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;I have to made some ETL process in SAS, typical process in which some intermediate tables were created:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;input file -&amp;gt; (read) -&amp;gt; temp1 -&amp;gt; (transform) -&amp;gt; temp2 -&amp;gt; ........ -&amp;gt; tempN -&amp;gt; (load) -&amp;gt; database&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Are sas views suitable in the transform steps??. I think it can reduce I/O, but what about CPU time?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;I woud like to know pros and cons of using views in that type of processes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0 0 12pt;"&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; color: black; background: white;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 09:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215777#M39815</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2015-06-29T09:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using SAS views in ETL processes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215778#M39816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually I/O is the bottleneck that you need to worry about. There is no real truth here, so many different use cases. So start with views and evaluate your CPU consumption as you go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 10:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215778#M39816</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-06-29T10:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using SAS views in ETL processes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215779#M39817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "problem" with views is that it combines all the execution into the node where you actually create a physical table. That makes it sometimes much harder to debug in case of error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Views can help to improve performance but if nesting too many views then performance can also decrease. You basically need to test what performs better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using DI I normally create tables and test step by step. If I need to improve performance then I might change some of the physical tables to views and look what impact this makes on performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 10:39:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215779#M39817</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-06-29T10:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Using SAS views in ETL processes</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215780#M39818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you use a view to extract a subset of data (vertical and/or horizontal) from a dataset, and use that three times, you will read the whole sourcedata three times. If instead you create a smaller (temporary?) dataset once and use that three times, you will be more efficient. This will become even more evident if the view contains a join.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 11:50:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Using-SAS-views-in-ETL-processes/m-p/215780#M39818</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-06-29T11:50:20Z</dc:date>
    </item>
  </channel>
</rss>

