<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Database management</title>
    <link>/en/mc/db-management/</link>
    <description>Recent content in Database management on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/mc/db-management/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Mc: Creating a database using MC</title>
      <link>/en/mc/db-management/creating-db-using-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/creating-db-using-mc/</guid>
      <description>
        
        
        &lt;p&gt;If you installed the Management Console using an RPM, there is a wizard to help you create a new database on an existing database cluster.

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

&lt;p&gt;If you did not install MC with an RPM, see one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;For Management Console on Amazon Web Services (AWS) &lt;a href=&#34;../../../en/setup/set-up-on-cloud/on-aws/deploy-using-cloudformation-templates/&#34;&gt;using a CloudFormation Template&lt;/a&gt;, see &lt;a href=&#34;../../../en/mc/cloud-platforms/aws-mc/creating-an-eon-db-aws-with-mc/#&#34;&gt;Creating an Eon Mode database in AWS with MC&lt;/a&gt; or &lt;a href=&#34;../../../en/mc/cloud-platforms/aws-mc/creating-an-enterprise-db-aws-with-mc/#&#34;&gt;Creating an Enterprise Mode database in AWS with MC&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For Google Cloud Platform (GCP), see &lt;a href=&#34;../../../en/mc/cloud-platforms/gcp-mc/provision-an-eon-cluster-and-db-on-gcp-mc/#&#34;&gt;Provision an Eon Mode cluster and database on GCP in MC&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To provision a new database and cluster on-premises, see &lt;a href=&#34;../../../en/mc/getting-started-with-mc/creating-cluster-using-mc/#&#34;&gt;Creating a cluster using MC&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Connect to Management Console, and log in.&lt;/li&gt;
&lt;li&gt;On the home page, click &lt;strong&gt;View Infrastructure&lt;/strong&gt; to go to the &lt;strong&gt;Database and Cluster View&lt;/strong&gt;. This tab provides a summary of your environment, clusters, and databases.&lt;/li&gt;
&lt;li&gt;If the &lt;strong&gt;Database&lt;/strong&gt; row displays a database running on the cluster that you want to add a new database to, select the database and click &lt;strong&gt;Stop&lt;/strong&gt;. Wait until the database status is &lt;strong&gt;Stopped&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Clusters&lt;/strong&gt; row, click the existing cluster that you want to create a database on. If a database is already running on it, you must stop the database.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create Database&lt;/strong&gt; in the window to start the database creation wizard.&lt;/li&gt;
&lt;li&gt;Follow the steps in the wizard to successfully create a database.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can close the web browser during the process and sign back in to MC later. The creation process continues unless an unexpected error occurs.&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/getting-started-with-mc/creating-cluster-using-mc/#&#34;&gt;Creating a cluster using MC&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/mc/troubleshooting-with-mc-diagnostics/#&#34;&gt;Troubleshooting with MC diagnostics&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/mc/troubleshooting-with-mc-diagnostics/restarting-mc/#&#34;&gt;Restarting MC&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Provisioning databases using MC</title>
      <link>/en/mc/db-management/provisioning-dbs-using-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/provisioning-dbs-using-mc/</guid>
      <description>
        
        
        &lt;p&gt;Management Console allows all users to create, import, and connect to databases using the  &lt;strong&gt;MC Provision Databases&lt;/strong&gt; tab.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Import cluster or database using IP discovery&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create a new cluster&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/mc/db-management/import-and-monitor-db-hadoop-environment/#&#34;&gt;Import and monitor a database in a Hadoop environment&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Managing database clusters</title>
      <link>/en/mc/db-management/managing-db-clusters/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/managing-db-clusters/</guid>
      <description>
        
        
        &lt;p&gt;Management Console allows you to monitor multiple databases on one or more clusters at the same time. MC administrators can see and manage all databases and clusters monitored by MC, while non-administrative MC users see only databases on which they have been assigned the appropriate &lt;a href=&#34;../../../en/mc/users-roles-and-privileges/user-admin-mc/&#34;&gt;access levels&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Depending on your access level, you can use the MC to perform the following database and cluster-related management operations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Create an &lt;a href=&#34;../../../en/mc/cloud-platforms/aws-mc/creating-an-eon-db-aws-with-mc/&#34;&gt;Eon Mode&lt;/a&gt; and &lt;a href=&#34;../../../en/mc/cloud-platforms/aws-mc/creating-an-enterprise-db-aws-with-mc/&#34;&gt;Enterprise Mode&lt;/a&gt; database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install an Eon Mode and Enterprise Mode database in a cloud or &lt;a href=&#34;../../../en/mc/getting-started-with-mc/creating-cluster-using-mc/&#34;&gt;on-premises&lt;/a&gt; environment.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/mc/db-management/creating-db-using-mc/&#34;&gt;Create an empty database in an existing cluster&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/mc/db-management/managing-db-clusters/importing-an-existing-db-into-mc/&#34;&gt;Import an existing database or cluster&lt;/a&gt; into the MC interface.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Start the database, unless it is already running.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Stop the database, if no users are connected.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Remove the database from the MC interface.&lt;/p&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;

