<?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 Real Time vs CPU Time - Table Loader Performance in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Real-Time-vs-CPU-Time-Table-Loader-Performance/m-p/439687#M282438</link>
    <description>&lt;P&gt;Optimizing is a huge subject, so it's hard to tell exactly what is going on, and what to do in this case, with limited information.&lt;/P&gt;
&lt;P&gt;So the source data is in an external database? Then the first view hitting the data base should comply with the restrictions of implicit pass through.&lt;/P&gt;
&lt;P&gt;That view, and all other views in a job should be temporarily switched to tables in the performance testing process, so you can find the bottleneck.&lt;/P&gt;
&lt;P&gt;Real vs cpu time: assuming target table is in SAS (if in external database - you can't compare the measure since SAS have no clue about CPU in external database).&lt;/P&gt;
&lt;P&gt;Indexing on target table can make append go slower. If so, look into use SPDE since it's much more efficient in index updates.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2018 13:27:48 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2018-02-23T13:27:48Z</dc:date>
    <item>
      <title>SAS Real Time vs CPU Time - Table Loader Performance</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Real-Time-vs-CPU-Time-Table-Loader-Performance/m-p/439653#M282437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've a very long running table loader (it usually takes around an hour, and seems to be taking longer today).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is yesterdays log for it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: There were 10553628 observations read from the data set WORK.W37RG31.&lt;BR /&gt;NOTE: 10553628 observations added.&lt;BR /&gt;NOTE: The data set CMCLMMRT.CLAIM_ITEM has 10553628 observations and 133 variables.&lt;BR /&gt;NOTE: PROCEDURE APPEND used (Total process time):&lt;BR /&gt;real time 59:27.16&lt;BR /&gt;user cpu time 11:58.76&lt;BR /&gt;system cpu time 15:48.31&lt;BR /&gt;memory 13482411.56k&lt;BR /&gt;OS Memory 13501984.00k&lt;BR /&gt;Timestamp 22/02/2018 06:02:43 a.m.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that ratio for real time to user cpu time fine, and for writing 10m rows and 133 columns fine, or should this be performing much quicker? If so, what should I be checking to get it to perform faster, as I'm fairly new to a sas administration role so would like to boost performance if I can.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it's reading from a SAS temporary view rather than an external database at this point of the process too. It's already read in earlier in the flow from the external database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For today, as it's finally finished running, I got&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE: There were 10564414 observations read from the data set WORK.WRKDLBX.&lt;BR /&gt;NOTE: 10564414 observations added.&lt;BR /&gt;NOTE: The data set CMCLMMRT.CLAIM_ITEM has 10564414 observations and 133 variables.&lt;BR /&gt;NOTE: PROCEDURE APPEND used (Total process time):&lt;BR /&gt;real time 1:51:50.98&lt;BR /&gt;user cpu time 12:36.75&lt;BR /&gt;system cpu time 27:33.04&lt;BR /&gt;memory 13480786.12k&lt;BR /&gt;OS Memory 13505000.00k&lt;BR /&gt;Timestamp 23/02/2018 11:46:38 a.m.&lt;BR /&gt;Step Count 85 Switch Count 1&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 11:56:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Real-Time-vs-CPU-Time-Table-Loader-Performance/m-p/439653#M282437</guid>
      <dc:creator>titan31</dc:creator>
      <dc:date>2018-02-23T11:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Real Time vs CPU Time - Table Loader Performance</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Real-Time-vs-CPU-Time-Table-Loader-Performance/m-p/439687#M282438</link>
      <description>&lt;P&gt;Optimizing is a huge subject, so it's hard to tell exactly what is going on, and what to do in this case, with limited information.&lt;/P&gt;
&lt;P&gt;So the source data is in an external database? Then the first view hitting the data base should comply with the restrictions of implicit pass through.&lt;/P&gt;
&lt;P&gt;That view, and all other views in a job should be temporarily switched to tables in the performance testing process, so you can find the bottleneck.&lt;/P&gt;
&lt;P&gt;Real vs cpu time: assuming target table is in SAS (if in external database - you can't compare the measure since SAS have no clue about CPU in external database).&lt;/P&gt;
&lt;P&gt;Indexing on target table can make append go slower. If so, look into use SPDE since it's much more efficient in index updates.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 13:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Real-Time-vs-CPU-Time-Table-Loader-Performance/m-p/439687#M282438</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-02-23T13:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Real Time vs CPU Time - Table Loader Performance</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Real-Time-vs-CPU-Time-Table-Loader-Performance/m-p/439697#M282439</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original source is an external DB (Oracle), but we've it converted into physical SAS tables at through our process and data warehousing jobs. When we're creating a datamart from it to be used in VA (joining a bunch of physical tables in SAS together in this step), we seem to be hitting a bottleneck. Target table is in SAS too as we're using it for autoloading into VA.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 13:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Real-Time-vs-CPU-Time-Table-Loader-Performance/m-p/439697#M282439</guid>
      <dc:creator>titan31</dc:creator>
      <dc:date>2018-02-23T13:56:46Z</dc:date>
    </item>
  </channel>
</rss>

