<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Managing queries using MC</title>
    <link>/en/mc/db-management/managing-queries-using-mc/</link>
    <description>Recent content in Managing queries using MC on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/mc/db-management/managing-queries-using-mc/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Mc: About profile data in Management Console</title>
      <link>/en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/</guid>
      <description>
        
        
        &lt;p&gt;After you profile a specific query, the Management Console Explain page displays profile data like query duration, projection metadata, execution events, optimizer events, and metrics in a pie chart.&lt;/p&gt;
&lt;p&gt;See the following links for more information on the kinds of profile data you can review on the Management Console Explain page:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/projection-metadata/#&#34;&gt;Projection metadata&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/query-phase-duration/#&#34;&gt;Query phase duration&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/profile-metrics/#&#34;&gt;Profile metrics&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/execution-events/#&#34;&gt;Execution events&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/optimizer-events/#&#34;&gt;Optimizer events&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Profiling queries using MC</title>
      <link>/en/mc/db-management/managing-queries-using-mc/profiling-queries-using-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/managing-queries-using-mc/profiling-queries-using-mc/</guid>
      <description>
        
        
        &lt;p&gt;Management Console allows you to view profile data for a query.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;On the MC Home Page, click the database to view the &lt;strong&gt;Overview&lt;/strong&gt; page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Explain&lt;/strong&gt; tab to perform tasks related to profiling a query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/viewing-profile-data-mc/#&#34;&gt;Viewing profile data in MC&lt;/a&gt; for further details.&lt;/p&gt;
&lt;p&gt;On the &lt;strong&gt;Explain&lt;/strong&gt; tab, you can view the following profile data using MC:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/query-phase-duration/#&#34;&gt;Query phase duration&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/projection-metadata/#&#34;&gt;Projection metadata&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/execution-events/#&#34;&gt;Execution events&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/optimizer-events/#&#34;&gt;Optimizer events&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/about-profile-data-mc/profile-metrics/#&#34;&gt;Profile metrics&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can use any of the four different formats to view the profile data:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Path Information view&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Query Drilldown view&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tree Path view&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Profile Analysis view&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/viewing-profile-data-mc/viewing-different-profile-outputs/#&#34;&gt;Viewing different profile outputs&lt;/a&gt; for detailed explanation of each view.&lt;/p&gt;
&lt;p&gt;Additionally, Management Console supports different color codes for viewing the progress of profiling a query. For an explanation of these color codes, see &lt;a href=&#34;../../../../en/mc/db-management/managing-queries-using-mc/viewing-profile-data-mc/monitoring-profiling-progress/#&#34;&gt;Monitoring profiling progress&lt;/a&gt;.&lt;/p&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/mc/db-management/managing-queries-using-mc/viewing-profile-data-mc/#&#34;&gt;Viewing profile data in MC&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Viewing profile data in MC</title>
      <link>/en/mc/db-management/managing-queries-using-mc/viewing-profile-data-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/managing-queries-using-mc/viewing-profile-data-mc/</guid>
      <description>
        
        
        &lt;p&gt;Management Console allows you to view profile data about a single query. You can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Review the profile data in multiple views&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;View details about projection metadata, execution events, and optimizer events&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Identify how much time was spent in each phase of query execution and which phases took the most amount of time&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After you select the database you want to use, you can view the profile data using Management Consolein either of two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Focus on specific areas of database activity, such as spikes in CPU usage&lt;/li&gt;
&lt;li&gt;Review the profile data for a specific query&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;to-focus-on-specific-areas-of-database-activity&#34;&gt;To focus on specific areas of database activity:&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;At the bottom of the Management Console window, click the &lt;strong&gt;Activity&lt;/strong&gt; tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the list at the top of the page, select &lt;strong&gt;Queries&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the activity graph, click the data point that corresponds to the query you want to view.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;View Plan&lt;/strong&gt; column, click &lt;strong&gt;Profile&lt;/strong&gt; next to the command for which you want to view the query plan. Only certain queries, like SELECT, INSERT, UPDATE, and DELETE, have profile data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In The &lt;strong&gt;Explain Plan&lt;/strong&gt; window, the database profiles the query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You can view the output in Path Information view, Query Plan Drilldown view, Tree Path view, or Profile Analysis view. To do so, click the respective buttons on the left of the output box.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;to-review-the-profile-data-for-a-specific-query&#34;&gt;To review the profile data for a specific query:&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Explain&lt;/strong&gt; window, type or paste the query text into the text box. Additionally, you can monitor queries that are currently running. To do so, perform one of the following. In the &lt;strong&gt;Find a Query By ID&lt;/strong&gt; input window:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Enter the query statement and transaction ID&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Browse Running Queries&lt;/strong&gt; link&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

If you enter more than one query, Management Console profiles only the first query.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To receive periodic updates about the query&#39;s progress and resources used, select the &lt;strong&gt;Enable Monitoring&lt;/strong&gt; check box. As a best practice, avoid specifying an interval time of less than 60 seconds because doing so may slow your query&#39;s progress.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Profile&lt;/strong&gt; button.&lt;/p&gt;
&lt;p&gt;While the database is profiling the query, a &lt;strong&gt;Cancel Query&lt;/strong&gt; button is enabled briefly, allowing you to cancel the query and profiling task. If the &lt;strong&gt;Cancel Query&lt;/strong&gt; button is disabled, that means Management Console does not have the proper information to cancel the query or the query is no longer running in the database.&lt;/p&gt;
&lt;p&gt;When processing completes, the profile data and metrics display below the text box. You can view the output in Path Information view, Query Plan Drilldown view, Tree Path view , or Profile Analysis view. To do so, click the respective view buttons on the left of the output box.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

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