Remove does not drop the database. A Remove operation leaves it in the cluster, hidden from the UI. To add the database back to the MC interface, import it using the IP address of any cluster node. A Remove operation also stops metrics gathering on that database, but statistics gathering automatically resumes after you re-import.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Drop the database when you are certain that no users are connected. Drop is a permanent action that drops the database from the cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;database-clusters-in-the-cloud&#34;&gt;Database clusters in the cloud&lt;/h2&gt;
&lt;p&gt;When you use the Management Console to create a database or cluster on a &lt;a href=&#34;../../../en/mc/cloud-platforms/&#34;&gt;supported cloud provider&lt;/a&gt;, you can perform the following operations on individual machines or the entire cluster:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Start&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Stop&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Revive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reboot&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Terminate&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../en/mc/db-management/managing-db-clusters/viewing-and-managing-your-cluster/#&#34;&gt;Viewing and managing your cluster&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Subclusters in MC</title>
      <link>/en/mc/db-management/subclusters-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/subclusters-mc/</guid>
      <description>
        
        
        &lt;p&gt;In Eon Mode databases, you can use subclusters (groups of nodes) to separate different workloads, to control how those workloads use resources, and to facilitate scaling your database up and down as workloads fluctuate. This allows you to better manage your cloud resource expenses or data center resources. For an overview of subcluster concepts and how subclusters work, see &lt;a href=&#34;../../../en/architecture/eon-concepts/subclusters/#&#34;&gt;Subclusters&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;MC makes it easy to view and manage your subclusters. You can track how queries are performing and how well your subcluster resources are balanced. Using MC, you can use the information to adjust the number and size of your subclusters to improve your query throughput and system performance.&lt;/p&gt;
&lt;h2 id=&#34;visualizing-your-subclusters&#34;&gt;Visualizing your subclusters&lt;/h2&gt;
&lt;p&gt;The charts on the &lt;strong&gt;Database Overview&lt;/strong&gt; page allow you to view and drill down into the resource usage of your database at any level. You can look at the resource usage of all nodes, or all subclusters, or individual subclusters. For details, see &lt;a href=&#34;../../../en/mc/db-management/subclusters-mc/charting-subcluster-resource-usage-mc/#&#34;&gt;Charting subcluster resource usage in MC&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can view statistics for the individual nodes in each subcluster in table format on the &lt;strong&gt;Database Manage&lt;/strong&gt; page, in the &lt;strong&gt;Subclusters&lt;/strong&gt; tab.&lt;/p&gt;
&lt;p&gt;For a tour of the monitoring features of the &lt;strong&gt;Manage &amp;gt; Subclusters&lt;/strong&gt; tab, see &lt;a href=&#34;../../../en/mc/db-management/subclusters-mc/viewing-subcluster-layout-mc/#&#34;&gt;Viewing subcluster layout in MC&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;managing-your-subclusters&#34;&gt;Managing your subclusters&lt;/h2&gt;
&lt;p&gt;For Eon Mode databases, MC supports actions for subcluster and node management for the following public and private cloud providers:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/setup/set-up-on-cloud/on-aws/&#34;&gt;Amazon Web Services&lt;/a&gt; (AWS)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/setup/set-up-on-cloud/on-gcp/&#34;&gt;Google Cloud Platform&lt;/a&gt; (GCP)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/setup/set-up-on-cloud/on-azure/&#34;&gt;Microsoft Azure&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/mc/db-management/eon-on-premesis/creating-an-eon-db-on-premises-with-flashblade-mc/&#34;&gt;Pure Storage FlashBlade&lt;/a&gt;&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;

Enterprise Mode does not support subclusters.

&lt;/div&gt;

&lt;p&gt;For Enterprise Mode databases, MC supports these actions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the cloud on AWS: Add Node action, Add Instance action.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On-premises: Add Node action.&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;

In the cloud on GCP, Enterprise Mode databases are not supported.

&lt;/div&gt;

&lt;p&gt;To view and manage your subclusters, select your database from the &lt;strong&gt;MC&lt;/strong&gt; &lt;strong&gt;Home&lt;/strong&gt; page or the &lt;strong&gt;Databases and Clusters&lt;/strong&gt; page. MC displays your database&#39;s &lt;strong&gt;Overview&lt;/strong&gt; page. Select &lt;strong&gt;Manage&lt;/strong&gt; at the bottom of the &lt;strong&gt;Overview&lt;/strong&gt; page.&lt;/p&gt;
&lt;p&gt;To view the Subclusters page, click the &lt;strong&gt;Manage &amp;gt; Subclusters&lt;/strong&gt; tab:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mc-subclusters-tab-all-actions-and-node-actions.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;h3 id=&#34;eon-mode-in-the-cloud&#34;&gt;Eon Mode in the cloud&lt;/h3&gt;
&lt;p&gt;In Eon Mode on cloud platforms, you can use the &lt;strong&gt;Manage &amp;gt; Subclusters&lt;/strong&gt; tab to add subclusters, rebalance your subclusters, stop and start subclusters, scale subclusters up or down, or terminate a subcluster. You can also stop or start a node, or restart a database node and its underlying instance.&lt;/p&gt;
&lt;h3 id=&#34;eon-mode-on-premises&#34;&gt;Eon Mode on-premises&lt;/h3&gt;
&lt;p&gt;In Eon Mode on-premises, available subcluster and node actions behave a little differently than in the cloud, because your database nodes reside on actual machines in your data center rather than on cloud instances.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Subcluster Actions in Eon Mode on Premises&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In Eon Mode on-premises, you can use the &lt;strong&gt;Manage &amp;gt; Subclusters&lt;/strong&gt; tab to add subclusters, rebalance your subclusters, or delete a subcluster.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You can add (create) a subcluster only if additional database host machines are available.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When you delete a subcluster, MC deletes the subcluster from the database but does not delete the actual machines. MC stops the nodes in the subcluster, removes them from the subcluster, and deletes the subcluster. The database host machines are then available to be added to other subclusters.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
When you start or stop a subcluster in an Eon Mode database on-premises, MC starts or stops the subcluster nodes on the database host machines, but not the machines themselves.
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When you scale up a subcluster on-premises, the MC wizard displays a list of the available database host machines that are not currently part of a database. You select the ones you want to add to the subcluster as nodes, then confirm that you want to scale up the subcluster.&lt;/p&gt;
&lt;p&gt;When you scale down a subcluster on-premises, MC removes the nodes from the subcluster in the database, but does not terminate the database host machines. The hosts are now available for scaling up other subclusters.&lt;/p&gt;

