<?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: reset MDA table counters in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/reset-mda-table-counters/qaa-p/12625456#M4735659</link>
    <description>&lt;P&gt;Unfortunately, you cannot reset counters in MDA tables.&lt;/P&gt;
&lt;P&gt;Once enabled, the Adaptive Server statement cache stores the SQL text of ad hoc update, delete, and select commands and other statements likely to be reused. When the statement cache is enabled, the query plans for these statements are saved for reuse. When a new statement is issued, Adaptive Server searches the statement cache for a plan to reuse. If Adaptive Server finds a plan to reuse, the statement does not need to be recompiled, which likely leads to improved performance.  The monitoring tables include two tables that can be used to analyze the status and performance of the statement cache: monStatementCache provides a summary snapshot of the statement cache, and monCachedStatement shows detailed information about each cached statement. Using literal parameterization allows it to recognize queries that are the same except for differences in literal values, saving recompiling costs while using statement cache. In addition to performance benefits, literal parameterization leads to enormous space reduction while storing the metrics and statements in the cache.&lt;/P&gt;
&lt;P&gt;2206989 - Is there a way to reset MDA table counters? - SAP ASE&lt;BR /&gt;      &lt;A href="https://service.sap.com/sap/support/notes/2206989"&gt;https://service.sap.com/sap/support/notes/2206989&lt;/A&gt;&lt;BR /&gt;1962260 - How can statement cache be cleared of stored query plans or one particular query plan to prevent re-use? - ASE&lt;BR /&gt;      &lt;A href="https://service.sap.com/sap/support/notes/1962260"&gt;https://service.sap.com/sap/support/notes/1962260&lt;/A&gt;&lt;BR /&gt;2487703 - When are the monOpenObjectActivity monitoring table values cleared? - SAP ASE&lt;BR /&gt;      &lt;A href="https://service.sap.com/sap/support/notes/2487703"&gt;https://service.sap.com/sap/support/notes/2487703&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jun 2022 02:24:07 GMT</pubDate>
    <dc:creator>SAPSupport</dc:creator>
    <dc:date>2022-06-29T02:24:07Z</dc:date>
    <item>
      <title>reset MDA table counters</title>
      <link>https://community.sap.com/t5/technology-q-a/reset-mda-table-counters/qaq-p/12625455</link>
      <description>&lt;P&gt;Is there any way to reset the content of monStatementCache without server reboot?&lt;BR /&gt;especially the counters in NumSearches, HitCount and NumInserts columns.&lt;/P&gt;
&lt;P&gt;I did tried dbcc purgesqlcache, but the NumSearches, HitCount and NumInserts still remains&lt;/P&gt;&lt;BR /&gt;------------------------------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;B&gt;Learn more about the SAP Support user and program &lt;A href="https://blogs.sap.com/2021/09/20/maximizing-the-power-of-sap-community-at-product-support/" target="_blank"&gt;here&lt;/A&gt;.&lt;/B&gt;</description>
      <pubDate>Wed, 29 Jun 2022 02:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reset-mda-table-counters/qaq-p/12625455</guid>
      <dc:creator>SAPSupport</dc:creator>
      <dc:date>2022-06-29T02:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: reset MDA table counters</title>
      <link>https://community.sap.com/t5/technology-q-a/reset-mda-table-counters/qaa-p/12625456#M4735659</link>
      <description>&lt;P&gt;Unfortunately, you cannot reset counters in MDA tables.&lt;/P&gt;
&lt;P&gt;Once enabled, the Adaptive Server statement cache stores the SQL text of ad hoc update, delete, and select commands and other statements likely to be reused. When the statement cache is enabled, the query plans for these statements are saved for reuse. When a new statement is issued, Adaptive Server searches the statement cache for a plan to reuse. If Adaptive Server finds a plan to reuse, the statement does not need to be recompiled, which likely leads to improved performance.  The monitoring tables include two tables that can be used to analyze the status and performance of the statement cache: monStatementCache provides a summary snapshot of the statement cache, and monCachedStatement shows detailed information about each cached statement. Using literal parameterization allows it to recognize queries that are the same except for differences in literal values, saving recompiling costs while using statement cache. In addition to performance benefits, literal parameterization leads to enormous space reduction while storing the metrics and statements in the cache.&lt;/P&gt;
&lt;P&gt;2206989 - Is there a way to reset MDA table counters? - SAP ASE&lt;BR /&gt;      &lt;A href="https://service.sap.com/sap/support/notes/2206989"&gt;https://service.sap.com/sap/support/notes/2206989&lt;/A&gt;&lt;BR /&gt;1962260 - How can statement cache be cleared of stored query plans or one particular query plan to prevent re-use? - ASE&lt;BR /&gt;      &lt;A href="https://service.sap.com/sap/support/notes/1962260"&gt;https://service.sap.com/sap/support/notes/1962260&lt;/A&gt;&lt;BR /&gt;2487703 - When are the monOpenObjectActivity monitoring table values cleared? - SAP ASE&lt;BR /&gt;      &lt;A href="https://service.sap.com/sap/support/notes/2487703"&gt;https://service.sap.com/sap/support/notes/2487703&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 02:24:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/reset-mda-table-counters/qaa-p/12625456#M4735659</guid>
      <dc:creator>SAPSupport</dc:creator>
      <dc:date>2022-06-29T02:24:07Z</dc:date>
    </item>
  </channel>
</rss>

