<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Profiling functions</title>
    <link>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/</link>
    <description>Recent content in Profiling functions on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/sql-reference/functions/performance-analysis-functions/profiling-functions/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Sql-Reference: CLEAR_PROFILING</title>
      <link>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/clear-profiling/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/clear-profiling/</guid>
      <description>
        
        
        &lt;p&gt;Clears from memory data for the specified profiling type.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

OpenText™ Analytics Database stores profiled data in memory, so profiling can be memory intensive depending on how much data you collect.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;This is a meta-function. You must call meta-functions in a top-level &lt;a href=&#34;../../../../../en/sql-reference/statements/select/#&#34;&gt;SELECT&lt;/a&gt; statement.&lt;/p&gt;

&lt;h2 id=&#34;behavior-type&#34;&gt;Behavior type&lt;/h2&gt;
&lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/volatile-functions/&#34; title=&#34;&#34;&gt;Volatile&lt;/a&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;CLEAR_PROFILING( &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;profiling-type&lt;/span&gt;&amp;#39; [, &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;scope&lt;/span&gt;&amp;#39;] )
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;profiling-type&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The type of profiling data to clear:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;session&lt;/code&gt;: Clear profiling for basic session parameters and lock time out data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;query&lt;/code&gt;: Clear profiling for general information about queries that ran, such as the query strings used and the duration of queries.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ee&lt;/code&gt;: Clear profiling for information about the execution run of each query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;scope&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies at what scope to clear profiling on the specified data, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;local&lt;/code&gt;: Clear profiling data for the current session.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;global&lt;/code&gt;: Clear profiling data across all database sessions.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following statement clears profiled data for queries:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT CLEAR_PROFILING(&amp;#39;query&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/disable-profiling/#&#34;&gt;DISABLE_PROFILING&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/enable-profiling/#&#34;&gt;ENABLE_PROFILING&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/show-profiling-config/#&#34;&gt;SHOW_PROFILING_CONFIG&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/admin/profiling-db-performance/#&#34;&gt;Profiling database performance&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: DISABLE_PROFILING</title>
      <link>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/disable-profiling/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/disable-profiling/</guid>
      <description>
        
        
        &lt;p&gt;Disables for the current session collection of profiling data of the specified type. For detailed information, see &lt;a href=&#34;../../../../../en/admin/profiling-db-performance/enabling-profiling/#&#34;&gt;Enabling profiling&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is a meta-function. You must call meta-functions in a top-level &lt;a href=&#34;../../../../../en/sql-reference/statements/select/#&#34;&gt;SELECT&lt;/a&gt; statement.&lt;/p&gt;

&lt;h2 id=&#34;behavior-type&#34;&gt;Behavior type&lt;/h2&gt;
&lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/volatile-functions/&#34; title=&#34;&#34;&gt;Volatile&lt;/a&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;DISABLE_PROFILING( &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;profiling-type&lt;/span&gt;&amp;#39; )
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;profiling-type&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The type of profiling data to disable:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;session&lt;/code&gt;: Disables profiling for basic session parameters and lock time out data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;query&lt;/code&gt;: Disables profiling for general information about queries that ran, such as the query strings used and the duration of queries.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ee&lt;/code&gt;: Disables profiling for information about the execution run of each query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following statement disables profiling on query execution runs:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT DISABLE_PROFILING(&amp;#39;ee&amp;#39;);
   DISABLE_PROFILING
-----------------------
 EE Profiling Disabled
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/clear-profiling/#&#34;&gt;CLEAR_PROFILING&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/enable-profiling/#&#34;&gt;ENABLE_PROFILING&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/show-profiling-config/#&#34;&gt;SHOW_PROFILING_CONFIG&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ENABLE_PROFILING</title>
      <link>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/enable-profiling/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/enable-profiling/</guid>
      <description>
        
        
        &lt;p&gt;Enables collection of profiling data of the specified type for the current session. For detailed information, see &lt;a href=&#34;../../../../../en/admin/profiling-db-performance/enabling-profiling/#&#34;&gt;Enabling profiling&lt;/a&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

OpenText™ Analytics Database stores session and query profiling data in memory, so profiling can be memory intensive, depending on how much data you collect.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;This is a meta-function. You must call meta-functions in a top-level &lt;a href=&#34;../../../../../en/sql-reference/statements/select/#&#34;&gt;SELECT&lt;/a&gt; statement.&lt;/p&gt;

&lt;h2 id=&#34;behavior-type&#34;&gt;Behavior type&lt;/h2&gt;
&lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/volatile-functions/&#34; title=&#34;&#34;&gt;Volatile&lt;/a&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ENABLE_PROFILING( &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;profiling-type&lt;/span&gt;&amp;#39; )
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;profiling-type&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The type of profiling data to enable:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;session&lt;/code&gt;: Enable profiling for basic session parameters and lock time out data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;query&lt;/code&gt;: Enable profiling for general information about queries that ran, such as the query strings used and the duration of queries.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ee&lt;/code&gt;: Enable profiling for information about the execution run of each query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following statement enables profiling on query execution runs:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT ENABLE_PROFILING(&amp;#39;ee&amp;#39;);
   ENABLE_PROFILING
----------------------
 EE Profiling Enabled
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/clear-profiling/#&#34;&gt;CLEAR_PROFILING&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/disable-profiling/#&#34;&gt;DISABLE_PROFILING&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;

&lt;code&gt;&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/show-profiling-config/#&#34;&gt;SHOW_PROFILING_CONFIG&lt;/a&gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: SHOW_PROFILING_CONFIG</title>
      <link>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/show-profiling-config/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/performance-analysis-functions/profiling-functions/show-profiling-config/</guid>
      <description>
        
        
        &lt;p&gt;Shows whether profiling is enabled.&lt;/p&gt;
&lt;p&gt;This is a meta-function. You must call meta-functions in a top-level &lt;a href=&#34;../../../../../en/sql-reference/statements/select/#&#34;&gt;SELECT&lt;/a&gt; statement.&lt;/p&gt;

&lt;h2 id=&#34;behavior-type&#34;&gt;Behavior type&lt;/h2&gt;
&lt;a class=&#34;glosslink&#34; href=&#34;../../../../../en/glossary/stable-functions/&#34; title=&#34;See also Immutable (invariant) functions.&#34;&gt;Stable&lt;/a&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;SHOW_PROFILING_CONFIG ()
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following statement shows that profiling is enabled globally for all profiling types (session, execution engine, and query):&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT SHOW_PROFILING_CONFIG();
SHOW_PROFILING_CONFIG
------------------------------------------
 Session Profiling: Session off, Global on
 EE Profiling:      Session off, Global on
 Query Profiling:   Session off, Global on
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/clear-profiling/#&#34;&gt;CLEAR_PROFILING&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/disable-profiling/#&#34;&gt;DISABLE_PROFILING&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/sql-reference/functions/performance-analysis-functions/profiling-functions/enable-profiling/#&#34;&gt;ENABLE_PROFILING&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/admin/profiling-db-performance/#&#34;&gt;Profiling database performance&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
  </channel>
</rss>