&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Scale Up&lt;/strong&gt; displays the IP addresses of all available database hosts that are not part of the database. The &lt;strong&gt;Scale Up&lt;/strong&gt; button is grayed out if there are no database hosts in the cluster that are not part of the database.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;node-actions-in-eon-mode-on-premises&#34;&gt;Node actions in Eon Mode on premises&lt;/h3&gt;
When you start or stop a node on-premises, MC starts or stops the node in the database, but does not start or stop the database host machine. The Restart Node action is not available for on-premises Eon Mode databases.

      </description>
    </item>
    
    <item>
      <title>Mc: Eon Mode on-premises</title>
      <link>/en/mc/db-management/eon-on-premesis/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/eon-on-premesis/</guid>
      <description>
        
        
        


      </description>
    </item>
    
    <item>
      <title>Mc: Managing queries using MC</title>
      <link>/en/mc/db-management/managing-queries-using-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/managing-queries-using-mc/</guid>
      <description>
        
        
        &lt;p&gt;Management Console allows you to view the query plan of an active query or a manually entered query specified by the user.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the MC Home Page, click the database you want to view the &lt;strong&gt;Overview&lt;/strong&gt; page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;Activity&lt;/strong&gt; tab to view the query activity.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Explain&lt;/strong&gt; tab to access the query plan.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;See &lt;a href=&#34;../../../en/mc/db-management/working-with-query-plans-mc/#&#34;&gt;Working with query plans in MC&lt;/a&gt; and &lt;a href=&#34;../../../en/mc/db-management/working-with-query-plans-mc/accessing-query-plans-mc/#&#34;&gt;Accessing query plans in Management Console&lt;/a&gt; for further information.&lt;/p&gt;
&lt;p&gt;Management Console provides two options for viewing the query plan: &lt;strong&gt;Path Information&lt;/strong&gt; and &lt;strong&gt;Tree Path&lt;/strong&gt;. For details on each, refer &lt;a href=&#34;../../../en/mc/db-management/working-with-query-plans-mc/query-plan-view-options/#&#34;&gt;Query plan view options&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Additionally, you can also &lt;a href=&#34;../../../en/mc/db-management/working-with-query-plans-mc/viewing-projection-and-column-metadata/#&#34;&gt;Viewing projection and column metadata&lt;/a&gt; using the &lt;strong&gt;MC Explain&lt;/strong&gt; tab.&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/working-with-query-plans-mc/expanding-and-collapsing-query-paths/#&#34;&gt;Expanding and collapsing query paths&lt;/a&gt;
&lt;/li&gt;
&lt;li&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;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Working with query plans in MC</title>
      <link>/en/mc/db-management/working-with-query-plans-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/working-with-query-plans-mc/</guid>
      <description>
        
        
        &lt;p&gt;Management Console can show you a query plan in easy-to-read format, where you can review the optimizer&#39;s strategy for executing a specific query. You can view a query plan in either of two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;View the plan of an active query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;View the plan for any query that you manually specify.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;access-the-plan-of-an-active-query&#34;&gt;Access the plan of an active query&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 View Plan column, click &lt;strong&gt;Explain&lt;/strong&gt; next to the command for which you want to view the query plan. Only certain queries use query plans—for example, SELECT, INSERT, DELETE, and UPDATE.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Explain Plan window, click &lt;strong&gt;Explain&lt;/strong&gt;. The database generates the query plan.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) View the output in Path Information view or Tree Path 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;
&lt;h2 id=&#34;access-the-plan-for-a-specific-query&#34;&gt;Access the plan for a specific query&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Locate the query for which you want to see the query plan in either of the following ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Queries Not Running&lt;/strong&gt; — In the Explain window, type or paste the query text into the text box.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Queries Currently Running&lt;/strong&gt; — In the Find a Query By ID input window, perform one of the following actions:&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;/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;

