<?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: Is it possible to know when a CAS table (loaded to memory) was last accessed/used? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-know-when-a-CAS-table-loaded-to-memory-was/m-p/978422#M30410</link>
    <description>&lt;P&gt;Take a look at the built in Sample unload job's "unloadAccessThreshold" parameter:&lt;BR /&gt;&lt;BR /&gt;CAS Table State Management - Unloading Data&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/sasadmincdc/v_069/caldatamgmtcas/n150v9svjp42ron1hn9r496xj49m.htm#n18h0bb10gjeh6n1bltpkf8uk966" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/sasadmincdc/v_069/caldatamgmtcas/n150v9svjp42ron1hn9r496xj49m.htm#n18h0bb10gjeh6n1bltpkf8uk966&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: To fully answer the question of generally how to determine the last accessed time for a CAS table, this is an attribute of the table so can be retrieved using:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The tableInfo table CAS action (Accessed column in result)&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/default/caspg/cas-table-tableinfo.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/default/caspg/cas-table-tableinfo.htm&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;The casManagement REST API (/casManagement/servers/cas-shared-default/caslibs/&amp;lt;caslib&amp;gt;/tables/&amp;lt;table-name&amp;gt;) (lastAccessed attribute of the table)&amp;nbsp;&lt;A href="https://developer.sas.com/rest-apis/casManagement/getTable" target="_blank"&gt;https://developer.sas.com/rest-apis/casManagement/getTable&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;The sas-viya CLI's CAS plugin's table command's show-info subcommand (&lt;A href="https://go.documentation.sas.com/doc/en/sasadmincdc/default/calcli/p0qtbwd62xzzidn1laisd446t33e.htm#p0jzrmwrgal4dfn18sx3q9opsodw" target="_blank"&gt;https://go.documentation.sas.com/doc/en/sasadmincdc/default/calcli/p0qtbwd62xzzidn1laisd446t33e.htm#p0jzrmwrgal4dfn18sx3q9opsodw&lt;/A&gt;)&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Wed, 05 Nov 2025 18:40:49 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2025-11-05T18:40:49Z</dc:date>
    <item>
      <title>Is it possible to know when a CAS table (loaded to memory) was last accessed/used?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-know-when-a-CAS-table-loaded-to-memory-was/m-p/978373#M30404</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to create a process which automatically unloads tables from CAS based on their last accessed time.&lt;/P&gt;
&lt;P&gt;So for example, if a CAS table loaded to memory was not accessed in 48 hours then unload it from memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this possible? Anyone did anything like this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 11:04:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-know-when-a-CAS-table-loaded-to-memory-was/m-p/978373#M30404</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2025-11-05T11:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to know when a CAS table (loaded to memory) was last accessed/used?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-know-when-a-CAS-table-loaded-to-memory-was/m-p/978422#M30410</link>
      <description>&lt;P&gt;Take a look at the built in Sample unload job's "unloadAccessThreshold" parameter:&lt;BR /&gt;&lt;BR /&gt;CAS Table State Management - Unloading Data&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/sasadmincdc/v_069/caldatamgmtcas/n150v9svjp42ron1hn9r496xj49m.htm#n18h0bb10gjeh6n1bltpkf8uk966" target="_blank" rel="noopener"&gt;https://go.documentation.sas.com/doc/en/sasadmincdc/v_069/caldatamgmtcas/n150v9svjp42ron1hn9r496xj49m.htm#n18h0bb10gjeh6n1bltpkf8uk966&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: To fully answer the question of generally how to determine the last accessed time for a CAS table, this is an attribute of the table so can be retrieved using:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The tableInfo table CAS action (Accessed column in result)&amp;nbsp;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/default/caspg/cas-table-tableinfo.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/default/caspg/cas-table-tableinfo.htm&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;The casManagement REST API (/casManagement/servers/cas-shared-default/caslibs/&amp;lt;caslib&amp;gt;/tables/&amp;lt;table-name&amp;gt;) (lastAccessed attribute of the table)&amp;nbsp;&lt;A href="https://developer.sas.com/rest-apis/casManagement/getTable" target="_blank"&gt;https://developer.sas.com/rest-apis/casManagement/getTable&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;The sas-viya CLI's CAS plugin's table command's show-info subcommand (&lt;A href="https://go.documentation.sas.com/doc/en/sasadmincdc/default/calcli/p0qtbwd62xzzidn1laisd446t33e.htm#p0jzrmwrgal4dfn18sx3q9opsodw" target="_blank"&gt;https://go.documentation.sas.com/doc/en/sasadmincdc/default/calcli/p0qtbwd62xzzidn1laisd446t33e.htm#p0jzrmwrgal4dfn18sx3q9opsodw&lt;/A&gt;)&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 05 Nov 2025 18:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-know-when-a-CAS-table-loaded-to-memory-was/m-p/978422#M30410</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-11-05T18:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to know when a CAS table (loaded to memory) was last accessed/used?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-know-when-a-CAS-table-loaded-to-memory-was/m-p/978436#M30415</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp; - you're always a great help!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Nov 2025 05:40:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Is-it-possible-to-know-when-a-CAS-table-loaded-to-memory-was/m-p/978436#M30415</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2025-11-06T05:40:31Z</dc:date>
    </item>
  </channel>
</rss>

