<?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>Question Re: Does ALTER DATABASE RESTORE CACHE run in the background? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/does-alter-database-restore-cache-run-in-the-background/qaa-p/13832970#M4863813</link>
    <description>&lt;P&gt;Any information from the doc team would be appreciated... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Nov 2022 01:10:56 GMT</pubDate>
    <dc:creator>VolkerBarth</dc:creator>
    <dc:date>2022-11-22T01:10:56Z</dc:date>
    <item>
      <title>Does ALTER DATABASE RESTORE CACHE run in the background?</title>
      <link>https://community.sap.com/t5/technology-q-a/does-alter-database-restore-cache-run-in-the-background/qaq-p/13832969</link>
      <description>&lt;P&gt;The 17.0.11 SP1 docs state for the &lt;A href="https://help.sap.com/docs/SAP_SQL_Anywhere/93079d4ba8e44920ae63ffb4def91f5b/8168efe96ce21014bce9948a9a48d7e8.html" target="_blank"&gt;ALTER DATABASE RESTORE CACHE statement&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The effect of the statement is the same as that of calling the sp_read_db_pages system procedure for each dbspace with the bitmap stored in the prefetch_column of the SYSDBSPACE system view.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Question:&lt;/STRONG&gt; Does this run in the background? The &lt;A href="https://help.sap.com/docs/SAP_SQL_Anywhere/93079d4ba8e44920ae63ffb4def91f5b/58df1ad01077470cbc82cbde13cc59c0.html" target="_blank"&gt;sp_read_db_pages() procedure&lt;/A&gt; has an optional "in_background" parameter but AFAIK the docs don't tell whether this parameter is set as default or not, and therefore it's not clear for ALTER DATABASE RESTORE CACHE either.&lt;/P&gt;
&lt;P&gt;We think about using that statement within a database start event if cache contents has been stored beforehand (as noted in SYSDBSPACE.saved_cache_pages), say for a regular restart. However, it should NOT disturb the database's availability, so background processing would be strongly favoured.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 04:26:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-alter-database-restore-cache-run-in-the-background/qaq-p/13832969</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2022-11-11T04:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Does ALTER DATABASE RESTORE CACHE run in the background?</title>
      <link>https://community.sap.com/t5/technology-q-a/does-alter-database-restore-cache-run-in-the-background/qaa-p/13832970#M4863813</link>
      <description>&lt;P&gt;Any information from the doc team would be appreciated... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 01:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/does-alter-database-restore-cache-run-in-the-background/qaa-p/13832970#M4863813</guid>
      <dc:creator>VolkerBarth</dc:creator>
      <dc:date>2022-11-22T01:10:56Z</dc:date>
    </item>
  </channel>
</rss>

