<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Working with query plans in MC</title>
    <link>/en/mc/db-management/working-with-query-plans-mc/</link>
    <description>Recent content in Working with query plans in MC on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/mc/db-management/working-with-query-plans-mc/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Mc: Accessing query plans in Management Console</title>
      <link>/en/mc/db-management/working-with-query-plans-mc/accessing-query-plans-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/working-with-query-plans-mc/accessing-query-plans-mc/</guid>
      <description>
        
        
        &lt;p&gt;You can access query plans in Management Console in two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the Detail page for query-related charts on the database&#39;s Activity page, click &lt;strong&gt;Explain&lt;/strong&gt; next to a query to view a plan for that query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter a query manually on the Explain page and click &lt;strong&gt;Explain Plan&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In both cases, the following window opens:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/mc-explain-page.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;You can also enter the transaction ID and statement ID or browse running or completed queries in the Find a Query input window:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/mc-findby-id.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;In the output window, you can perform the following tasks related to the query you entered:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/mc/db-management/working-with-query-plans-mc/expanding-and-collapsing-query-paths/&#34;&gt;Expand and collapse query paths.&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/mc/db-management/working-with-query-plans-mc/clearing-query-data/&#34;&gt;Clearing query data.&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/mc/db-management/working-with-query-plans-mc/viewing-projection-and-column-metadata/&#34;&gt;View projection and column metadata.&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/mc/db-management/working-with-query-plans-mc/query-plan-view-options/&#34;&gt;Use different query plan views.&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Query plan view options</title>
      <link>/en/mc/db-management/working-with-query-plans-mc/query-plan-view-options/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/working-with-query-plans-mc/query-plan-view-options/</guid>
      <description>
        
        
        &lt;p&gt;The Management Console provides two views for displaying query plans:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Path Information&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Tree Path&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&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;

Query Plan Drilldown and Profile Analysis output views are only available when you run &lt;a href=&#34;../../../../en/sql-reference/statements/profile/#&#34;&gt;PROFILE&lt;/a&gt;.

&lt;/div&gt;
&lt;p&gt;You can change the query plan view using the icons on the bottom portion of the &lt;strong&gt;Explain&lt;/strong&gt; page.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/explain-planin-mc/output-view3.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Path Information&lt;/strong&gt; view displays the query plan path. You can expand or collapse the view to see different levels of detail. To view metadata for a projection or a column, click the object name in the path output. A pop-up window displays the metadata, if it is available.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/explain-planin-mc/explain-path-info.png&#34; alt=&#34;&#34;&gt;The&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Tree Path&lt;/strong&gt; view details the query plan in the form of a tree. When you run EXPLAIN, the tree view does not contain any metrics because the query has not yet executed.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/explain-planin-mc/explain-tree-view.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Expanding and collapsing query paths</title>
      <link>/en/mc/db-management/working-with-query-plans-mc/expanding-and-collapsing-query-paths/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/working-with-query-plans-mc/expanding-and-collapsing-query-paths/</guid>
      <description>
        
        
        &lt;p&gt;The EXPLAIN window initially displays the full query plan as generated by the &lt;a href=&#34;../../../../en/sql-reference/statements/explain/#&#34;&gt;EXPLAIN&lt;/a&gt; command. Query plans can be lengthy, so you might want to modify the display so you can focus only on areas of interest:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Collapse All collapses all query paths, and displays only a summary of each path.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expand All expands all query paths.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the first line of a path to display details for that path. To collapse that path, click its first line again.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details about EXPLAIN command output, see &lt;a href=&#34;../../../../en/admin/managing-queries/query-plans/viewing-query-plans/explain-generated-query-plans/#&#34;&gt;EXPLAIN-Generated query plans&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Clearing query data</title>
      <link>/en/mc/db-management/working-with-query-plans-mc/clearing-query-data/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/working-with-query-plans-mc/clearing-query-data/</guid>
      <description>
        
        
        &lt;p&gt;After you finish reviewing the current query data, click Clear All to clear the query text and data. Alternatively, to display information about another query, enter the query text and click Explain or Profile.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Viewing projection and column metadata</title>
      <link>/en/mc/db-management/working-with-query-plans-mc/viewing-projection-and-column-metadata/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/working-with-query-plans-mc/viewing-projection-and-column-metadata/</guid>
      <description>
        
        
        &lt;p&gt;In the Management Console EXPLAIN window, when query paths are expanded in the Path Information view, Projection lines contain a projection name and Materialize lines contain one or more column names.&lt;/p&gt;
&lt;p&gt;To view metadata for a projection or a column, click the object name. A pop-up window displays the metadata. The following image on the left shows example projection metadata and the image on the right shows example column metadata.

&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;

Most system tables do not have metadata.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../../images/projection-column-metadata.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;When you are done viewing the metadata, close the pop-up window.&lt;/p&gt;

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