Entering the word EXPLAIN before the query results in a syntax error.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Explain&lt;/strong&gt;. The database generates the plan. &lt;br /&gt;&lt;br /&gt;If the query is invalid, Management Console highlights in red the parts of your query that might have caused a syntax error. &lt;br /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) View the output in Path Information view or Tree Path 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>
    
    <item>
      <title>Mc: Creating a database design in Management Console</title>
      <link>/en/mc/db-management/creating-db-design-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/creating-db-design-mc/</guid>
      <description>
        
        
        &lt;p&gt;&lt;a href=&#34;../../../en/glossary/db-designer/#&#34;&gt;Database Designer&lt;/a&gt; creates an design that provides excellent performance for ad-hoc queries and specific queries while using disk space efficiently. Database Designer analyzes the logical schema definition, sample data, and sample queries, and creates a physical schema that you can deploy.&lt;/p&gt;
&lt;p&gt;For more about how Database Designer works, see the &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/#&#34;&gt;Creating a database design&lt;/a&gt; section of the documentation, and &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/about-db-designer/#&#34;&gt;About Database Designer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To use Management Console to create an optimized design for your database, you must be a DBADMIN user or have been assigned the DBDUSER role.&lt;/p&gt;
&lt;p&gt;Management Console provides two ways to create a design:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Wizard&lt;/strong&gt;—This option walks you through the process of configuring a new design. Click &lt;strong&gt;Back&lt;/strong&gt; and &lt;strong&gt;Next&lt;/strong&gt; to navigate through the Wizard steps, or &lt;strong&gt;Cancel&lt;/strong&gt; to cancel creating a new design.&lt;/p&gt;
&lt;p&gt;To learn how to use the Wizard to create a design, see &lt;a href=&#34;../../../en/mc/db-management/creating-db-design-mc/using-wizard-to-create-design/#&#34;&gt;Using the wizard to create a design&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Manual&lt;/strong&gt;—This option creates and saves a design with the default parameters.&lt;/p&gt;
&lt;p&gt;To learn how to create a design manually, see &lt;a href=&#34;../../../en/mc/db-management/creating-db-design-mc/creating-design-manually/#&#34;&gt;Creating a design manually&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

If you have many design tables that you want Database Designer to consider, it might be easier to use the Wizard to create your design. In the Wizard, you can submit all the tables in a schema at once; creating a design manually requires that you submit the design tables one at a time.

&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Running queries in Management Console</title>
      <link>/en/mc/db-management/running-queries-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/running-queries-mc/</guid>
      <description>
        
        
        &lt;p&gt;You can use the Query Runner to run SQL queries on your database through Management Console (MC). After executing a query, you can also get the query plan and profile information for the query on this page.&lt;/p&gt;
&lt;p&gt;To reach the Query Runner, select your database from the Home page or the Databases and Clusters page to view your database&#39;s Overview page. Select Query Execution at the bottom of the Overview page.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mc-query-runner-tabs.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To familiarize yourself with how queries work in OpenText™ Analytics Database, you can refer to the &lt;a href=&#34;../../../en/data-analysis/queries/#&#34;&gt;Queries&lt;/a&gt; section of the documentation, as well as the &lt;a href=&#34;../../../en/sql-reference/#&#34;&gt;SQL reference&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;limitations&#34;&gt;Limitations&lt;/h2&gt;
&lt;p&gt;You cannot execute COPY LOCAL statements using the Query Runner. To do so, use the vsql client installed on the server. See &lt;a href=&#34;../../../en/connecting-to/using-vsql/#&#34;&gt;Using vsql&lt;/a&gt;. (To use MC to import data from Amazon S3 storage to your database, see &lt;a href=&#34;../../../en/mc/cloud-platforms/aws-mc/loading-data-from-amazon-s3-using-mc/#&#34;&gt;Loading data from Amazon S3 using MC&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;Manually commit any transactions (INSERT and COPY statements) you perform by adding the COMMIT statement in the text box after the transaction statements. If you do not do so, the transaction rolls back.&lt;/p&gt;
&lt;p&gt;In the following example, to insert values into table1, include a COMMIT statement in the text box and execute the two statements together:

