<?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: How to handle large time series data when it does not fit in memory? in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/859795#M4620</link>
    <description>I see. Thanks for your info and links. I'll have to check if the CAS_DISK_CACHE is set.</description>
    <pubDate>Mon, 20 Feb 2023 23:09:40 GMT</pubDate>
    <dc:creator>alisio_meneses</dc:creator>
    <dc:date>2023-02-20T23:09:40Z</dc:date>
    <item>
      <title>How to handle large time series data when it does not fit in memory?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/859732#M4618</link>
      <description>&lt;P&gt;Hello there!&lt;/P&gt;
&lt;P&gt;I am using SAS Viya 3.5, specifically a Model Studio Forecasting project to generate approximately two thousand forecasts for a dataset that has three years of data for a single dependent variable and four BY variables. The project's pipeline contains one Auto-forecasting node, one hierarchical forecasting node, and it all worked fine for a while until the number of unique values for two of the four BY variables doubled. Since then, the hierarchical forecasting node stops with a bunch of warnings and errors in the log while the Auto-Forecasting node still runs fine (screenshot below).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alisio_meneses_0-1676908575029.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/80601iD4B627555FB57B3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alisio_meneses_0-1676908575029.png" alt="alisio_meneses_0-1676908575029.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following errors are present in the log file for the hierarchical forecasting node:&lt;/P&gt;
&lt;PRE&gt;WARNING: Communication failure among server nodes. Journaling communicator repaired.
WARNING: Communication with machine yadayadayada.yada1 has been lost.
WARNING: Communication with machine yadayadayada.yada2 has been lost.
WARNING: Communication with machine yadayadayada.yada3 has been lost.
ERROR: The action cannot be retried because the session has no available workers.
ERROR: The operation was not performed because contact with at least one node was lost before the operation could complete.
ERROR: The action stopped due to errors.
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure, but it seems the warnings and errors are related to resource exhaustion. Regardless, it made me wonder: how to handle very large time-series dataset using SAS Viya when it does not fit in memory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additional environment info: SAS Viya 3.5 using MPP Architecture with one CAS controller and three CAS workers.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 15:56:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/859732#M4618</guid>
      <dc:creator>alisio_meneses</dc:creator>
      <dc:date>2023-02-20T15:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle large time series data when it does not fit in memory?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/859759#M4619</link>
      <description>SAS Cloud Analytic Services organizes data from tables in blocks. With the exception of SASHDAT files and specialized cases, a copy of in-memory blocks are temporarily stored in file system directories. When the server is installed, one or more of these directories are specified for the CAS_DISK_CACHE environment variable.&lt;BR /&gt;&lt;BR /&gt;To read more: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Provisioning-CAS-DISK-CACHE-for-SAS-Viya/ta-p/603689" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Provisioning-CAS-DISK-CACHE-for-SAS-Viya/ta-p/603689&lt;/A&gt; &amp;amp; &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casfun/n16qbskv0hwfq1n1lnrqq605p6sv.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/casfun/n16qbskv0hwfq1n1lnrqq605p6sv.htm&lt;/A&gt;</description>
      <pubDate>Mon, 20 Feb 2023 18:37:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/859759#M4619</guid>
      <dc:creator>JosvanderVelden</dc:creator>
      <dc:date>2023-02-20T18:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle large time series data when it does not fit in memory?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/859795#M4620</link>
      <description>I see. Thanks for your info and links. I'll have to check if the CAS_DISK_CACHE is set.</description>
      <pubDate>Mon, 20 Feb 2023 23:09:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/859795#M4620</guid>
      <dc:creator>alisio_meneses</dc:creator>
      <dc:date>2023-02-20T23:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle large time series data when it does not fit in memory?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/860623#M4622</link>
      <description>&lt;P&gt;&lt;SPAN&gt;After correctly setting CAS_DISK_CACHE, the errors went away. The side effect is a slow pipeline execution. I mean, really slow. But then again, as one of the provided links you states: '....if CAS is relying on persistent storage for its cache, then expect a commensurate slowdown in performance since data loading from physical disk is much slower than from RAM.'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your help,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/3492"&gt;@JosvanderVelden&lt;/a&gt;&amp;nbsp;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 10:11:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-to-handle-large-time-series-data-when-it-does-not-fit-in/m-p/860623#M4622</guid>
      <dc:creator>alisio_meneses</dc:creator>
      <dc:date>2023-02-24T10:11:28Z</dc:date>
    </item>
  </channel>
</rss>