&lt;code&gt;INSERT INTO table1 VALUES (1,2); COMMIT;&lt;/code&gt;
&lt;img src=&#34;../../../images/mc/mc-query-runner-commit.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;format&#34;&gt;Format&lt;/h2&gt;
&lt;p&gt;To input a series of queries, delimit them with a semicolon (&lt;code&gt;;&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;To automatically format the SQL text you have input, click the Format icon (&lt;img src=&#34;../../../images/mc/mc-query-runner-format-icon.png&#34; alt=&#34;&#34;&gt;).&lt;/p&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;It is important when running queries in MC that the database administrator has correctly set up MC user privileges. The administrator must map all MC user profiles to their corresponding database user.&lt;/p&gt;
&lt;p&gt;The Query Runner only permits MC users to perform actions that their corresponding database roles allow.&lt;/p&gt;
&lt;p&gt;To set up user mappings, go to Home &amp;gt; MC Settings &amp;gt; User Management.&lt;/p&gt;
&lt;p&gt;For more about how mapping MC user profiles to database users works, see &lt;a href=&#34;../../../en/mc/users-roles-and-privileges/db-privileges/#&#34;&gt;Database privileges&lt;/a&gt;. For information about database-level users and privileges, see the &lt;a href=&#34;../../../en/admin/db-users-and-privileges/#&#34;&gt;Database users and privileges&lt;/a&gt; section of the documentation.&lt;/p&gt;
&lt;h2 id=&#34;execute-a-query&#34;&gt;Execute a query&lt;/h2&gt;
&lt;p&gt;The Query Runner provides several ways to input a query to run:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Input text.&lt;/strong&gt; Enter the text for a query or series of queries into the text box.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Import a SQL script.&lt;/strong&gt; Click the Upload icon (&lt;img src=&#34;../../../images/mc/mc-query-runner-upload-icon.png&#34; alt=&#34;&#34;&gt;) to the top right of the text box to upload a SQL script (plain text file, typically with an extension of &lt;code&gt;.sql&lt;/code&gt;). The queries from that file appears in the text box.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Enter a previous query from the Query History tab.&lt;/strong&gt; The Query History tab, on the left side of the page, displays the last 100 queries you have executed using the Query Runner on your current device and browser. Click any previous query in this tab to enter that query into the text box.&lt;br /&gt;&lt;br /&gt;Hover over a query in the Query History tab to view all the query text. To clear queries from your history, hover over an individual query and click &lt;strong&gt;x&lt;/strong&gt;, or click &lt;strong&gt;Clear all&lt;/strong&gt; at the top of the tab. Click the star to the left of any query to favorite it, so it won&#39;t be cleared when you click &lt;strong&gt;Clear all&lt;/strong&gt;. &lt;br /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cick &lt;strong&gt;Execute Query&lt;/strong&gt; to run the queries you have input.&lt;/p&gt;
&lt;p&gt;You can also execute only a portion of the text entered into the text box, as long as the selected text is a valid query. To do so, select that portion of the text. The &lt;strong&gt;Execute selected text as query&lt;/strong&gt; button then appears below the text box.&lt;/p&gt;
&lt;p&gt;For example, you might execute only a part of the entered text if you have uploaded a SQL script that containing multiple queries, but you decide to run only one of those queries.&lt;/p&gt;
&lt;p&gt;To customize your execution settings, click the Settings icon (&lt;img src=&#34;../../../images/mc/query-runner-settings-icon.png&#34; alt=&#34;&#34;&gt;) at the top right of the text box:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Row Limit:&lt;/strong&gt; Set the maximum number of rows to return. By default, the limit is 10000 rows.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Search Path:&lt;/strong&gt; Specify the schema to query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mc-query-execution-buttons.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;get-query-results&#34;&gt;Get query results&lt;/h2&gt;
&lt;p&gt;The Query Runner returns results in a table format. If you ran multiple queries simultaneously, the results window displays a tab for each set of results. View the number of rows returned and the query execution time at the bottom of the results window.&lt;/p&gt;
&lt;p&gt;If your result returns many columns, you can click &lt;strong&gt;Auto-resize all columns&lt;/strong&gt; in the top right of the results window for a better fit, or click and drag column borders to manually resize individual columns.&lt;/p&gt;
&lt;p&gt;Sort results by clicking on a column name, or use the search bar to narrow down results.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mc-query-execution-results1.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;h2 id=&#34;query-plans-and-profiles&#34;&gt;Query plans and profiles&lt;/h2&gt;
&lt;p&gt;Each query result also displays an option to retrieve the plan or profile for that query.&lt;/p&gt;
&lt;p&gt;After retrieving a plan or profile, you can expand or collapse the results 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/mc/mc-query-execution-plan.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;Note that the Query Runner does not automatically provide query profiles for queries that run for less than 1 second. To do so, prepend the word PROFILE to the query and run it.&lt;/p&gt;
&lt;p&gt;You can also profile your query on the &lt;strong&gt;Query Plan&lt;/strong&gt; page. The Query Plan page provides more details about both plan and profile results, including a query plan drilldown by node, a tree path view, and a profile analysis.&lt;/p&gt;
&lt;h2 id=&#34;keyboard-shortcuts&#34;&gt;Keyboard shortcuts&lt;/h2&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mc-query-runner-shortcuts.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;The Query Runner provides the following keyboard shortcuts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;?&lt;/strong&gt;: Press the question mark to display or dismiss a list of the available keyboard shortcuts. (You can also click the question mark icon at the top right of the text box to view this list.)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;alt + ↑&lt;/strong&gt;: Press alt + up arrow to decrease the height of the text box.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;alt + ↓&lt;/strong&gt;: Press alt + down arrow to increase the height of the text box.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;ctrl + enter&lt;/strong&gt;: Press ctrl + enter to run the query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;ctrl + shift + enter&lt;/strong&gt;: Press ctrl + shift + enter to run selected text.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&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/users-roles-and-privileges/db-privileges/#&#34;&gt;Database privileges&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/admin/db-users-and-privileges/#&#34;&gt;Database users and privileges&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/data-analysis/queries/#&#34;&gt;Queries&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/sql-reference/#&#34;&gt;SQL reference&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/connecting-to/using-vsql/#&#34;&gt;Using vsql&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Working with workload analyzer recommendations in MC</title>
      <link>/en/mc/db-management/working-with-workload-analyzer-recommendations-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/working-with-workload-analyzer-recommendations-mc/</guid>
      <description>
        
        
        &lt;p&gt;If queries perform sub-optimally, use &lt;a href=&#34;../../../en/admin/analyzing-workloads/&#34;&gt;Workload Analyzer&lt;/a&gt; to get tuning recommendations and hints about optimizing database objects.&lt;/p&gt;
&lt;p&gt;Workload Analyzer is a utility that analyzes system information in the database system tables. It then returns a set of tuning recommendations based on statistics, system and data collector events, and database/table/projection design. You can use these recommendations to tune query performance.&lt;/p&gt;
&lt;h2 id=&#34;configuring-the-workload-analyzer-execution-time&#34;&gt;Configuring the workload analyzer execution time&lt;/h2&gt;
&lt;p&gt;By default, Workload Analyzer runs each day at 2 AM. To optimize when Workload Analyzer uses resources, you can set Workload Analyzer to run at a different time for any or all databases that Management Console monitors. Alternately, you can set Management Console to never run Workload Analyzer automatically.

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

Workload Analyzer automatically begins monitoring data one minute after the Management Console process starts. Workload Analyzer then runs once per day, or immediately after you import a database to Management Console. It continually gathers data in the background as long as the database is running. If you have not yet created a database, or if the database is down, Workload Analyzer does nothing until the database is back up.

&lt;/div&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the Home page, click &lt;strong&gt;MC Settings&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Monitoring&lt;/strong&gt; tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under the &lt;strong&gt;Workload Analyzer Assistant&lt;/strong&gt; section of the Monitoring page, select your time zone.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the radio button for one of the options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;All Databases:&lt;/strong&gt; Select a time from the list. Workload Analyzer will run at that time on all databases that MC monitors.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Specific Database at Specific Time:&lt;/strong&gt; Select a database and a time from the list. At the time you specify, Workload Analyzer will run at that time on the database you selected.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Do Not Run Workload Analyzer On Any Database:&lt;/strong&gt; MC will never run Workload Analyzer automatically on any database it monitors.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Apply&lt;/strong&gt; at the top right of the page.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For additional information about tuning recommendations and their triggering event, see &lt;a href=&#34;../../../en/admin/analyzing-workloads/workload-analyzer-recommendations/#&#34;&gt;Workload analyzer recommendations&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;view-workload-analyzer-recommendations&#34;&gt;View workload analyzer recommendations&lt;/h2&gt;
&lt;p&gt;Workload Analyzer recommendations are available from the Quick Stats sidebar on the right of the database&#39;s &lt;strong&gt;Overview&lt;/strong&gt; page. The Workload Analyzer module displays the number of tuning recommendations that the Workload Analyzer has generated.&lt;/p&gt;
&lt;p&gt;To view the Workload Analyzer Results on the Database Designer page, click the number in the Workload Analyzer module.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mcwla-overview-icon-cursor.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;The Workload Analyzer Results window allows you to view details about and perform actions using current and processed recommendations.&lt;/p&gt;
&lt;p&gt;Click the &lt;strong&gt;Current Recommendations&lt;/strong&gt; radio button to display available Workload Analyzer recommendations. When 
&lt;code&gt;&lt;a href=&#34;../../../en/sql-reference/functions/performance-analysis-functions/statistics-management-functions/analyze-statistics/#&#34;&gt;ANALYZE_STATISTICS&lt;/a&gt;&lt;/code&gt; is returned as a tuning recommendation, select the check mark to the left of the row and click &lt;strong&gt;Run Selected Recommendations&lt;/strong&gt; to execute the recommendation automatically.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mcwla-window.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;Click the &lt;strong&gt;Processed Recommendations&lt;/strong&gt; radio button to display the Workload Analyzer recommendations that you previously executed. To remove a recommendation from the list, click the check mark to the left of the row and click &lt;strong&gt;Clear&lt;/strong&gt;, located above the &lt;strong&gt;Close&lt;/strong&gt; button in the bottom-right of the window. To expand or hide the processed recommendation&#39;s execution history, click the plus or minus sign to the left of the row.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc/mcwla-processed-recommendations.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;You can force the Workload Analyzer task to run immediately by clicking &lt;strong&gt;Update Recommendations&lt;/strong&gt;, located above the &lt;strong&gt;Status&lt;/strong&gt; column.&lt;/p&gt;
&lt;p&gt;The total recommendations and the number of recommendations currently selected to run are displayed under the recommendations grid. Use the settings under the grid to view more recommendations per page or to cycle through the recommendations that do not fit on the page.&lt;/p&gt;
&lt;p&gt;The following columns are used to describe recommendations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Tuning Description&lt;/strong&gt; — Describes the Workload Analyzer recommendation.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Tuning Cost&lt;/strong&gt; — Resource cost of running each command (LOW, MEDIUM, or HIGH).&lt;/p&gt;

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

When the tuning cost is HIGH, consider running the recommended tuning during off-peak load times.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Tuning Command&lt;/strong&gt; — SQL command used to execute the recommendation.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Last Executed On&lt;/strong&gt; — Date that the recommendation was last run. In MM/DD/YYYY format.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Status&lt;/strong&gt; — Describes the execution stage of a tuning recommendation ran from Workload Analyzer Results.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information about tuning recommendations, see &lt;a href=&#34;../../../en/admin/analyzing-workloads/&#34;&gt;&lt;a href=&#34;../../../en/admin/analyzing-workloads/getting-tuning-recommendations/#&#34;&gt;Getting tuning recommendations&lt;/a&gt;&lt;/a&gt; and 
&lt;code&gt;&lt;a href=&#34;../../../en/sql-reference/functions/performance-analysis-functions/workload-management-functions/analyze-workload/#&#34;&gt;ANALYZE_WORKLOAD&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;running-workload-analyzer-recommendations-to-optimize-a-query&#34;&gt;Running workload analyzer recommendations to optimize a query&lt;/h2&gt;
&lt;p&gt;When the Workload Analyzer recommends that you run 
&lt;code&gt;&lt;a href=&#34;../../../en/sql-reference/functions/performance-analysis-functions/statistics-management-functions/analyze-statistics/#&#34;&gt;ANALYZE_STATISTICS&lt;/a&gt;&lt;/code&gt; to optimize a query, you can run the recommendation automatically from Workload Analyzer Results.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Record the data source and execution time for a query that is running sub-optimally.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Query Execution&lt;/strong&gt; tab at the bottom.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use the Query Runner to execute a query that you want to optimize.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Record the database table or tables in the query&#39;s &lt;code&gt;FROM&lt;/code&gt; clause, and record the &lt;strong&gt;Execution time&lt;/strong&gt;, located under the &lt;strong&gt;Query Results&lt;/strong&gt; table.&lt;br /&gt;&lt;img src=&#34;../../../images/mc/mcwla-execution-time-before.png&#34; alt=&#34;&#34;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Overview&lt;/strong&gt; tab at the bottom of the window.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the &lt;strong&gt;Overview&lt;/strong&gt; page, click the number in the &lt;strong&gt;Workload Analyzer&lt;/strong&gt; box on the right.&lt;br /&gt;&lt;img src=&#34;../../../images/mc/mcwla-overview-icon-cursor.png&#34; alt=&#34;&#34;&gt;&lt;br /&gt;Workload Analyzer Results opens.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To filter the recommendations, enter the sub-optimal query&#39;s database table or tables in the field at the top of the &lt;strong&gt;Tuning Description&lt;/strong&gt; column.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select one or more &lt;code&gt;ANALYZE_STATISTICS&lt;/code&gt; recommendations by clicking the check mark to the left of the row. To select all of the filtered &lt;code&gt;ANALYZE_STATISTICS&lt;/code&gt; recommendations, click the check mark to the left of the &lt;strong&gt;Tuning Description&lt;/strong&gt; column header.&lt;br /&gt;&lt;img src=&#34;../../../images/mc/mcwla-selected-recommentation.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Run Selected Recommendations&lt;/strong&gt;, located in the bottom-right of the window.&lt;br /&gt;This process might take several minutes.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;After the tuning recommendations are completed, click the &lt;strong&gt;Processed Recommendations&lt;/strong&gt; radio button at the top of the window.&lt;br /&gt;The previously executed recommendations are displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Locate any recommendations that you just executed, and verify that the &lt;strong&gt;Status&lt;/strong&gt; column says &lt;strong&gt;COMPLETED&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify that the query was optimized.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Query Execution&lt;/strong&gt; tab at the bottom of the Management Console.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Execute the query that was performing sub-optimally. Note the &lt;strong&gt;Execution time&lt;/strong&gt; under the query results to verify the performance increase.&lt;br /&gt;&lt;img src=&#34;../../../images/mc/mcwla-execution-time-after.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../en/admin/analyzing-workloads/#&#34;&gt;Analyzing workloads&lt;/a&gt;
&lt;a href=&#34;../../../en/admin/analyzing-workloads/getting-tuning-recommendations/#&#34;&gt;Getting tuning recommendations&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Running Database Designer using MC</title>
      <link>/en/mc/db-management/running-db-designer-using-mc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/running-db-designer-using-mc/</guid>
      <description>
        
        
        &lt;p&gt;You can use Database Designer to create a comprehensive design, which allows you to create new projections for all tables in your database.&lt;/p&gt;
&lt;p&gt;Additionally, you can use Database Designer to create an incremental design. An incremental design creates projections for all tables referenced in the queries you supply.&lt;/p&gt;
&lt;p&gt;To run Database Designer using MC, follow the steps listed at &lt;a href=&#34;../../../en/getting-started/db-designer/running-db-designer-with-mc/#&#34;&gt;Running Database Designer with Management Console&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Using the Management Console to replace nodes</title>
      <link>/en/mc/db-management/using-mc-to-replace-nodes/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/using-mc-to-replace-nodes/</guid>
      <description>
        
        
        &lt;p&gt;On the MC &lt;strong&gt;Manage&lt;/strong&gt; page, you can quickly replace a DOWN node in the database by selecting one of the STANDBY nodes in the cluster.&lt;/p&gt;
&lt;p&gt;A DOWN node shows up as a red node in the cluster. Click the DOWN node and the Replace node button in the Node List becomes activated, as long as there is at least one node in the cluster that is not participating in the database. The STANDBY node will be your replacement node for the node you want to retire; it will appear gray (empty) until it has been added to the database, when it turns green.

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

You can resize the Node List by clicking its margins and dragging to the size you want.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;When you highlight a node and click &lt;strong&gt;Replace&lt;/strong&gt;, MC provides a list of possible STANDBY nodes to use as a replacement. After you select the replacement node, the process begins. A node replacement could be a long-running task.&lt;/p&gt;
&lt;p&gt;MC transitions the DOWN node to a STANDBY state, while the node you selected as the replacement will assume the identity of the original node, using the same node name, and will be started.&lt;/p&gt;
&lt;p&gt;Assuming a successful startup, the new node will appear orange with a status of RECOVERING until the recovery procedure is complete. When the recovery process completes, the replacement node will turn green and show a state of UP.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Import and monitor a database in a Hadoop environment</title>
      <link>/en/mc/db-management/import-and-monitor-db-hadoop-environment/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/db-management/import-and-monitor-db-hadoop-environment/</guid>
      <description>
        
        
        &lt;p&gt;You can use Management Console to connect to and monitor a database that resides in an Apache Hadoop environment. To monitor the database in the Hadoop environment, you must connect to an Apache Ambari server.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;Before you begin, you must:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Install OpenText™ Analytics Database on a Hadoop cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install Apache Ambari version 1.6.1 or 2.1.0.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enable Ganglia on your Hadoop cluster, to get the most information from your Hadoop environment.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;importing-the-database-within-a-hadoop-environment&#34;&gt;Importing the database within a Hadoop environment&lt;/h2&gt;
&lt;p&gt;To import your database that resides in a Hadoop environment, connect to that Hadoop environment in Management Console through an Apache Ambari server.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;From the Management Console home page, select &lt;strong&gt;Additional import options&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In &lt;strong&gt;Provisioning&lt;/strong&gt;, select &lt;strong&gt;Connect using an Ambari server to impot&lt;/strong&gt; Vertica &lt;strong&gt;within a Hadoop environment&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;strong&gt;Provision Access Within Hadoop Environment&lt;/strong&gt; window provides the following options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Connect to a new Ambari server&lt;/strong&gt;: Choose this option to create a enter your username and password for a new Ambari server connection.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Known Ambari URLs&lt;/strong&gt;: If you have a pre-existing Ambari connection that you want to use, select it from the drop-down list.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the next window, select the Hadoop cluster with the database that you want to monitor.&lt;br /&gt; Management Console automatically discovers Hadoop clusters that are currently monitored by the Ambari server that you specify. If Management Console does not monitor database clusters in the specified Hadoop environment, you can import clusters at this time.&lt;br /&gt;After you select the Hadoop cluster, you receive confirmation that your Hadoop cluster is saved.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter the IP address for the database you want to import and monitor. If the database is running on multiple hosts, enter the IP address of one of them.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter the API key for the database cluster. The API key is generated during database installation, and you can find it in the &lt;code&gt;/opt/vertica/config/apikeys.dat&lt;/code&gt; file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The next window displays the discovered databases. Select one or more databases you want to import, and enter the corresponding username and password.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the import is successful, you receive a success message. Click &lt;strong&gt;Done&lt;/strong&gt; to go to the &lt;strong&gt;Existing Infrastructure&lt;/strong&gt; page.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To import an additional database cluster within a Hadoop environment, click &lt;strong&gt;Import Cluster or database using IP address discovery&lt;/strong&gt; under &lt;strong&gt;Provisioning&lt;/strong&gt;. Management Console will automatically associate the cluster with the existing Hadoop environment.&lt;/p&gt;
&lt;h2 id=&#34;monitoring-the-database-within-a-hadoop-environment&#34;&gt;Monitoring the database within a Hadoop environment&lt;/h2&gt;
&lt;p&gt;To monitor the database clusters in a Hadoop environment, navigate to the &lt;strong&gt;Existing Infrastructure&lt;/strong&gt; page:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc-databasesand-clusters.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;Click to select the Hadoop environment, and then click &lt;strong&gt;View Vertica Databases&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/updateanddelete.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;The Management Console displays information about the databases that reside in a Hadoop environment:&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/mc-hadoop-infrastructure-page.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;
&lt;p&gt;You can monitor information like resource usage, Hadoop services, and database and connection status.&lt;/p&gt;
&lt;h2 id=&#34;update-or-remove-an-ambari-connection&#34;&gt;Update or remove an ambari connection&lt;/h2&gt;
&lt;p&gt;To update or remove an existing Ambari connection, go to the MC &lt;strong&gt;Existing Infrastructure&lt;/strong&gt; page, and click on the relevant Hadoop environment.&lt;/p&gt;
&lt;p&gt;To update a connection, click &lt;strong&gt;Update Ambari Connection&lt;/strong&gt;. Step through the wizard to update the connection.&lt;/p&gt;
&lt;p&gt;To remove a connection, select &lt;strong&gt;Update Ambari Connection&lt;/strong&gt; and choose &lt;strong&gt;Remove Connection&lt;/strong&gt;, or click &lt;strong&gt;Discontinue Monitoring&lt;/strong&gt; and then confirm that you want to remove the connection. Removing the connection also removes all databases associated with this connection from MC monitoring. You can re-import the databases later if needed.&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also:&lt;/h2&gt;
&lt;a href=&#34;../../../en/hadoop-integration/#&#34;&gt;Apache Hadoop integration&lt;/a&gt;

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