<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica 26.3.x – Unified Console</title>
    <link>/en/mc/unified-console/</link>
    <description>Recent content in Unified Console on Vertica 26.3.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/mc/unified-console/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Mc: Install Unified Console</title>
      <link>/en/mc/unified-console/install-uc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/install-uc/</guid>
      <description>
        
        
        &lt;p&gt;Management Console installation includes Unified Console by default. Unified Console requires no separate installation.&lt;/p&gt;
&lt;h2 id=&#34;overview-of-uc-installation&#34;&gt;Overview of UC installation&lt;/h2&gt;
&lt;p&gt;This section explains how to install, set up, validate, connect to, begin using UC, and how to reinstall UC if required.&lt;/p&gt;
&lt;h2 id=&#34;set-up-and-get-started-with-uc&#34;&gt;Set up and get started with UC&lt;/h2&gt;
&lt;p&gt;Complete the following tasks to ensure that UC is installed correctly and ready for use:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/mc/installing-mc/&#34;&gt;Install MC&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/mc/unified-console/validate-mc-uc-installation/&#34;&gt;Validate MC installation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/mc/unified-console/import-ca-cert/&#34;&gt;Import the CA certificate&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;(Optional) &lt;a href=&#34;../../../en/mc/unified-console/configure-uc-port/&#34;&gt;Configure the UC port&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/mc/unified-console/connect-uc/&#34;&gt;Connect to UC&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/mc/unified-console/getting-started-with-uc/&#34;&gt;Get started with UC&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;expected-result&#34;&gt;Expected Result&lt;/h3&gt;
&lt;p&gt;You can access Management Console, open Unified Console successfully, and begin managing your environment.&lt;/p&gt;
&lt;h2 id=&#34;reinstall-unified-console&#34;&gt;Reinstall Unified Console&lt;/h2&gt;
&lt;p&gt;Reinstall UC only if UC is unavailable, corrupted, or not functioning correctly after installation or upgrade. Preserve your existing UC configuration before reinstalling UC.&lt;/p&gt;
&lt;h3 id=&#34;when-to-reinstall-uc&#34;&gt;When to Reinstall UC&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;UC does not start after installation or upgrade.&lt;/li&gt;
&lt;li&gt;UC files are corrupted or missing.&lt;/li&gt;
&lt;li&gt;Troubleshooting steps do not resolve the issue.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-1-back-up-the-uc-configuration&#34;&gt;Step 1: Back up the UC configuration&lt;/h3&gt;
&lt;p&gt;This step preserves your existing UC configuration so that you can restore it after reinstallation.&lt;/p&gt;
&lt;p&gt;Run&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cp -r /opt/vconsole/uc/config/dbconfigs /tmp/uc_backup
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Expected result&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The backup directory is created successfully and contains the UC configuration files.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Success:&lt;/strong&gt; Configuration files are copied to &lt;code&gt;/tmp/uc_backup&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Failure:&lt;/strong&gt; The command returns a permission or file-not-found error.&lt;/p&gt;
&lt;h3 id=&#34;step-2-reinstall-mc&#34;&gt;Step 2: Reinstall MC&lt;/h3&gt;
&lt;p&gt;UC is installed as part of MC. Reinstall MC to reinstall UC. For information about installing MC, see &lt;a href=&#34;../../../en/mc/installing-mc/&#34;&gt;Install MC&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Expected result&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;MC and UC are reinstalled successfully.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Success:&lt;/strong&gt; Installation completes without errors.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Failure:&lt;/strong&gt; Installation stops or reports errors.&lt;/p&gt;
&lt;h3 id=&#34;step-3-restore-the-uc-configuration&#34;&gt;Step 3: Restore the UC configuration&lt;/h3&gt;
&lt;p&gt;Restore the saved configuration after reinstallation completes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Run:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cp -r /tmp/uc_backup/* /opt/vconsole/uc/config/dbconfigs/
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Expected result&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The previous UC configuration is restored.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Success:&lt;/strong&gt; Configuration files are available in the UC configuration directory.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Failure:&lt;/strong&gt; Restore command returns errors or configuration files are missing.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Validate MC and UC installation</title>
      <link>/en/mc/unified-console/validate-mc-uc-installation/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/validate-mc-uc-installation/</guid>
      <description>
        
        
        &lt;p&gt;UC is installed along with MC. Validate your MC installation and verify that all required services are running correctly. Begin by identifying where MC is hosted and then perform the applicable validation steps for UC.&lt;/p&gt;
&lt;h2 id=&#34;validate-management-console-and-unified-console-installation&#34;&gt;Validate Management Console and Unified Console Installation&lt;/h2&gt;
&lt;p&gt;After installing or upgrading Management Console, validate the deployment to ensure that both MC and UC are operating correctly and are accessible to users.&lt;/p&gt;
&lt;p&gt;This validation procedure helps you confirm that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MC is accessible from a browser.&lt;/li&gt;
&lt;li&gt;UC loads successfully.&lt;/li&gt;
&lt;li&gt;Required services are running.&lt;/li&gt;
&lt;li&gt;Required certificates are trusted.&lt;/li&gt;
&lt;li&gt;Network connectivity is configured correctly.&lt;/li&gt;
&lt;li&gt;No installation or startup failures have occured.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Perform this validation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;After a new installation&lt;/li&gt;
&lt;li&gt;After an upgrade&lt;/li&gt;
&lt;li&gt;After changing the UC port&lt;/li&gt;
&lt;li&gt;After updating CA certificates&lt;/li&gt;
&lt;li&gt;After troubleshooting connectivity issues&lt;/li&gt;
&lt;li&gt;After troubleshooting sign-in issues&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Before you begin, identify whether your deployment is On-premises or Cloud.&lt;/p&gt;
&lt;h2 id=&#34;validation-workflow&#34;&gt;Validation workflow&lt;/h2&gt;
&lt;p&gt;Perform validation in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Verify that users can access MC and UC.&lt;/li&gt;
&lt;li&gt;Verify the installed MC version.&lt;/li&gt;
&lt;li&gt;Verify that MC services are running.&lt;/li&gt;
&lt;li&gt;Verify that UC processes are running.&lt;/li&gt;
&lt;li&gt;Verify network connectivity.&lt;/li&gt;
&lt;li&gt;Review logs only if any validation fails.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;on-premises-deployment&#34;&gt;On-premises deployment&lt;/h2&gt;
&lt;h3 id=&#34;step-1-verify-browser-access&#34;&gt;Step 1: Verify browser access&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Open the MC URL in your browser:
&lt;code&gt;https://&amp;lt;MC_HOSTNAME&amp;gt;:8433&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Verify the following:
&lt;ul&gt;
&lt;li&gt;The login page loads successfully.&lt;/li&gt;
&lt;li&gt;The browser does not display certificate warnings.&lt;/li&gt;
&lt;li&gt;You can sign in successfully.&lt;/li&gt;
&lt;li&gt;UC opens after login.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;If MC and UC are accessible, basic installation and service startup have completed successfully.&lt;/p&gt;
&lt;h3 id=&#34;step-2-determine-the-installed-mc-version&#34;&gt;Step 2: Determine the installed MC version&lt;/h3&gt;
&lt;p&gt;The validation steps differ slightly between MC versions.&lt;/p&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;rpm -qa | grep vertica-console
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Example output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vertica-console-26.3.0-1.x86_6
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Record the installed version before proceeding.&lt;/p&gt;
&lt;h3 id=&#34;step-3-verify-the-mc-service&#34;&gt;Step 3: Verify the MC service&lt;/h3&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo /opt/vconsole/shared/vertica-consoled status
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Expected output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Vertica Console: Running
status OK
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Service status is displayed as &lt;code&gt;Running&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;No startup or service errors are reported.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-4-perform-version-specific-validation&#34;&gt;Step 4: Perform version-specific validation&lt;/h3&gt;
&lt;h4 id=&#34;mc-version-262&#34;&gt;MC version 26.2&lt;/h4&gt;
&lt;h5 id=&#34;verify-browser-certificates&#34;&gt;Verify browser certificates&lt;/h5&gt;
&lt;p&gt;Confirm that all required CA certificates are imported into the browser.&lt;/p&gt;
&lt;p&gt;Verify that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No certificate warnings appear.&lt;/li&gt;
&lt;li&gt;HTTPS connections are trusted.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;verify-uc-runtime-files&#34;&gt;Verify UC runtime files&lt;/h5&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ls -ltr /opt/vconsole/uc/run
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PID files exist.&lt;/li&gt;
&lt;li&gt;Runtime files are present.&lt;/li&gt;
&lt;li&gt;Runtime files are being updated.&lt;/li&gt;
&lt;li&gt;No stale lock files exist.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mc-version-263&#34;&gt;MC Version 26.3&lt;/h4&gt;
&lt;h5 id=&#34;verify-uc-runtime-components&#34;&gt;Verify UC runtime components&lt;/h5&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ls -ltr /opt/vconsole/uc/run
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;UC processes are running.&lt;/li&gt;
&lt;li&gt;PID files exist.&lt;/li&gt;
&lt;li&gt;Runtime files are present.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;cloud-deployment&#34;&gt;Cloud deployment&lt;/h2&gt;
&lt;h3 id=&#34;step-1-verify-browser-access-1&#34;&gt;Step 1: Verify browser access&lt;/h3&gt;
&lt;p&gt;Open the MC URL.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;https://&amp;lt;MC_HOSTNAME&amp;gt;:8433&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Verify the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The login page appears.&lt;/li&gt;
&lt;li&gt;Authentication succeeds.&lt;/li&gt;
&lt;li&gt;UC loads correctly.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-2-determine-the-installed-mc-version-1&#34;&gt;Step 2: Determine the installed MC version&lt;/h3&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;rpm -qa | grep -i console
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Example output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vertica-console-26.3.0-1.x86_64
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;step-3-verify-the-mc-service-1&#34;&gt;Step 3: Verify the MC service&lt;/h3&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;sudo /opt/vconsole/shared/vertica-consoled status
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Expected output:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;Vertica Console: Running
status OK
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MC service is running.&lt;/li&gt;
&lt;li&gt;No startup errors are reported.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-4-perform-version-specific-validation-1&#34;&gt;Step 4: Perform version-specific validation&lt;/h3&gt;
&lt;h4 id=&#34;mc-version-262-1&#34;&gt;MC version 26.2&lt;/h4&gt;
&lt;h5 id=&#34;verify-ca-certificates&#34;&gt;Verify CA certificates&lt;/h5&gt;
&lt;p&gt;Confirm that the required CA certificates are imported into your browser.&lt;/p&gt;
&lt;p&gt;Verify that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;HTTPS connections are trusted.&lt;/li&gt;
&lt;li&gt;Certificate warnings do not appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;verify-uc-runtime-files-1&#34;&gt;Verify UC runtime files&lt;/h5&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ls -ltr /opt/vconsole/uc/run
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Runtime files exist.&lt;/li&gt;
&lt;li&gt;PID files are present.&lt;/li&gt;
&lt;li&gt;No startup failures are reported.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;verify-security-group-configuration&#34;&gt;Verify security group configuration&lt;/h5&gt;
&lt;p&gt;Ensure that the cloud security group allows the following ports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;TCP 8090&lt;/li&gt;
&lt;li&gt;TCP 8433&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;verify-connectivity&#34;&gt;Verify connectivity&lt;/h5&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;nc -zv &amp;lt;MC_HOSTNAME&amp;gt; 8090
nc -zv &amp;lt;MC_HOSTNAME&amp;gt; 8433
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Expected result:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Both connection tests succeed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;mc-version-263-1&#34;&gt;MC version 26.3&lt;/h4&gt;
&lt;h5 id=&#34;verify-uc-runtime-components-1&#34;&gt;Verify UC runtime components&lt;/h5&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ls -ltr /opt/vconsole/uc/run
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;UC processes are running.&lt;/li&gt;
&lt;li&gt;PID files exist.&lt;/li&gt;
&lt;li&gt;No startup failures are reported.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;verify-security-group-configuration-1&#34;&gt;Verify security group configuration&lt;/h5&gt;
&lt;p&gt;Ensure that the cloud security group allows TCP 8433.&lt;/p&gt;
&lt;h5 id=&#34;verify-connectivity-1&#34;&gt;Verify connectivity&lt;/h5&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;nc -zv &amp;lt;MC_HOSTNAME&amp;gt; 8433
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Expected result:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The connection test succeeds.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;troubleshooting-installation-validation-failures&#34;&gt;Troubleshooting installation validation failures&lt;/h2&gt;
&lt;p&gt;If any validation step fails, collect diagnostic information before contacting support.&lt;/p&gt;
&lt;h3 id=&#34;check-mc-service-logs&#34;&gt;Check MC service logs&lt;/h3&gt;
&lt;p&gt;Collect the recent MC service log entries:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;journalctl -u vertica-consoled -n 200
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Review:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Service startup failures&lt;/li&gt;
&lt;li&gt;Port binding issues&lt;/li&gt;
&lt;li&gt;SSL errors&lt;/li&gt;
&lt;li&gt;Certificate validation errors&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;locate-uc-log-files&#34;&gt;Locate UC log files&lt;/h3&gt;
&lt;p&gt;Find all UC log files:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;find /opt/vconsole -name &amp;#34;*.log&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Common locations include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;/opt/vconsole/log/&lt;/li&gt;
&lt;li&gt;/opt/vconsole/uc/logs/&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Review:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Startup failures&lt;/li&gt;
&lt;li&gt;Process crashes&lt;/li&gt;
&lt;li&gt;Certificate-related errors&lt;/li&gt;
&lt;li&gt;Connectivity errors&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;verify-endpoint-reachability&#34;&gt;Verify endpoint reachability&lt;/h3&gt;
&lt;p&gt;Run one of the following commands:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;telnet &amp;lt;MC_HOSTNAME&amp;gt; 8433
curl -vk https://&amp;lt;MC_HOSTNAME&amp;gt;:8433
nc -zv &amp;lt;MC_HOSTNAME&amp;gt; 8433
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Expected result:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The endpoint accepts incoming connections.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;validate-a-custom-uc-port-configuration&#34;&gt;Validate a custom UC port configuration&lt;/h2&gt;
&lt;p&gt;By default, UC uses port 8433. If you configured UC to use a different port:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Verify that the new port is reachable.&lt;/li&gt;
&lt;li&gt;Verify that firewall rules allow access to the configured port.&lt;/li&gt;
&lt;li&gt;Verify that cloud security groups allow access to the configured port.&lt;/li&gt;
&lt;li&gt;Confirm that users access MC using the updated port.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;https://&amp;lt;MC_HOSTNAME&amp;gt;:&amp;lt;CUSTOM_PORT&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Verify connectivity:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;nc -zv &amp;lt;MC_HOSTNAME&amp;gt; &amp;lt;CUSTOM_PORT&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;validation-complete&#34;&gt;Validation complete&lt;/h2&gt;
&lt;p&gt;The installation is considered successful when the following conditions are met:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MC is accessible from a browser.&lt;/li&gt;
&lt;li&gt;Users can sign in successfully.&lt;/li&gt;
&lt;li&gt;Unified console loads correctly.&lt;/li&gt;
&lt;li&gt;MC service status is &lt;code&gt;Running&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The required UC processes are running.&lt;/li&gt;
&lt;li&gt;The required network ports are reachable.&lt;/li&gt;
&lt;li&gt;No startup failures or certificate-related errors are reported.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The MC and UC deployment are ready for use.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Import the CA certificate</title>
      <link>/en/mc/unified-console/import-ca-cert/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/import-ca-cert/</guid>
      <description>
        
        
        &lt;p&gt;UC uses self-signed certificates by default. When you sign in to MC and switch to UC, the browser displays a security prompt. To avoid this prompt each time when switching to UC, import the CA certificates.&lt;/p&gt;
&lt;h2 id=&#34;about-ca-certificate&#34;&gt;About CA certificate&lt;/h2&gt;
&lt;p&gt;Import a CA certificate to establish a trusted HTTPS connection between your web browser and UC. After you import the certificate, the browser can verify the identity of UC and securely connect without displaying certificate trust warnings.&lt;/p&gt;
&lt;h3 id=&#34;what-are-ca-certificates&#34;&gt;What are CA certificates?&lt;/h3&gt;
&lt;p&gt;A Certificate Authority (CA) certificate is a digital certificate that establishes trust between a client and a server. UC uses HTTPS certificates that are signed by an internal CA certificate. Browsers do not automatically trust this internal CA because it is not issued by a public certificate authority.&lt;/p&gt;
&lt;p&gt;By importing the UC CA certificate into your browser&#39;s trusted certificate store, you allow the browser to trust the certificates used by UC.&lt;/p&gt;
&lt;p&gt;This CA certificate enables secure HTTPS communication between the browser and UC.&lt;/p&gt;
&lt;h3 id=&#34;why-import-the-ca-certificate&#34;&gt;Why import the CA certificate?&lt;/h3&gt;
&lt;p&gt;Importing the CA certificate helps you:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Establish a trusted HTTPS connection to UC.&lt;/li&gt;
&lt;li&gt;Eliminate browser certificate warnings when accessing UC.&lt;/li&gt;
&lt;li&gt;Verify the identity of the UC server.&lt;/li&gt;
&lt;li&gt;Protect communication between your browser and UC through encryption.&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;

Importing the CA certificate is optional. However, importing it provides a better user experience and prevents repeated browser trust prompts.

&lt;/div&gt;
&lt;h3 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h3&gt;
&lt;p&gt;Verify that you have the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Access to the UC host.&lt;/li&gt;
&lt;li&gt;Access to the UC certificate directory &lt;code&gt;/opt/vconsole/uc/certs&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The CA certificate file &lt;code&gt;/opt/vconsole/uc/certs/ca.crt&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Administrative permissions on the client machine where you plan to import the CA certificate.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;how-certificate-trust-works&#34;&gt;How certificate trust works&lt;/h3&gt;
&lt;p&gt;UC generates an internal CA certificate and uses it to sign service certificates. Before your browser can trust UC, you must import the following certificate into the browser&#39;s trusted certificate store:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;/opt/vconsole/uc/certs/ca.crt&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You only need to import the CA certificate once on each client machine.&lt;/p&gt;
&lt;h2 id=&#34;configure-google-chrome&#34;&gt;Configure Google Chrome&lt;/h2&gt;
&lt;p&gt;Import the UC CA certificate into the Windows Trusted Root Certification Authorities store that Google Chrome uses.&lt;/p&gt;
&lt;h3 id=&#34;step-1-open-the-certificate-manager&#34;&gt;Step 1: Open the Certificate Manager&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Open Google Chrome.&lt;/li&gt;
&lt;li&gt;In the address bar, enter: &lt;code&gt;chrome://certificate-manager/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Local certificates&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Manage imported certificates from Windows&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-2-import-the-ca-certificate&#34;&gt;Step 2: Import the CA Certificate&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Select the &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Import&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Browse&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;/opt/vconsole/uc/certs/ca.crt&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Place all certificates in the following store&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Browse&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Finish&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Verify:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The import operation completes without errors.&lt;/li&gt;
&lt;li&gt;The certificate appears in the Trusted Root Certification Authorities store.&lt;/li&gt;
&lt;li&gt;You can open UC without browser trust warnings.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;success&#34;&gt;Success&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The UC login page loads normally.&lt;/li&gt;
&lt;li&gt;The browser displays a secure HTTPS connection.&lt;/li&gt;
&lt;li&gt;No certificate warning appears.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;failure&#34;&gt;Failure&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The browser displays a certificate warning.&lt;/li&gt;
&lt;li&gt;The browser reports that the connection is not trusted.&lt;/li&gt;
&lt;li&gt;UC displays HTTPS security errors.&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;

Import the certificate only into &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt;. Importing it into another certificate store can result in browser trust warnings.

&lt;/div&gt;
&lt;h2 id=&#34;configure-microsoft-edge&#34;&gt;Configure Microsoft Edge&lt;/h2&gt;
&lt;h3 id=&#34;step-1-open-the-certificate-manager-1&#34;&gt;Step 1: Open the Certificate Manager&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Open Microsoft Edge.&lt;/li&gt;
&lt;li&gt;In the address bar, enter: &lt;code&gt;edge://certificate-manager/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Local certificates&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Manage imported certificates from Windows&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-2-import-the-ca-certificate-1&#34;&gt;Step 2: Import the CA certificate&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Click the &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Import&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Browse&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;code&gt;/opt/vconsole/uc/certs/ca.crt&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Place all certificates in the following store&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Browse&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Finish&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Verify:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The import operation completes successfully.&lt;/li&gt;
&lt;li&gt;The certificate is listed in the Trusted Root Certification Authorities store.&lt;/li&gt;
&lt;li&gt;UC opens without browser trust warnings.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;success-1&#34;&gt;Success&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The UC login page loads successfully.&lt;/li&gt;
&lt;li&gt;The browser reports a secure connection.&lt;/li&gt;
&lt;li&gt;No trust or certificate warnings appear.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;failure-1&#34;&gt;Failure&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The browser displays certificate trust warnings.&lt;/li&gt;
&lt;li&gt;HTTPS connection errors occur.&lt;/li&gt;
&lt;li&gt;UC does not open through HTTPS without user intervention.&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;

Import the certificate only into &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt;. Importing the certificate into an incorrect store can result in browser trust warnings.

&lt;/div&gt;
&lt;h2 id=&#34;configure-mozilla-firefox&#34;&gt;Configure Mozilla Firefox&lt;/h2&gt;
&lt;p&gt;Mozilla Firefox maintains its own certificate store. You must import the CA certificate directly into Firefox.&lt;/p&gt;
&lt;h3 id=&#34;step-1-open-certificate-settings&#34;&gt;Step 1: Open Certificate Settings&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Open Mozilla Firefox.&lt;/li&gt;
&lt;li&gt;In the address bar, type &lt;code&gt;about:preferences#privacy&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Settings&lt;/strong&gt; and select &lt;strong&gt;Privacy and security&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Connection and software security&lt;/strong&gt; drop-down list, select &lt;strong&gt;Advanced settings&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Scroll to &lt;strong&gt;Certificates&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Manage Certificates&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-2-import-the-ca-certificate-2&#34;&gt;Step 2: Import the CA certificate&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Select the &lt;strong&gt;Authorities&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Import&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Browse to &lt;code&gt;/opt/vconsole/uc/certs/ca.crt&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Open&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Trust this CA to identify websites&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;OK&lt;/strong&gt; again to close the Certificate Manager.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Verify:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The certificate appears in the Authorities list.&lt;/li&gt;
&lt;li&gt;Firefox connects to UC without certificate warnings.&lt;/li&gt;
&lt;li&gt;The UC login page opens successfully.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;success-2&#34;&gt;Success&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Firefox establishes a secure HTTPS connection to UC.&lt;/li&gt;
&lt;li&gt;No certificate trust warnings appear.&lt;/li&gt;
&lt;li&gt;The UC login page loads successfully.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;failure-2&#34;&gt;Failure&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Firefox displays security warnings.&lt;/li&gt;
&lt;li&gt;Firefox reports that the issuer is not trusted.&lt;/li&gt;
&lt;li&gt;The UC login page does not load securely.&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;

Select &lt;strong&gt;Trust this CA to identify websites&lt;/strong&gt;. If you do not select this option, Firefox continues to display certificate trust warnings.

&lt;/div&gt;
&lt;h2 id=&#34;replace-the-default-ca-certificate-with-a-custom-certificate&#34;&gt;Replace the default CA certificate with a custom certificate&lt;/h2&gt;
&lt;p&gt;You can replace the default UC-generated CA certificate with a certificate issued by your organization&#39;s internal security team.&lt;/p&gt;
&lt;p&gt;Organizations commonly use custom certificates to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Comply with corporate security policies.&lt;/li&gt;
&lt;li&gt;Use certificates issued by an approved internal CA.&lt;/li&gt;
&lt;li&gt;Standardize certificate management across systems.&lt;/li&gt;
&lt;li&gt;Eliminate the need to trust product-generated certificates separately.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;file-naming-requirements&#34;&gt;File naming requirements&lt;/h3&gt;
&lt;p&gt;Use the same file names that UC expects. Replacing the default files while preserving the file names ensures that services continue to locate and use the certificates correctly.&lt;/p&gt;
&lt;h3 id=&#34;step-1-back-up-existing-certificates&#34;&gt;Step 1: Back up existing certificates&lt;/h3&gt;
&lt;p&gt;Create a backup of the existing certificate files before making changes.&lt;/p&gt;
&lt;h3 id=&#34;step-2-copy-the-custom-certificates&#34;&gt;Step 2: Copy the custom certificates&lt;/h3&gt;
&lt;p&gt;Copy the replacement certificate files to &lt;code&gt;/opt/vconsole/uc/certs&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;step-3-restart-uc-services&#34;&gt;Step 3: Restart UC services&lt;/h3&gt;
&lt;p&gt;Restart the services so that UC begins using the new certificates.&lt;/p&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;./scripts/service.sh start
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Services start successfully.&lt;/li&gt;
&lt;li&gt;UC is accessible through HTTPS.&lt;/li&gt;
&lt;li&gt;The browser trusts the new certificate chain.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;success-3&#34;&gt;Success&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The UC login page loads successfully.&lt;/li&gt;
&lt;li&gt;The certificate details display the new issuer.&lt;/li&gt;
&lt;li&gt;HTTPS connections succeed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;failure-3&#34;&gt;Failure&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Services fail to start.&lt;/li&gt;
&lt;li&gt;The browser displays certificate errors.&lt;/li&gt;
&lt;li&gt;HTTPS connections fail.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;verify-certificate-configuration&#34;&gt;Verify certificate configuration&lt;/h2&gt;
&lt;p&gt;After importing the certificate or replacing it with a custom certificate:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/mc/getting-started-with-mc/connecting-to-mc/&#34;&gt;Sign in to MC&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/mc/unified-console/connect-uc/&#34;&gt;Switch to UC&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Verify that the browser establishes an HTTPS connection without warnings.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;success-4&#34;&gt;Success&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;UC opens successfully.&lt;/li&gt;
&lt;li&gt;No trust warning appears.&lt;/li&gt;
&lt;li&gt;The browser indicates a secure connection.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;failure-4&#34;&gt;Failure&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The browser displays certificate warnings.&lt;/li&gt;
&lt;li&gt;The browser reports an untrusted issuer.&lt;/li&gt;
&lt;li&gt;The browser cannot establish a secure connection.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;ca-certificate-example&#34;&gt;CA certificate example&lt;/h2&gt;
&lt;p&gt;The UC certificate directory contains the following files:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/opt/vconsole/uc/certs
ca.crt
ca.key
bff.crt
bff.key
metadata.crt
metadata.key
sqlexec.crt
sqlexec.key
auth.crt
auth.key
ai.crt
ai.key
aiassist.crt
aiassist.key
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;certificate-architecture&#34;&gt;Certificate architecture&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ca.crt&lt;/code&gt; is the root CA certificate used by UC.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ca.key&lt;/code&gt; is the private key associated with the CA certificate.&lt;/li&gt;
&lt;li&gt;Service certificates such as &lt;code&gt;bff.crt&lt;/code&gt;, &lt;code&gt;auth.crt&lt;/code&gt;, and &lt;code&gt;ai.crt&lt;/code&gt; are signed by &lt;code&gt;ca.crt&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;All UC services rely on the same internal CA certificate.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;additional-information&#34;&gt;Additional information&lt;/h2&gt;
&lt;p&gt;You can generate certificates by using &lt;code&gt;generate-certs.sh&lt;/code&gt;. If UC runs on a cloud-hosted virtual machine, allow inbound traffic on the following ports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;5450&lt;/li&gt;
&lt;li&gt;8433&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These ports must be reachable for browser access and service communication.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Configure the UC port</title>
      <link>/en/mc/unified-console/configure-uc-port/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/configure-uc-port/</guid>
      <description>
        
        
        &lt;p&gt;This section provides information about how you can configure the UC port.&lt;/p&gt;
&lt;h2 id=&#34;about-the-uc-port&#34;&gt;About the UC port&lt;/h2&gt;
&lt;p&gt;A UC port is the network port that UC uses to accept incoming connections from web browsers. The UC port is defined by the port number in the &lt;code&gt;mc.uchostname&lt;/code&gt; setting in the &lt;code&gt;console.properties&lt;/code&gt; file. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mc.uchostname=https://uc-host.example.com:8433
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In this example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://uc-host.example.com&#34;&gt;https://uc-host.example.com&lt;/a&gt; is the UC host name.&lt;/li&gt;
&lt;li&gt;8433 is the UC port.&lt;/li&gt;
&lt;li&gt;UC accepts HTTPS connections on port 8433.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;configure-the-uc-port&#34;&gt;Configure the UC Port&lt;/h2&gt;
&lt;p&gt;Configure the UC port to ensure that UC can accept incoming connections without conflicting with other services running on the host.&lt;/p&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;Administrators configure the UC port during installation or when resolving network port conflicts. UC uses the port specified in the &lt;code&gt;mc.uchostname&lt;/code&gt; setting in the &lt;code&gt;console.properties&lt;/code&gt; file. After you configure the UC port and restart UC, users should be able to access UC through the configured URL.&lt;/p&gt;
&lt;h3 id=&#34;step-1-locate-the-configuration-file&#34;&gt;Step 1: Locate the configuration file&lt;/h3&gt;
&lt;p&gt;This step identifies the file that controls the UC endpoint and listening port.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why it matters&lt;/strong&gt; UC reads this setting at startup.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Configuration file&lt;/strong&gt; &lt;code&gt;/opt/vconsole/config/console.properties&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&#34;step-2-configure-the-uc-port&#34;&gt;Step 2: Configure the UC port&lt;/h3&gt;
&lt;p&gt;Edit the &lt;code&gt;mc.uchostname&lt;/code&gt; property and specify the required port number.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mc.uchostname=https://&amp;lt;host&amp;gt;:8433
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To change the port, update only the port number.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mc.uchostname=https://uc-host.example.com:8434
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Expected result&lt;/strong&gt; The URL contains the required host name and port number.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The URL format remains valid.&lt;/li&gt;
&lt;li&gt;The UC port is unique and available.&lt;/li&gt;
&lt;li&gt;Only the UC port number is changed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;step-3-restart-uc&#34;&gt;Step 3: Restart UC&lt;/h3&gt;
&lt;p&gt;Restart the UC service to apply the configuration change.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Success&lt;/strong&gt; UC starts normally and the login page loads on the configured UC port.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Failure&lt;/strong&gt; The browser displays connection refused, page unavailable errors, or the UC login page does not load.&lt;/p&gt;
&lt;h2 id=&#34;example-uc-port-in-mcuchostname&#34;&gt;Example UC port in mc.uchostname&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mc.uchostname=https://&amp;lt;host&amp;gt;:8433
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;valid-uc-port-range&#34;&gt;Valid UC port range&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Requirement&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Type&lt;/td&gt;
&lt;td&gt;Numeric only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Minimum&lt;/td&gt;
&lt;td&gt;1024&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maximum&lt;/td&gt;
&lt;td&gt;49151&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Provide only numeric identifiers for UC ports, as UC accepts only numeric values. UC rejects non-numeric values, negative values, values between 0 and 1023, and values above 49151.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example errors&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ERROR: port 80 in mc.uchostname is outside the usable range 1024-49151
ERROR: cannot start the service like this - refusing to start
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;use-different-ports-for-mc-and-uc&#34;&gt;Use different ports for MC and UC&lt;/h2&gt;
&lt;p&gt;Use separate ports for MC and UC because a port supports only one service at a time.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Example error&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ERROR: UC BFF port 5450 conflicts with the MC port (console.port=5450)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Resolution&lt;/strong&gt; Configure a unique port in &lt;code&gt;mc.uchostname&lt;/code&gt; that differs from &lt;code&gt;console.port&lt;/code&gt; and restart UC.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Connect to Unified Console</title>
      <link>/en/mc/unified-console/connect-uc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/connect-uc/</guid>
      <description>
        
        
        &lt;p&gt;This section provides information about how you can access the Unified Console from your environment.&lt;/p&gt;
&lt;h2 id=&#34;prerequisistes&#34;&gt;Prerequisistes&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Ensure that MC is installed and accessible.&lt;/li&gt;
&lt;li&gt;Ensure that you have valid MC user credentials.&lt;/li&gt;
&lt;li&gt;Use a &lt;a href=&#34;../../../en/supported-platforms/server-and-mc/&#34;&gt;supported web browser&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;connect-to-unified-console&#34;&gt;Connect to Unified Console&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open a &lt;a href=&#34;../../../en/supported-platforms/server-and-mc/&#34;&gt;supported web browser&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the address bar, enter the URL of MC installation using either the host IP address or hostname, along with the configured MC port.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;IP address - https://ip-address:mc-port/ (Example: https://10.20.30.40:5450/) 

&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;pre&gt;&lt;code&gt; By default, `mc-port` is 5450. Alternatively, you can also enter a customized port number.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Host name - https://hostname:mc-port/ (Example: https://hostname:5450/)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the MC logon dialog, enter your username and password and click &lt;strong&gt;Log in&lt;/strong&gt;.&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;

&lt;pre&gt;&lt;code&gt; If you do not have an MC username/password, contact your administrator.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;user profile&lt;/strong&gt; icon.
The user account menu is displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Switch to Unified Console&lt;/strong&gt;.
&lt;img src=&#34;../../../images/uc/UC-switch.png&#34; alt=&#34;Switch to Unified console&#34;&gt;
The Unified console is displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Get started with Unified Console</title>
      <link>/en/mc/unified-console/getting-started-with-uc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/getting-started-with-uc/</guid>
      <description>
        
        
        &lt;p&gt;Unified Console (UC) introduces a centralized, AI-enabled experience for managing and interacting with Vertica databases.&lt;/p&gt;
&lt;h2 id=&#34;uc-ui-tour&#34;&gt;UC UI tour&lt;/h2&gt;
&lt;p&gt;After logging in to MC and switching to UC, the home page appears. This page presents all accessible databases as interactive widgets. Both AI-enabled and non-AI-enabled databases are visible.&lt;/p&gt;
&lt;p&gt;&lt;img src=&#34;../../../images/uc/analytics-unified-console.png&#34; alt=&#34;UC user interface&#34;&gt;&lt;/p&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Option&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
a&lt;/td&gt; 

&lt;td &gt;
&lt;strong&gt;Home&lt;/strong&gt;: Displays the UC home page with database access options.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
b&lt;/td&gt; 

&lt;td &gt;
&lt;strong&gt;Settings&lt;/strong&gt;: Displays the option to set AI preferences for the database.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
c&lt;/td&gt; 

&lt;td &gt;
&lt;strong&gt;&amp;gt;Open the SQL editor&lt;/strong&gt;: Displays the SQL editor.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
d&lt;/td&gt; 

&lt;td &gt;
&lt;strong&gt;Help&lt;/strong&gt;: Displays Unified console user documentation.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
e&lt;/td&gt; 

&lt;td &gt;
&lt;strong&gt;View profile&lt;/strong&gt;: Displays the user profile along with options to switch and sign out of MC.&lt;/td&gt;&lt;/tr&gt;

&lt;/table&gt;


      </description>
    </item>
    
    <item>
      <title>Mc: Configure AI preferences</title>
      <link>/en/mc/unified-console/configure-ai-preferences/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/configure-ai-preferences/</guid>
      <description>
        
        
        &lt;p&gt;AI preferences allow you to configure the large language model (LLM), provider, connection details, access permissions, and MCP server in UC. These preferences determine how AI features are configured and made available to users and databases. This section provides information about how you can configure the AI preferences in UC.&lt;/p&gt;
&lt;h2 id=&#34;enable-ai-assistance&#34;&gt;Enable AI Assistance&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;Enable AI Assistance&lt;/code&gt; banner appears only when none of the available databases are AI enabled. You can enable AI for a database by configuring an AI model. Click &lt;strong&gt;Enable&lt;/strong&gt; in the banner to configure or edit the AI preferences. If at least one database in the system is AI enabled, this banner is not displayed.&lt;/p&gt;
&lt;p&gt;&lt;a name=&#34;aipref&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;configure-or-edit-ai-preferences&#34;&gt;Configure or edit AI preferences&lt;/h2&gt;
&lt;p&gt;You can configure or edit the AI preferences in UC to make AI features available to users.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Log in to UC.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Choose &lt;strong&gt;AI preferences&lt;/strong&gt; under &lt;strong&gt;Settings&lt;/strong&gt; in the home page.
The AI preferences page opens and displays the following information:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Host - The host name.&lt;/li&gt;
&lt;li&gt;Model - The large language model (LLM) that is used.&lt;/li&gt;
&lt;li&gt;Creator - The MC role who created the LLM.&lt;/li&gt;
&lt;li&gt;Enabled for - The database for which the LLM is enabled.&lt;/li&gt;
&lt;li&gt;Status - The current status of the LLM.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hover over &lt;strong&gt;⋮&lt;/strong&gt; and select &lt;strong&gt;Edit&lt;/strong&gt;. The following model details display:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Model provider&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Model name&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;URL of the service hosting the model&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Region&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Secret access key&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;API key&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Who should have access&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Which databases can access this&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MCP status&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Model provider&lt;/strong&gt; list, choose the AI model provider that creates, trains, maintains, and hosts AI models. You can choose from &lt;strong&gt;Anthropic&lt;/strong&gt;, &lt;strong&gt;Google Gemini&lt;/strong&gt;, and &lt;strong&gt;Amazon Bedrock&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Model name&lt;/strong&gt; list, choose the specific LLM to use for inference.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;URL of the service hosting the model&lt;/strong&gt; field, enter the root network address used to send requests to an AI service&#39;s API. Use the endpoint URL provided in your selected AI provider&#39;s documentation or API configuration page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Region&lt;/strong&gt; field, choose the appropriate service region.

&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;pre&gt;&lt;code&gt;   This is applicable only if your provider is Amazon Bedrock.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Secret access key&lt;/strong&gt; field, enter the credential (secret key) required for secure authentication.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;API key&lt;/strong&gt; field, enter the key used to authenticate API requests.

&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;pre&gt;&lt;code&gt;   If your provider is Amazon Bedrock, enter the **Access Key Id**. Enter the **API key** only if you are using a provider other than Amazon Bedrock.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Who should have access&lt;/strong&gt; area, choose the required users depending on the role played by the user in the organization. For more information, see &lt;a href=&#34;../../../en/mc/users-roles-and-privileges/config-privileges/&#34;&gt;Configuration roles in MC&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Which databases can access this&lt;/strong&gt; area, choose the databases that can access the LLM.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;MCP status&lt;/strong&gt; to view the MCP client configuration. For more information, see &lt;a href=&#34;../../../en/mc/unified-console/configure-mcp-connection/&#34;&gt;Configure the MCP client&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;add-a-model&#34;&gt;Add a model&lt;/h2&gt;
&lt;p&gt;You can add a model from the AI preferences.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Login to UC.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;AI preferences&lt;/strong&gt; under &lt;strong&gt;Settings&lt;/strong&gt; in the home page.
The AI preferences page opens.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;+Add new model&lt;/strong&gt;.
Follow steps 4-13 in &lt;a href=&#34;#aipref&#34;&gt;Configure or edit AI preferences&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: MCP Token generation and configuration</title>
      <link>/en/mc/unified-console/mcp-server-token-config/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/mcp-server-token-config/</guid>
      <description>
        
        
        &lt;p&gt;Vertica AI Assist authenticates requests to the MCP server using Jason Web Tokens (JWTs). The system uses these tokens to authenticate all MCP requests during the session.&lt;/p&gt;
&lt;h2 id=&#34;mcp-token-generation-and-configuration&#34;&gt;MCP token generation and configuration&lt;/h2&gt;
&lt;p&gt;This section helps administrators generate, configure, and validate MCP tokens for Vertica AI Assist.&lt;/p&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;MCP tokens are Jason Web Tokens (JWTs) used by Vertica AI Assist to authenticate requests to the MCP server.&lt;/p&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;Before configuring tokens, perform these steps on a Vertica node:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../en/admin/vcluster/vcluster-ui/&#34;&gt;Create a database from VCluster UI&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Start the MCP server. During its initial startup, the MCP server creates &lt;code&gt;/opt/vertica/config/mcp_server.yaml&lt;/code&gt; with the default setting &lt;code&gt;token_api_enabled: false&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;initial-mcp-administrator-token-setup&#34;&gt;Initial MCP administrator token setup&lt;/h2&gt;
&lt;p&gt;For security reasons, manually generate the first administrator token on a Vertica node. This ensures that only an authorized administrator can create and receive the initial token.&lt;/p&gt;
&lt;h3 id=&#34;step-1-generate-the-initial-administrator-token&#34;&gt;Step 1: Generate the initial administrator token&lt;/h3&gt;
&lt;p&gt;Run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/opt/vertica/bin/mcp_server --generate-token 
--user &amp;lt;db_user&amp;gt; 
--dbname &amp;lt;database_name&amp;gt; 
--dbpass &amp;#39;&amp;lt;password&amp;gt;&amp;#39; 
--description &amp;#34;UMC Integration Token&amp;#34; 
--expiration-days &amp;lt;N&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Expected result:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;User ID:      mcp_superuser
DB User:      release
Expires:      2027-06-05 02:34:43 EDT
Valid Days:   365 days
Roles:        [admin]
Storage:      /opt/vertica/config/mcp_server/userdb
JWT Token:    &amp;lt;generated JWT&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Store this JWT in a secure location. Vertica AI Assist uses it to generate user access tokens.&lt;/p&gt;
&lt;h2 id=&#34;enable-the-mcp-token-generation-api&#34;&gt;Enable the MCP token generation API&lt;/h2&gt;
&lt;p&gt;The token generation endpoint is disabled by default. To enable it:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stop the MCP server.
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt; /opt/vertica/bin/manage_vcluster_server.sh stop mcp_server
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;Open &lt;code&gt;/opt/vertica/config/mcp_server.yaml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;code&gt;token_api_enabled&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Save the file.&lt;/li&gt;
&lt;li&gt;Restart the MCP server.
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt; /opt/vertica/bin/manage_vcluster_server.sh start mcp_server
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;After you enable the endpoint, Vertica AI Assist can request user-specific access tokens from the MCP server.&lt;/p&gt;
&lt;h2 id=&#34;configure-the-mcp-administrator-jwt&#34;&gt;Configure the MCP administrator JWT&lt;/h2&gt;
&lt;p&gt;To generate user access tokens, configure the MCP administrator JWT for Vertica AI Assist.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open &lt;code&gt;/opt/vconsole/uc/config/dbconfigs/&amp;lt;cluster&amp;gt;-&amp;lt;database&amp;gt;.yaml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Locate &lt;code&gt;jwt_key&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Copy the generated administrator JWT to &lt;code&gt;jwt_key&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Save the configuration file.&lt;/li&gt;
&lt;/ol&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;

If &lt;code&gt;jwt_key&lt;/code&gt; is missing or invalid, users who attempt to use Vertica AI Assist receive an authentication error.

&lt;/div&gt;
&lt;h2 id=&#34;token-scoping-and-role-based-access&#34;&gt;Token scoping and role-based access&lt;/h2&gt;
&lt;p&gt;Vertica AI Assist generates user-specific access tokens. Each generated token is scoped to the user&#39;s MC role, ensuring that users can perform only the operations they are authorized to perform.&lt;/p&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
MC Role&lt;/th&gt; 

&lt;th &gt;
MCP Role&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;



MC_SUPER, MC_ADMIN, DB_DBA&lt;/td&gt; 

&lt;td &gt;


Admin&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
MC_VOD&lt;/td&gt; 

&lt;td &gt;


Operator&lt;/td&gt; 

&lt;td &gt;

&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
MC_IT, MC_NONE, all other roles&lt;/td&gt; 

&lt;td &gt;

Viewer&lt;/td&gt;&lt;/tr&gt;

&lt;/table&gt;

&lt;h3 id=&#34;mcp-role-capabilities&#34;&gt;MCP role capabilities&lt;/h3&gt;
&lt;p&gt;MCP roles and their capabilities are summarized in this table.&lt;/p&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Capability&lt;/th&gt; 

&lt;th &gt;
Admin&lt;/th&gt; 

&lt;th &gt;
Operator&lt;/th&gt; 

&lt;th &gt;
Viewer&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Execute SQL queries&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;



✓&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
View schemas and catalog&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;



✓&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
View cluster status&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;



✓&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Start/Stop cluster&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;



✓&lt;/td&gt; 

&lt;td &gt;


x&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Scale or configure cluster&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;



✓&lt;/td&gt; 

&lt;td &gt;


x&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Create/manage MCP users&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;



x&lt;/td&gt; 

&lt;td &gt;


x&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Job queue operations&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt; 

&lt;td &gt;



✓&lt;/td&gt; 

&lt;td &gt;


✓&lt;/td&gt;&lt;/tr&gt;

&lt;/table&gt;

&lt;h3 id=&#34;role-summary&#34;&gt;Role summary&lt;/h3&gt;
&lt;p&gt;The summary of MCP roles is given below.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;#admin&#34;&gt;Admin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#op&#34;&gt;Operator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;#view&#34;&gt;Viewer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;admin&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4 id=&#34;admin&#34;&gt;Admin&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;Admin&lt;/code&gt; provides unrestricted MCP access, including the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cluster administration&lt;/li&gt;
&lt;li&gt;Security management&lt;/li&gt;
&lt;li&gt;Backup and restore&lt;/li&gt;
&lt;li&gt;Database administration&lt;/li&gt;
&lt;li&gt;User management&lt;/li&gt;
&lt;li&gt;All MCP tools&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;op&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4 id=&#34;operator&#34;&gt;Operator&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;Operator&lt;/code&gt; provides operational capabilities, including the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cluster monitoring&lt;/li&gt;
&lt;li&gt;Start and stop the cluster&lt;/li&gt;
&lt;li&gt;Query management&lt;/li&gt;
&lt;li&gt;Job queue operations&lt;/li&gt;
&lt;li&gt;Performance troubleshooting&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Operators cannot modify cluster configuration or manage users. 

&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;pre&gt;&lt;code&gt;   Assign the `Operator` role only to trusted users as it allows cluster start and stop operations.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;a name=&#34;view&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4 id=&#34;viewer&#34;&gt;Viewer&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;Viewer&lt;/code&gt; provides read-only access to monitoring information, including the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Database schemas&lt;/li&gt;
&lt;li&gt;User sessions&lt;/li&gt;
&lt;li&gt;System metrics&lt;/li&gt;
&lt;li&gt;Cluster status&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Viewers cannot perform administrative or operational changes.&lt;/p&gt;
&lt;h2 id=&#34;token-lifecycle&#34;&gt;Token lifecycle&lt;/h2&gt;
&lt;p&gt;Vertica AI Assist automatically manages user access tokens throughout the user session.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;User tokens remain valid for 1 day.&lt;/li&gt;
&lt;li&gt;Tokens are automatically refreshed while the session is active.&lt;/li&gt;
&lt;li&gt;Tokens are permanently deleted when the user logs out.&lt;/li&gt;
&lt;li&gt;No manual token management is required.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;permission-enforcement&#34;&gt;Permission enforcement&lt;/h3&gt;
&lt;p&gt;Vertica AI Assist enforces the permissions associated with the MC role of the authenticated user. If a user requests an action that exceeds their assigned permissions, Vertica AI Assist:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Rejects the request.&lt;/li&gt;
&lt;li&gt;Informs the user that they do not have the required permissions to perform the action.&lt;/li&gt;
&lt;li&gt;Does not execute any unauthorized action.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This behavior helps ensure that users can perform only the actions permitted by their assigned role.&lt;/p&gt;
&lt;h3 id=&#34;compatibility-with-earlier-vertica-versions&#34;&gt;Compatibility with earlier Vertica versions&lt;/h3&gt;
&lt;p&gt;Per-user access tokens are available in Vertica 26.3 and later versions. When Vertica AI Assist connects to an earlier Vertica version, it automatically uses a compatible authentication method. For Vertica versions earlier than 26.3:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The user token generation endpoint is not available.&lt;/li&gt;
&lt;li&gt;Vertica AI Assist automatically detects the Vertica version.&lt;/li&gt;
&lt;li&gt;Vertica AI Assist uses a shared administrator connection for compatibility.&lt;/li&gt;
&lt;li&gt;No additional configuration is required.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This fallback behavior allows Vertica AI Assist to operate with earlier Vertica versions and automatically use per-user access tokens in Vertica 26.3 and later.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Configure the MCP client</title>
      <link>/en/mc/unified-console/configure-mcp-connection/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/configure-mcp-connection/</guid>
      <description>
        
        
        &lt;p&gt;This section provides information about how you can configure the MCP client to enable secure communication between Vertica AI Assist and the Vertica environment.&lt;/p&gt;
&lt;h2 id=&#34;about-the-mcp-client&#34;&gt;About the MCP client&lt;/h2&gt;
&lt;p&gt;The MCP client is a secure bridge that connects Vertica AI Assist to Vertica ensuring that database credentials are never exposed to the LLM. It provides:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A secure, controlled interface between Vertica AI Assist and Vertica.&lt;/li&gt;
&lt;li&gt;Support for standardized database operations such as query execution, schema retrieval, and EXPLAIN plans.&lt;/li&gt;
&lt;li&gt;Authentication using JWT tokens, along with connection pooling and secure handling of user credentials.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;pre-requisites&#34;&gt;Pre-requisites&lt;/h2&gt;
&lt;p&gt;Before configuring the MCP client, ensure that the MCP server is installed and configured. For information about installing and configuring the MCP server, see &lt;a href=&#34;../../../en/admin/mcp-server/&#34;&gt;MCP server&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;configure-the-mcp-client&#34;&gt;Configure the MCP client&lt;/h2&gt;
&lt;p&gt;Configuring the MCP client enables Vertica AI Assist to securely access databases and perform operations such as natural language to SQL (NL2SQL) conversion, query optimization, and query explanation.
The configuration process establishes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Secure AI-driven database access&lt;/li&gt;
&lt;li&gt;Support for multiple database connections&lt;/li&gt;
&lt;li&gt;Schema-aware SQL generation&lt;/li&gt;
&lt;li&gt;Authenticated and auditable operations 
After configuring the MCP serve, use the configuration script to supply the required connection details.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;configuration-script&#34;&gt;Configuration script&lt;/h3&gt;
&lt;p&gt;Configure the MCP client using the &lt;strong&gt;mcp_configure.sh&lt;/strong&gt; script located in &lt;code&gt;/opt/vconsole/uc/scripts&lt;/code&gt;. This script prompts for the required inputs and generates a YAML configuration file (a human-readable format for configuration data) in &lt;code&gt;config/dbconfigs/&lt;/code&gt;. The MCP client uses this file to establish a connection with the MCP server for AI operations.&lt;/p&gt;
&lt;p&gt;Gather the following information before you run the configuration script:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;JWT Token — Authentication token for the MCP server. Generate this token on the Vertica host where the MCP server is installed. For information about obtaining JWT tokens, see &lt;a href=&#34;../../../en/admin/mcp-server/&#34;&gt;MCP server&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;MCP Server Hostname or IP address — The system on which the MCP server is running. Identify the host by checking the node that is running MCP.&lt;/li&gt;
&lt;li&gt;MCP Port — The port used by the MCP server. The default port is 8667.&lt;/li&gt;
&lt;li&gt;Cluster and Database Information — Obtain this information from the MC View infrastructure page:
&lt;ul&gt;
&lt;li&gt;MC cluster name&lt;/li&gt;
&lt;li&gt;Vertica database name&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;run-the-configuration-script&#34;&gt;Run the configuration script&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to the scripts directory.
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;cd /opt/vconsole/uc/scripts
&lt;/code&gt;&lt;/pre&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;

&lt;pre&gt;&lt;code&gt;   Run the configuration script only from this directory.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Run the configuration script.
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;./mcp_configure.sh
&lt;/code&gt;&lt;/pre&gt;The configuration script prompts you to enter the JWT token, MCP server hostname or IP address, MCP port, cluster, and database information.&lt;/li&gt;
&lt;li&gt;Do one of the following:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Yes&lt;/strong&gt; - The configuration script generates a configuration file named &lt;strong&gt;&amp;lt;cluster_name&amp;gt;_&amp;lt;db_name&amp;gt;_conf.yaml&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No&lt;/strong&gt; - The configuration script prompts you to re-enter the MCP configuration details.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Exit&lt;/strong&gt; -  The configuration script exits without creating a configuration file.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Enable AI for other databases by repeating these steps for each database.&lt;/p&gt;
&lt;h3 id=&#34;post-configuration&#34;&gt;Post configuration&lt;/h3&gt;
&lt;p&gt;After completing the configuration:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Restart the AI service.&lt;/li&gt;
&lt;li&gt;Verify connectivity by checking the log file &lt;strong&gt;logs/ai.log&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Look for the message &lt;code&gt;MCP connected&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;view-the-mcp-server-status&#34;&gt;View the MCP server status&lt;/h2&gt;
&lt;p&gt;To view the MCP server status:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Choose &lt;strong&gt;AI preferences&lt;/strong&gt; under &lt;strong&gt;Settings&lt;/strong&gt; in the home page.
The AI preferences page opens and displays the following information:
&lt;ul&gt;
&lt;li&gt;Host - The host name.&lt;/li&gt;
&lt;li&gt;Model - The large language model (LLM) that is used.&lt;/li&gt;
&lt;li&gt;Creator - The person who created the LLM.&lt;/li&gt;
&lt;li&gt;Enabled for - The database for which the LLM is enabled.&lt;/li&gt;
&lt;li&gt;Status - The current status of the LLM.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Hover over &lt;strong&gt;⋮&lt;/strong&gt; and select &lt;strong&gt;Edit&lt;/strong&gt;. All the details of the LLM are displayed. 
The MCP server status can be one of the following:&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Active&lt;/strong&gt; - Indicates successful connection between the MCP server and the Vertica database.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Inactive&lt;/strong&gt; - Indicates when the connection could not be established due to errors. The MCP server might be &lt;a href=&#34;#inactive&#34;&gt;inactive&lt;/a&gt; due to one of these reasons:
&lt;ul&gt;
&lt;li&gt;Invalid Token&lt;/li&gt;
&lt;li&gt;Token Expired&lt;/li&gt;
&lt;li&gt;MCP Server is not active&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Not supported&lt;/strong&gt; - Indicates that the Vertica database version is below 26.1, which is not supported by MCP.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;inactive&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;troubleshooting-mcp-server-in-inactive-status&#34;&gt;Troubleshooting MCP server in inactive status&lt;/h3&gt;
&lt;p&gt;The MCP server can be in &lt;strong&gt;Inactive&lt;/strong&gt; status due to one of the following issues:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Missing or invalid configuration&lt;/p&gt;
&lt;p&gt;The YAML configuration file present in &lt;code&gt;config/dbconfigs/&lt;/code&gt; may be missing or contain incorrect cluster or database details. Re-run the configuration script with correct values.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expired or invalid JWT token&lt;/p&gt;
&lt;p&gt;The token may have expired or been entered incorrectly. Generate a new token on the Vertica server and run the script with the new token generated.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;MCP server not running&lt;/p&gt;
&lt;p&gt;Ensure that the &lt;a href=&#34;../../../en/admin/mcp-server/&#34;&gt;MCP server&lt;/a&gt; is running.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This configuration ensures that Vertica AI Assist can safely interact with your database environment while maintaining enterprise-grade security, traceability, and performance.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Vertica AI Assist</title>
      <link>/en/mc/unified-console/vertica-ai-assist/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/vertica-ai-assist/</guid>
      <description>
        
        
        &lt;p&gt;Vertica AI Assist is a natural language interface that enables you to interact with your database using AI capabilities. It helps you generate, execute, and optimize SQL queries without requiring advanced knowledge of SQL.&lt;/p&gt;
&lt;p&gt;With Vertica AI Assist, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce the time spent writing repetitive SQL queries.&lt;/li&gt;
&lt;li&gt;Generate, execute, and optimize SQL queries.&lt;/li&gt;
&lt;li&gt;Improve productivity when working with databases across teams.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;key-capabilities&#34;&gt;Key capabilities&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Explain plan visualization: Automatically renders graphical representations of optimized explain plans, mapping complex operators and costs in an intuitive UI.&lt;/li&gt;
&lt;li&gt;Metadata-driven optimization: Enhances backend intelligence by incorporating real-time Vertica metadata—such as table statistics, projections, and resource usage—directly into optimization prompts for greater accuracy.&lt;/li&gt;
&lt;li&gt;Standardized optimization output: Delivers consistent, structured analysis comparing query performance before and after optimization, including clear rationales for every step.&lt;/li&gt;
&lt;li&gt;LLM-based optimization descriptions: Generates clear, human-readable summaries and tooltips, making technical optimization data accessible for all skill levels. Refines, enhances, and standardizes schema, table, and column descriptions with preferred LLMs to improve data discoverability and increase the accuracy of queries and insights generated.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Rather than manually interpreting execution plans, reviewing profiling data, or writing complex queries from scratch, you can ask Vertica AI Assist to analyze, explain, recommend, and generate content using plain-language prompts.AI-generated responses may vary in accuracy. Review all recommendations before applying them to production environments. The following models are supported:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Anthropic Claude&lt;/li&gt;
&lt;li&gt;Google Gemini&lt;/li&gt;
&lt;li&gt;AWS Bedrock&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;prerequisites&#34;&gt;Prerequisites&lt;/h2&gt;
&lt;p&gt;Configure the MCP client. Configuring the MCP client enables Vertica AI Assist to access databases and perform operations such as natural language to SQL (NL2SQL) conversion, query optimization, and query explanation. For information about configuring the MCP client, see &lt;a href=&#34;../../../en/mc/unified-console/configure-mcp-connection/#&#34;&gt;Configure the MCP client&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;get-started&#34;&gt;Get started&lt;/h3&gt;
&lt;p&gt;To get started with Vertica AI Assist:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the SQL editor, do one of the following:
&lt;ul&gt;
&lt;li&gt;Enter a SQL query or press Ctrl + I keys to generate a query using AI.
&amp;lt;--or--&amp;gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Vertica AI Assist&lt;/strong&gt; at the top.
The list of available LLMs is displayed below the &lt;strong&gt;Vertica AI Assist&lt;/strong&gt; label.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;From the list of LLMs, choose an LLM. &lt;br&gt;
If you are using Vertica AI Assist for the first time, a legal disclaimer is displayed.&lt;/li&gt;
&lt;li&gt;Choose &lt;strong&gt;Don&#39;t show this message again&lt;/strong&gt; and click &lt;strong&gt;Agree and continue&lt;/strong&gt;.
A message &lt;code&gt;Hi! I&#39;m Vertica AI Assist. How can I help you today?&lt;/code&gt; is displayed.&lt;/li&gt;
&lt;li&gt;Type your request in the field and click &lt;strong&gt;Enter&lt;/strong&gt;.
Vertica AI Assist analyzes and displays the results of your query. For example, enter &lt;code&gt;Select * from nodes&lt;/code&gt;. Vertica AI Assist analyzes this query and displays the results.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;work-with-vertica-ai-assist&#34;&gt;Work with Vertica AI Assist&lt;/h3&gt;
&lt;p&gt;Depending on your objective, you can view or analyze data, ask Vertica AI Assist to generate SQL, analyze queries, explain execution behavior, ask questions and obtain answers related to Vertica, or create documentation.&lt;/p&gt;
&lt;h3 id=&#34;generate-sql-queries&#34;&gt;Generate SQL queries&lt;/h3&gt;
&lt;p&gt;Use Vertica AI Assist when you know the information you need but don&#39;t want to write the SQL query yourself. For example, to find the top 10 customers by revenue in the last quarter, describe the request in natural language, and Vertica AI Assist generates the SQL query for you.&lt;/p&gt;
&lt;h3 id=&#34;example-prompts&#34;&gt;Example prompts&lt;/h3&gt;
&lt;p&gt;Use these sample prompts to generate SQL queries with Vertica AI Assist.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Generate a sql query for duplicate emails in the users table.&lt;/li&gt;
&lt;li&gt;Show the top 10 customers by revenue this month.&lt;/li&gt;
&lt;li&gt;Count failed jobs by day for the last 30 days.&lt;/li&gt;
&lt;li&gt;Show daily active users for the last 14 days grouped by region.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;results&#34;&gt;Results&lt;/h3&gt;
&lt;p&gt;Vertica AI Assist generates:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Ready-to-run SQL statements&lt;/li&gt;
&lt;li&gt;Suggestions for filters, sorting, grouping, and limits&lt;/li&gt;
&lt;li&gt;Alternative query approaches when applicable&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;best-practices&#34;&gt;Best practices&lt;/h3&gt;
&lt;p&gt;Provide as much context as possible, including:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Table names&lt;/li&gt;
&lt;li&gt;Schema names&lt;/li&gt;
&lt;li&gt;Date ranges&lt;/li&gt;
&lt;li&gt;Filter criteria&lt;/li&gt;
&lt;li&gt;Sorting requirements&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Example:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Instead of&lt;/th&gt; 

&lt;th &gt;
Use&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Show daily active users for the last 14 days.&lt;/td&gt; 

&lt;td &gt;
Show daily active users for the last 14 days from analytics.events, include only the mobile platform, grouped by region, and ordered by date ascending.&lt;/td&gt;&lt;/tr&gt;

&lt;/table&gt;
&lt;/p&gt;
&lt;h3 id=&#34;analyze-and-optimize-sql-queries&#34;&gt;Analyze and Optimize SQL queries&lt;/h3&gt;
&lt;p&gt;Use Vertica AI Assist to understand query performance and identify opportunities for improvement.&lt;/p&gt;
&lt;h3 id=&#34;example-prompts-1&#34;&gt;Example prompts&lt;/h3&gt;
&lt;p&gt;Use these sample prompts to optimize SQL queries with Vertica AI Assist.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Why is this query slow?&lt;/li&gt;
&lt;li&gt;Suggest a faster version of this query.&lt;/li&gt;
&lt;li&gt;What can I do to improve this SQL statement?&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;optimization-analysis&#34;&gt;Optimization analysis&lt;/h2&gt;
&lt;p&gt;When Vertica AI Assist analyzes a query, it generates optimization notes that summarize:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Query execution characteristics&lt;/li&gt;
&lt;li&gt;Potential bottlenecks&lt;/li&gt;
&lt;li&gt;Performance observations&lt;/li&gt;
&lt;li&gt;Recommended improvements&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Recommendations may include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Query rewrites&lt;/li&gt;
&lt;li&gt;Improved filtering strategies&lt;/li&gt;
&lt;li&gt;Statistics-related suggestions&lt;/li&gt;
&lt;li&gt;Projection optimization guidance&lt;/li&gt;
&lt;li&gt;Reduced data retrieval through column selection&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For example, replacing &lt;code&gt;SELECT * FROM sales;&lt;/code&gt; with an explicit column such as &lt;code&gt;SELECT REGION FROM sales&lt;/code&gt; reduces unnecessary data retrieval when only specific columns are required.&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;

&lt;pre&gt;&lt;code&gt;Vertica AI Assist optimizes all SQL queries except DDL and DML queries.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;p&gt;To optimize your SQL queries:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the SQL editor, do one of the following:
&lt;ul&gt;
&lt;li&gt;Enter a SQL query or press Ctrl + I keys to generate a SQL query with AI.
&amp;lt;--or--&amp;gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Vertica AI Assist&lt;/strong&gt; at the top.
The list of available LLMs is displayed below the &lt;strong&gt;Vertica AI Assist&lt;/strong&gt; label.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Select the query.&lt;/li&gt;
&lt;li&gt;Hover over the options and choose &lt;strong&gt;Optimize with AI&lt;/strong&gt;.
The final optimized query with improvements and the summary of the optimization are displayed in the Vertica AI Assist window. Vertica AI Assist optimizes the SQL query and processes the query results quicker than the original query specified.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;applying-recommendations&#34;&gt;Applying recommendations&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Review the suggested improvements.&lt;/li&gt;
&lt;li&gt;Determine whether they meet your business requirements.&lt;/li&gt;
&lt;li&gt;Modify the query if appropriate.&lt;/li&gt;
&lt;li&gt;Re-run the query and compare performance results.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;understand-query-execution&#34;&gt;Understand query execution&lt;/h3&gt;
&lt;p&gt;Vertica AI Assist can analyze query execution information and explain how Vertica processes a query.&lt;/p&gt;
&lt;h3 id=&#34;example-prompts-2&#34;&gt;Example prompts&lt;/h3&gt;
&lt;p&gt;Use these sample prompts to analyze query execution information in Vertica AI Assist.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Explain this plan in simple terms.&lt;/li&gt;
&lt;li&gt;Which join is expensive here?&lt;/li&gt;
&lt;li&gt;Where is most of the execution time spent?&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;explain-queries-with-ai&#34;&gt;Explain queries with AI&lt;/h2&gt;
&lt;p&gt;You can get detailed information about an SQL query using the &lt;strong&gt;Explain with AI&lt;/strong&gt; option.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In the SQL editor, do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enter a SQL query or press Ctrl + I keys to generate a SQL query with AI.
&amp;lt;--or--&amp;gt;&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Vertica AI Assist&lt;/strong&gt; at the top.
The list of available LLMs is displayed below the &lt;strong&gt;Vertica AI Assist&lt;/strong&gt; label.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hover over the options and choose &lt;strong&gt;Explain with AI&lt;/strong&gt;.
Review these insights:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Execution plan&lt;/li&gt;
&lt;li&gt;Joins and functions&lt;/li&gt;
&lt;li&gt;Performance characteristics&lt;/li&gt;
&lt;li&gt;Optimization recommendations&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;

&lt;pre&gt;&lt;code&gt;    Vertica AI Assist explains and provides insights for all SQL queries except DDL and DML queries.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;execution-insights&#34;&gt;Execution insights&lt;/h3&gt;
&lt;p&gt;Vertica AI Assist explains:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tables and views accessed&lt;/li&gt;
&lt;li&gt;Join operations&lt;/li&gt;
&lt;li&gt;Query complexity&lt;/li&gt;
&lt;li&gt;Statistics availability&lt;/li&gt;
&lt;li&gt;Parallel execution&lt;/li&gt;
&lt;li&gt;Resource utilization&lt;/li&gt;
&lt;li&gt;Internal projections used&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;key-observations&#34;&gt;Key observations&lt;/h3&gt;
&lt;p&gt;The response includes a summary of important findings, such as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Join efficiency&lt;/li&gt;
&lt;li&gt;Statistics status&lt;/li&gt;
&lt;li&gt;Resource consumption&lt;/li&gt;
&lt;li&gt;Query complexity&lt;/li&gt;
&lt;li&gt;Potential performance risks&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These observations help identify if additional investigation or optimization may be beneficial.&lt;/p&gt;
&lt;h3 id=&#34;review-profile-summary-results&#34;&gt;Review profile summary results&lt;/h3&gt;
&lt;p&gt;When optimization analysis is performed, Vertica AI Assist presents a &lt;strong&gt;Profile Summary&lt;/strong&gt; that compares the current query profile with an optimized profile. The &lt;strong&gt;Profile Summary&lt;/strong&gt; helps determine whether recommended changes are likely to improve performance.&lt;/p&gt;
&lt;h3 id=&#34;comparing-profiles&#34;&gt;Comparing profiles&lt;/h3&gt;
&lt;p&gt;Review the following columns:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Current Value&lt;/strong&gt;: Metrics from the original query execution&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Optimized Value&lt;/strong&gt;: Predicted metrics for the recommended query&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The available metrics are summarized in this table.

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Metric&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Duration&lt;/td&gt; 

&lt;td &gt;
Total query execution time&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Status&lt;/td&gt; 

&lt;td &gt;
Query completion status&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Start Time&lt;/td&gt; 

&lt;td &gt;
Query start time&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
End Time&lt;/td&gt; 

&lt;td &gt;
Query completion time&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Queue Time&lt;/td&gt; 

&lt;td &gt;
Time spent waiting for resources&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Queue Time&lt;/td&gt; 

&lt;td &gt;
Time spent waiting for resources&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Nodes Involved&lt;/td&gt; 

&lt;td &gt;
Number of participating nodes&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
Cost (EXPLAIN)&lt;/td&gt; 

&lt;td &gt;
Estimated execution cost&lt;/td&gt;&lt;/tr&gt;

&lt;/table&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;

&lt;pre&gt;&lt;code&gt;    The format of the available metrics can vary as LLM responses are not consistent.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;h3 id=&#34;interpreting-results&#34;&gt;Interpreting results&lt;/h3&gt;
&lt;p&gt;Note the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Lower Duration values indicate faster execution.&lt;/li&gt;
&lt;li&gt;Lower Cost values indicate a potentially more efficient execution plan.&lt;/li&gt;
&lt;li&gt;Lower Queue Time values indicate reduced wait time for resources.&lt;/li&gt;
&lt;li&gt;Changes in node usage may indicate different workload distribution across the cluster.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the current and optimized metrics are nearly identical, the query may already be efficiently optimized.&lt;/p&gt;
&lt;h3 id=&#34;download-profile-summary-data&#34;&gt;Download profile summary data&lt;/h3&gt;
&lt;p&gt;You can download profile summary data for offline analysis.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Review the profile summary.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;download.tar.gz&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Download the generated .tar.gz archive.
The archive contains profile-related data that can be shared with database administrators, support personnel, or performance engineering teams.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;visualize-query-execution-profiles&#34;&gt;Visualize query execution profiles&lt;/h2&gt;
&lt;p&gt;Vertica AI Assist can generate graphical visualizations of query execution profiles to help you understand performance characteristics.&lt;/p&gt;
&lt;h3 id=&#34;create-a-visualization&#34;&gt;Create a visualization&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Visualize&lt;/strong&gt; in the &lt;strong&gt;Profile Summary&lt;/strong&gt; section.&lt;/li&gt;
&lt;li&gt;Vertica AI Assist generates an HTML-based visualization.
&lt;img src=&#34;../../../images/uc/Visualization.png&#34; alt=&#34;HTML-based visualization&#34;&gt;&lt;/li&gt;
&lt;li&gt;Open the provided link.&lt;/li&gt;
&lt;li&gt;Review the execution tree interactively.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;visualization-features&#34;&gt;Visualization features&lt;/h3&gt;
&lt;p&gt;The visualization displays:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Query execution tree structure&lt;/li&gt;
&lt;li&gt;Data flow between operators&lt;/li&gt;
&lt;li&gt;Execution times&lt;/li&gt;
&lt;li&gt;Node-level details&lt;/li&gt;
&lt;li&gt;Performance distribution throughout the query&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can zoom, pan, and interact with the generated execution tree to analyze query behavior in greater detail.&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;

&lt;pre&gt;&lt;code&gt;The MCP server generates the visualization files and makes them available through a link. Ensure you have network access to the MCP server location.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
&lt;h2 id=&#34;learn-vertica-concepts-and-best-practices&#34;&gt;Learn Vertica concepts and best practices&lt;/h2&gt;
&lt;p&gt;Vertica AI Assist can answer product and architecture questions about Vertica.&lt;/p&gt;
&lt;h3 id=&#34;example-prompts-3&#34;&gt;Example prompts&lt;/h3&gt;
&lt;p&gt;Use these sample prompts to learn Vertica concepts and best practices.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What is a projection?&lt;/li&gt;
&lt;li&gt;When should I partition a table?&lt;/li&gt;
&lt;li&gt;How should I design for large joins?&lt;/li&gt;
&lt;li&gt;What are the benefits of segmentation?&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;results-1&#34;&gt;Results&lt;/h3&gt;
&lt;p&gt;Vertica AI Assist provides:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Concept explanations&lt;/li&gt;
&lt;li&gt;Practical examples&lt;/li&gt;
&lt;li&gt;Architecture guidance&lt;/li&gt;
&lt;li&gt;Recommended best practices&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This capability provides quick access to product information for both new and experienced Vertica users.&lt;/p&gt;
&lt;h3 id=&#34;generate-table-and-schema-documentation&#34;&gt;Generate table and schema documentation&lt;/h3&gt;
&lt;p&gt;Vertica AI Assist can create documentation for database objects.&lt;/p&gt;
&lt;h3 id=&#34;example-prompts-4&#34;&gt;Example prompts&lt;/h3&gt;
&lt;p&gt;Use these sample prompts to generate table and schema documentation.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Describe this table for new team members.&lt;/li&gt;
&lt;li&gt;Generate column descriptions for this schema.&lt;/li&gt;
&lt;li&gt;Create documentation for this database.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;results-2&#34;&gt;Results&lt;/h3&gt;
&lt;p&gt;Vertica AI Assist generates:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Business-friendly table descriptions&lt;/li&gt;
&lt;li&gt;Column-level explanations&lt;/li&gt;
&lt;li&gt;Schema summaries&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;improve-documentation-with-file-uploads&#34;&gt;Improve documentation with file uploads&lt;/h3&gt;
&lt;p&gt;When supported by the interface, you can upload reference materials to provide additional context. Supported file types include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PDF&lt;/li&gt;
&lt;li&gt;DOCX&lt;/li&gt;
&lt;li&gt;CSV&lt;/li&gt;
&lt;li&gt;XLSX&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Providing supporting documents can improve the accuracy and completeness of generated descriptions and documentation.&lt;/p&gt;
&lt;h3 id=&#34;privacy-and-consent&#34;&gt;Privacy and consent&lt;/h3&gt;
&lt;p&gt;Certain actions may require confirmation before data is processed. If prompted, do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Yes&lt;/strong&gt; to continue.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;No&lt;/strong&gt; to cancel the action.
Your organization&#39;s privacy and governance policies apply to all AI-assisted interactions.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;session-management&#34;&gt;Session management&lt;/h3&gt;
&lt;p&gt;Starting a new session provides a fresh context for subsequent requests. Note the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Conversations remain within the current session.&lt;/li&gt;
&lt;li&gt;You can start a new session at any time.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;troubleshooting-common-issues&#34;&gt;Troubleshooting common issues&lt;/h2&gt;
&lt;p&gt;If the generated results do not meet your expectations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use more specific prompts.&lt;/li&gt;
&lt;li&gt;Include object names, schemas, and filters.&lt;/li&gt;
&lt;li&gt;Specify date ranges and business context.&lt;/li&gt;
&lt;li&gt;Ask follow-up questions such as:
&lt;ul&gt;
&lt;li&gt;Rewrite this query.&lt;/li&gt;
&lt;li&gt;Simplify this explanation.&lt;/li&gt;
&lt;li&gt;Make this query faster.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Contact your administrator if you encounter configuration, permission, or connectivity issues.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;prompt-writing-guidelines&#34;&gt;Prompt writing guidelines&lt;/h3&gt;
&lt;p&gt;The quality of an AI response is influenced by several prompt parameters. Providing the right context helps Vertica AI Assist generate more accurate SQL, recommendations, explanations, and documentation. The most important ones are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Clarity&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;State exactly what you want. Avoid ambiguous or vague instructions. 
Example: Summarize this document in 5 bullet points for database administrators.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Context&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Provide relevant background information. Include domain, audience, and purpose. 
Example: This guide is for new Vertica customers with no database experience.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Task definition&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Clearly specify the desired action.
Examples: Summarize, explain, compare, rewrite, analyze, generate, and so on.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Role or persona&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Specify the role for the model.
Example: &amp;quot;Act as a database administrator.&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Output format&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Specify the structure of the response.
Examples: Bullet list, table, JSON, step-by-step procedure, and so on&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Audience&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Identify the intended audience.
Examples: Beginners, administrators, developers, data analysts, executives, and so on.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Constraints&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Set limits on length, style, terminology, or scope.
Examples: Summarize in 100 words, avoid technical jargon, and so on.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Examples&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Provide examples to improve consistency and accuracy. The model learns the expected style and format from the examples.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Specificity&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;More specific prompts generally produce better results.
Example: Instead of &amp;quot;Explain Kubernetes&amp;quot;, consider using a strong prompt such as &amp;quot;Explain Kubernetes networking to a Linux administrator in 200 words.&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Success criteria&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Define what a good answer looks like.
Example: &amp;quot;Include benefits, limitations, and one real-world example.&amp;quot;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: SQL Editor</title>
      <link>/en/mc/unified-console/sql-editor-uc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/sql-editor-uc/</guid>
      <description>
        
        
        &lt;p&gt;Use the SQL editor to write, edit, and execute SQL statements within the Unified Console without using any external tools.&lt;/p&gt;
&lt;h3 id=&#34;key-features&#34;&gt;Key features&lt;/h3&gt;
&lt;p&gt;Use the SQL editor to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Execute analytical queries.&lt;/li&gt;
&lt;li&gt;Save and reuse queries.&lt;/li&gt;
&lt;li&gt;View query results and execution details.&lt;/li&gt;
&lt;li&gt;Validate query execution.&lt;/li&gt;
&lt;li&gt;Access schema information.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;working-with-sql-editor&#34;&gt;Working with SQL editor&lt;/h4&gt;
&lt;p&gt;After logging in to the UC application, the home page appears. To launch the SQL editor, select &lt;strong&gt;&amp;gt;&lt;/strong&gt; in the database widget.&lt;/p&gt;
&lt;h4 id=&#34;run-an-sql-query&#34;&gt;Run an SQL query&lt;/h4&gt;
&lt;p&gt;You run SQL queries:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;+&lt;/strong&gt; in the SQL editor.
The New query tab opens.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter your query in the SQL editor.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select one of the following options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Run&lt;/strong&gt; to run the SQL query.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Run selection&lt;/strong&gt; to run only the selected SQL query. This option is helpful when you have multiple SQL queries but need to run only one SQL query.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Format query&lt;/strong&gt; to arrange and format the SQL query for better readability.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Hover over the SQL query and click one of the following icons:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Run&lt;/strong&gt; to run the SQL query.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Optimize with AI&lt;/strong&gt; to display the Vertica AI Assist window.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Format SQL&lt;/strong&gt; to arrange and format the SQL query for better readability.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Explain with AI&lt;/strong&gt;.
This returns a formatted description of the database optimizer&#39;s plan for executing the specified statement. By default, the output represents the query plan as a hierarchy, where each level or path represents a single database operation that the optimizer uses to execute a query.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Enter query name&lt;/strong&gt; field at the top, enter the name of the query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To save the SQL query results, do the following:
a. Select &lt;strong&gt;Export CSV&lt;/strong&gt;.
b. Enter the file name and select &lt;strong&gt;Export&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In the SQL editor, you can view upto a maximum of 10 thousand records only.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;query-plans&#34;&gt;Query plans&lt;/h3&gt;
&lt;p&gt;When you submit a query, the query optimizer quickly chooses the projections to use, optimizes and plans the query execution, and logs the SQL statement to its log. This planning results in an query plan, which maps out the steps the query performs.
A query plan is a sequence of step-like paths that the database cost-based query optimizer uses to execute queries. The database can produce different query plans for a given query. For each query plan, the query optimizer evaluates the data to be queried: number of rows, column statistics such as number of distinct values (cardinality), distribution of data across nodes. It also evaluates available resources such as CPUs and network topology, and other environment factors.&lt;/p&gt;
&lt;h4 id=&#34;query-plan-view-options&#34;&gt;Query plan view options&lt;/h4&gt;
&lt;p&gt;These are the options for displaying query plans:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Path information&lt;/li&gt;
&lt;li&gt;Profile analysis&lt;/li&gt;
&lt;li&gt;Drill down&lt;/li&gt;
&lt;li&gt;Tree view&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the SQL query results page, select &lt;strong&gt;Path information&lt;/strong&gt; from the list at the bottom of the page. This view displays the query plan path. You can expand or collapse the view to see different levels of detail. For information about Explain-related query plans, 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;
&lt;p&gt;In the Query results page, select &lt;strong&gt;Tree view&lt;/strong&gt; from the list at the bottom of the page. The Tree Path view details the query plan in the form of a tree. The tree view does not contain any metrics because the query has not yet executed. The results appear in the form of a tree with a root and connected branches in the form of parent-child relationship.&lt;/p&gt;
&lt;h4 id=&#34;profile-analysis-data&#34;&gt;Profile analysis data&lt;/h4&gt;
&lt;p&gt;In the Query results page, select &lt;strong&gt;Profile analysis&lt;/strong&gt; from the list at the bottom of the page. After you profile an SQL query, the Explain page displays profile data and metrics in a pie chart. Hover over the slices on the pie chart or over the names of the phases to get additional information. You can see the approximate number of milliseconds (ms) and percentage used during each phase.&lt;/p&gt;
&lt;h4 id=&#34;profile-metrics&#34;&gt;Profile metrics&lt;/h4&gt;
&lt;p&gt;After running an SQL query, in the Query results page, select &lt;strong&gt;Path information&lt;/strong&gt; from the list at the bottom of the page. In the Path Information view, the area to the right of each query path contains profile metrics for that path.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Disk&lt;/strong&gt;—Bytes of data accessed from the disk by each query path. If none of the query paths accessed the disk data, all the values are 0.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Memory&lt;/strong&gt;—Bytes of data accessed from memory by each query path.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sent&lt;/strong&gt;—Bytes of data sent across the cluster by each query path.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Received&lt;/strong&gt;—Bytes of data received across the cluster by each query path.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Time&lt;/strong&gt;—Time taken for execution of the SQL query in milliseconds (ms).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hover over the progress bars to view more information, such as total bytes and percentages.&lt;/p&gt;
&lt;h4 id=&#34;history-view&#34;&gt;History view&lt;/h4&gt;
&lt;p&gt;The &lt;strong&gt;History&lt;/strong&gt; tab stores the queries run previously. When you run a query, it appears in the Query History list. Queries of the last 2 weeks only are displayed.&lt;/p&gt;
&lt;p&gt;To run a SQL query:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;…&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Run&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To remove a SQL query:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;…&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;favorite-view&#34;&gt;Favorite view&lt;/h4&gt;
&lt;p&gt;You can bookmark SQL queries and run them again later in the &lt;strong&gt;Favorites&lt;/strong&gt; tab. Saved SQL queries display as a list of favorites next to the &lt;strong&gt;History&lt;/strong&gt; tab.&lt;/p&gt;
&lt;p&gt;To bookmark a SQL query as a favorite:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select the SQL query.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Run&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Favorite&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enter a name and select &lt;strong&gt;Add&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To run a SQL query from the Favorites view:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select &lt;strong&gt;…&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Run&lt;/strong&gt;.
After successful execution of the query, the results are displayed in the SQL editor.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To rename a favorite SQL query:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select the SQL query.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;…&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Rename&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enter the new name and select &lt;strong&gt;Update&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;To remove a favorite SQL query:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select the query.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;…&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;When prompted for confirmation, select &lt;strong&gt;Remove&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;upload-and-download-scripts&#34;&gt;Upload and download scripts&lt;/h4&gt;
&lt;p&gt;You can create SQL queries offline and upload them to the system.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the SQL query page, select &lt;strong&gt;⋮&lt;/strong&gt; and &lt;strong&gt;Upload script&lt;/strong&gt;.
The Upload script dialog appears.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Browse&lt;/strong&gt; or &lt;strong&gt;+&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Upload&lt;/strong&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;

&lt;pre&gt;&lt;code&gt;   All uploaded code or content is the sole responsibility of the uploading party. Vertica does not review, endorse, or accept any liability for uploaded materials. Uploads are made at the uploading party&#39;s own risk.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;
The file content is loaded to the SQL editor.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can also download SQL queries in the system.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the SQL query page, select &lt;strong&gt;⋮&lt;/strong&gt; and &lt;strong&gt;Download script&lt;/strong&gt;.
The SQL query is downloaded in a file with &lt;code&gt;.sql&lt;/code&gt; extension in the Downloads folder.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a name=&#34;Createtable&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4 id=&#34;create-a-table&#34;&gt;Create a table&lt;/h4&gt;
&lt;p&gt;You can create tables in the database logical schema.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In the Schema view, do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;+Create table&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expand a schema in the Schema view and click &lt;strong&gt;+&lt;/strong&gt; for Tables.
The Create table page appears.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Table name&lt;/strong&gt; field, enter the name of the table to create. This name must be unique among names of all sequences, tables, and projections within the schema.
Ensure that the table name meets the following requirements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Must comply with &lt;a href=&#34;../../../en/sql-reference/language-elements/keywords/&#34;&gt;keyword restrictions&lt;/a&gt; and rules for &lt;a href=&#34;../../../en/sql-reference/language-elements/identifiers/#&#34;&gt;Identifiers&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Cannot begin with &lt;code&gt;v_&lt;/code&gt;; this prefix is reserved for &lt;a href=&#34;../../../en/sql-reference/system-tables/&#34;&gt;system tables&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Schema&lt;/strong&gt; list, select an existing schema for which the table needs to be created. If no schema is specified, the table is created in the public schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) Click &lt;strong&gt;Generate Descriptions&lt;/strong&gt; to generate column descriptions using AI. For information about generating descriptions, see &lt;a href=&#34;#Gendisc&#34;&gt;Generate descriptions with AI&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) Click &lt;strong&gt;+Add column&lt;/strong&gt; to add columns to the table.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Column name&lt;/strong&gt; field, enter the name of the column to be created. A table can have up to 9800 columns.

&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;pre&gt;&lt;code&gt;   Provide unique column names for all columns. You cannot provide the same column name for multiple columns in the table.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;From the &lt;strong&gt;Type&lt;/strong&gt; list, select an internal &lt;a href=&#34;../../../en/sql-reference/data-types/&#34;&gt;data type&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Length&lt;/strong&gt; field, enter the maximum number of characters that the column can store. It is a crucial aspect of database design that helps enforce data integrity, optimize storage, and ensure data consistency. For more information about the data types and their corresponding length or size, see &lt;a href=&#34;../../../en/sql-reference/data-types/&#34;&gt;data type&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;

&lt;pre&gt;&lt;code&gt;   Provide a valid number. The system does not consider invalid numbers or characters.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;Nullable&lt;/strong&gt; option to permit this column to store NULL values, representing missing, unknown, or optional data. Selecting this option allows rows to be inserted without providing a value for that specific column.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;Primary&lt;/strong&gt; option to designate this column as the primary key. The primary key is a column in a database table that uniquely identifies each row, ensuring data integrity by prohibiting duplicate or NULL values. It enables efficient data retrieval and acts as a target for foreign keys to establish table relationships. Every table must have one primary key.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;Unique&lt;/strong&gt; option to specify a unique constraint on a column so that each value in that column is unique among all other values.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select the &lt;strong&gt;Order by&lt;/strong&gt; option to sort the result set of a query in a specific order based on the values in one or more columns. This allows you to control the presentation of the data for better analysis and readability, as database rows are not guaranteed to be in any specific order by default.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;More&lt;/strong&gt;.
The Advance configuration page appears. You can set the foreign key references to link one table with another in this page. This page is enabled only when you enter the column name.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Reference tab, do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;From the &lt;strong&gt;Reference schema&lt;/strong&gt; list, select a reference schema which is a specification that defines the structure, data types, and relationships for data, often including mechanisms to link to or reuse other schemas or subschemas.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Reference table&lt;/strong&gt; list, select a table that links to the primary key of another table. It ensures that the data in both tables stays connected and valid. It acts as a primary source for validating input, mapping values, and normalizing data, allowing other tables to reference it through foreign keys. If you omit this column, the database uses the table&#39;s primary key. Only those columns that have at least one primary key in the reference table are listed.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Reference column&lt;/strong&gt; list, select a reference column. Updates to the referenced data are automatically reflected in all locations. Primary key columns only are listed.

&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;pre&gt;&lt;code&gt;   When linking a new table with an existing table, ensure that the data types of the primary key and foreign key match. A mismatch in the data types of the primary key and foreign key results in an error.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Sequence tab, from the &lt;strong&gt;Sequence&lt;/strong&gt; list, select the name of the &lt;a href=&#34;../../../en/admin/working-with-native-tables/sequences/&#34;&gt;sequence&lt;/a&gt;. Use sequences to set the default values of columns to sequential integer values.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Column constraints tab, enter the boolean expression that evaluates a column&#39;s value on each row in the &lt;a href=&#34;../../../en/admin/constraints/supported-constraints/check-constraints/&#34;&gt;&lt;strong&gt;Check constraints&lt;/strong&gt;&lt;/a&gt;field.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Save&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To import data from a csv file, do the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Import from CSV&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Browse&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Navigate to the folder containing the CSV file and click &lt;strong&gt;Open&lt;/strong&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;

&lt;pre&gt;&lt;code&gt;   Only the header rows in the CSV file are saved as column names. The system does not infer data types from the data in the CSV file. All uploaded code or content is the sole responsibility of the uploading party. Vertica does not review, endorse, or accept any liability for uploaded materials. Uploads are made at the uploading party&#39;s own risk.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Save&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) In the &lt;strong&gt;Search column names&lt;/strong&gt; field, enter the column name that you need to search.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) Click &lt;strong&gt;Generate Descriptions&lt;/strong&gt; to generate table descriptions using AI. For information about generating descriptions, see &lt;a href=&#34;#Gendisc&#34;&gt;Generate descriptions with AI&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;SQL preview&lt;/strong&gt;. A real-time preview of the SQL statement is displayed. The SQL syntax is validated and errors are displayed. This helps you identify errors and fix them before running the SQL queries.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Download&lt;/strong&gt; icon to download the SQL query to a file with &lt;code&gt;.sql&lt;/code&gt; extension.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Partition expression&lt;/strong&gt; field, specify a partition key that is derived from one or more table columns. Creating partitions decreases the SQL query execution time and improves table efficiency. For information about partitioning tables, see &lt;a href=&#34;../../../en/sql-reference/statements/create-statements/create-table/partition-clause/&#34;&gt;Partition clause&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Create&lt;/strong&gt;.
The table is created and displayed under the schema where you created it.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;flex-tables&#34;&gt;Flex tables&lt;/h3&gt;
&lt;p&gt;Flex tables are a different kind of database table designed for loading and querying unstructured data, also called semi-structured data. Flex tables allow you to load data with different schemas into a single table. You can then explore this data and materialize real columns from it.&lt;/p&gt;
&lt;p&gt;If you know some of the columns in the data, you can define them. A flex table that also has real columns is called a hybrid table. Both flex and hybrid tables are fully supported tables, stored as projections and with the same K-safety as your database.&lt;/p&gt;
&lt;p&gt;After you create a flex table, you can quickly load data without specifying its schema. This allows you to load arbitrary JSON data, log files, and other semi-structured data and immediately begin querying it. For more information about flex tables, see &lt;a href=&#34;../../../en/flex-tables/&#34;&gt;Flex tables&lt;/a&gt; and &lt;a href=&#34;../../../en/flex-tables/understanding-flex-tables/&#34;&gt;Understanding flex tables&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;create-a-flex-table&#34;&gt;Create a flex table&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Expand a schema in the Schema view and click &lt;strong&gt;+&lt;/strong&gt; for Flex tables.
The Create Flex Table page appears.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Flex table name&lt;/strong&gt; field, enter the name of the flex table.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Schema&lt;/strong&gt; list, select an existing schema for which the flex table needs to be created. If no schema is specified, the flex table is created in the public schema.
Follow steps 4-24 in &lt;a href=&#34;#Createtable&#34;&gt;Create a table&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Create&lt;/strong&gt;.
The flex table is created and displayed under the schema where you created it.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;views&#34;&gt;Views&lt;/h3&gt;
&lt;p&gt;A view is a stored query that comprises one or more SELECT statements. Views dynamically access and compute data from the database at execution time. Views are read-only and can reference any combination of tables, temporary tables, and other views. Views do not support insert, update, delete, or copy operations. For more information about views, see &lt;a href=&#34;../../../en/data-analysis/views/&#34;&gt;Views&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;create-a-view&#34;&gt;Create a view&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Expand a schema in the Schema view and click &lt;strong&gt;+&lt;/strong&gt; for Views.
The Create view page appears. Do the following:&lt;/li&gt;
&lt;li&gt;Review and edit the &lt;strong&gt;viewname&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enter the SELECT statement that the view executes. The SELECT statement can reference tables and other views.&lt;/li&gt;
&lt;li&gt;Format and execute the view. See &lt;a href=&#34;#createquery&#34;&gt;Create an SQL query&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Reload&lt;/strong&gt; icon to refresh the schema.
The new view appears in the &lt;code&gt;Views&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;example&#34;&gt;Example&lt;/h2&gt;
&lt;p&gt;The following example shows how you can create a view that contains data from multiple tables.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE VIEW temp_t0 AS SELECT * from t0_p1 UNION ALL
     SELECT * from t0_p2 UNION ALL
       SELECT * from t0_p3 UNION ALL
         SELECT * from t0_p4 UNION ALL
           SELECT * from t0_p5;
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;create-a-schema&#34;&gt;Create a schema&lt;/h4&gt;
&lt;p&gt;You can create as many schemas as necessary for your database. For example, you can create a schema for each database user. By default, only an administrator can create a schema or give a user the right to create a schema.&lt;/p&gt;
&lt;p&gt;The database logical schema comprises a set of tables and referential integrity constraints in the database. The objects in the logical schema are visible to SQL users. The logical schema does not include projections, which make up the physical schema. The physical schema comprises a set of projections used to store data on the disk. The projections in the physical schema are based on the objects in the logical schema.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In the Schema view, expand the &lt;strong&gt;+Create table&lt;/strong&gt; list and select &lt;strong&gt;Schema&lt;/strong&gt;.
The Create schema page appears.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the &lt;strong&gt;Schema name&lt;/strong&gt; field, enter the name of the schema.
Ensure that the schema name meets the following requirements:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Must be unique among all other schema names in the namespace under which the schema is created.&lt;/li&gt;
&lt;li&gt;Must comply with &lt;a href=&#34;../../../en/sql-reference/language-elements/keywords/&#34;&gt;keyword restrictions&lt;/a&gt; and rules for &lt;a href=&#34;../../../en/sql-reference/language-elements/identifiers/#&#34;&gt;Identifiers&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Cannot begin with &lt;code&gt;v_&lt;/code&gt;; this prefix is reserved for &lt;a href=&#34;../../../en/sql-reference/system-tables/&#34;&gt;system tables&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;If the schema name contains a period, the part before the period cannot be the same as the name of an existing namespace.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Inheritance of privileges specifies whether to enable or disable default inheritance of privileges for new tables in the schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;(Optional) Do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In the &lt;strong&gt;Description&lt;/strong&gt; field, enter a brief description of the schema.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;Generate Descriptions with AI&lt;/strong&gt; to generate descriptions for the schema using AI. For information about generating descriptions, see &lt;a href=&#34;#Gendisc&#34;&gt;Generate descriptions with AI&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Do one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Include&lt;/strong&gt; to grant tables in the specified schema the same privileges granted to that schema. This option has no effect on existing tables in the schema.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;OR&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Select &lt;strong&gt;Exclude&lt;/strong&gt; to disable inheritance of schema privileges. By default, inheritance of schema privileges is disabled.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Create&lt;/strong&gt;.
The schema is created and displayed in the Schema view.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a name=&#34;Gendisc&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h4 id=&#34;generate-descriptions-with-ai&#34;&gt;Generate descriptions with AI&lt;/h4&gt;
&lt;p&gt;You can use AI to automatically generate descriptions for schemas, tables, flex tables, and columns. Instead of manually writing descriptions, you can provide business context and supporting documents to generate meaningful descriptions that help users understand the purpose and contents of database objects.

&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;pre&gt;&lt;code&gt;You can generate descriptions only for databases that are AI-enabled.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/p&gt;
&lt;h4 id=&#34;generate-descriptions-with-ai-for-a-table-or-flex-table&#34;&gt;Generate descriptions with AI for a table or flex table&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Enter the table or flex table name.&lt;/li&gt;
&lt;li&gt;Select the schema in which the object will be created.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Generate description&lt;/strong&gt;.
The Generate descriptions dialog box appears.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Context&lt;/strong&gt; field, provide information about the object, such as its purpose, business domain, or the type of data it contains.&lt;/li&gt;
&lt;li&gt;(Optional) Select &lt;strong&gt;Browse&lt;/strong&gt; and upload supporting documents that provide additional business or technical context.
The supported file formats are &lt;code&gt;.csv&lt;/code&gt;, &lt;code&gt;.doc&lt;/code&gt;, &lt;code&gt;.docx&lt;/code&gt;, &lt;code&gt;.pdf&lt;/code&gt;, &lt;code&gt;.xls&lt;/code&gt;, and &lt;code&gt;.xlsx&lt;/code&gt;. Uploaded files must be unencrypted and must not exceed 50 MB. Images are not supported and cannot be used to generate descriptions.&lt;/li&gt;
&lt;li&gt;(Optional) An AI model is selected by default. You can select a different model if required.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Generate&lt;/strong&gt;.
AI generates descriptions based on the available metadata, context, and supporting documents.&lt;/li&gt;
&lt;li&gt;Review and update the generated descriptions and click &lt;strong&gt;Save&lt;/strong&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;

&lt;pre&gt;&lt;code&gt;The quality of generated descriptions depends on the information provided. Supplying detailed context and supporting documentation improves the accuracy and relevance of the generated descriptions.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;generate-descriptions-with-ai-for-a-schema&#34;&gt;Generate descriptions with AI for a schema&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;Enter the schema name.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Generate descriptions with AI&lt;/strong&gt;.
The Generate descriptions dialog box appears.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Context&lt;/strong&gt; field, provide information about the object, such as its purpose, business domain, or the type of data it contains.&lt;/li&gt;
&lt;li&gt;(Optional) Select &lt;strong&gt;Browse&lt;/strong&gt; and upload supporting documents that provide additional business or technical context.
The supported file formats are &lt;code&gt;.csv&lt;/code&gt;, &lt;code&gt;.doc&lt;/code&gt;, &lt;code&gt;.docx&lt;/code&gt;, &lt;code&gt;.pdf&lt;/code&gt;, &lt;code&gt;.xls&lt;/code&gt;, and &lt;code&gt;.xlsx&lt;/code&gt;. Uploaded files must be unencrypted and must not exceed 50 MB. Images are not supported and cannot be used to generate descriptions.&lt;/li&gt;
&lt;li&gt;(Optional) An AI model is selected by default. You can select a different model if required.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Generate&lt;/strong&gt;.
AI generates descriptions based on the available metadata, context, and supporting documents.&lt;/li&gt;
&lt;li&gt;Review and update the generated descriptions and click &lt;strong&gt;Save&lt;/strong&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;

&lt;pre&gt;&lt;code&gt;The quality of generated descriptions depends on the information provided. Supplying detailed context and supporting documentation improves the accuracy and relevance of the generated descriptions.
&lt;/code&gt;&lt;/pre&gt;


&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;procedures&#34;&gt;Procedures&lt;/h3&gt;
&lt;p&gt;You can condense complex database tasks and routines into procedures. Procedures live and can be executed from inside your database; this lets them communicate and interact with your database directly to maintain, execute queries, and update tables. To view procedures, you can open the SQL editor and search for or browse to the procedure. Select the procedure to review details and manage the procedure. For more information about  procedures, see &lt;a href=&#34;../../../en/extending/stored-procedures/&#34;&gt;Stored procedures&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;create-a-procedure&#34;&gt;Create a procedure&lt;/h4&gt;
&lt;p&gt;Ensure that you have non-superuser privilege to create procedures.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Expand a schema in the Schema view and click &lt;strong&gt;+&lt;/strong&gt; for Procedures.
The Create procedure page appears. Do the following:&lt;/li&gt;
&lt;li&gt;Review and edit the &lt;strong&gt;procedure_name&lt;/strong&gt; and parameters.&lt;/li&gt;
&lt;li&gt;Enter the procedure logic.&lt;/li&gt;
&lt;li&gt;Format and execute the procedure. See &lt;a href=&#34;#createquery&#34;&gt;Create an SQL query&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Reload&lt;/strong&gt; icon to refresh the schema.
The new stored procedure is displayed in the &lt;code&gt;Procedures&lt;/code&gt; folder.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;view-information-about-procedures&#34;&gt;View information about procedures&lt;/h4&gt;
&lt;p&gt;To view information about procedures, do the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open the SQL editor.&lt;/li&gt;
&lt;li&gt;Expand the schema.&lt;/li&gt;
&lt;li&gt;Hover over and select &lt;strong&gt;Procedures&lt;/strong&gt;.
The Procedures page displays the following information:
&lt;ul&gt;
&lt;li&gt;Language - Specifies the language of the procedure source. It can be either PLvSQL or PLpgSQL.&lt;/li&gt;
&lt;li&gt;Namespace name - Name of the database or namespace that contains &lt;code&gt;table&lt;/code&gt;:
&lt;ul&gt;
&lt;li&gt;Database name: If specified, it must be the current database.&lt;/li&gt;
&lt;li&gt;Namespace name (Eon Mode only): You must specify the namespace of objects in non-default namespaces. If no namespace is provided, it is assumed the object is in the default namespace.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Owner - The name of the person who created the stored procedure.&lt;/li&gt;
&lt;li&gt;Procedure arguments - A comma-delimited list of formal parameters, each specified as &lt;code&gt;parameter-name&lt;/code&gt; and &lt;code&gt;parameter-type&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Procedure name - The name of the stored procedure, where &lt;em&gt;procedure-name&lt;/em&gt; conforms to conventions described in &lt;a href=&#34;../../../en/sql-reference/language-elements/identifiers/&#34;&gt;Identifiers&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Schema name - Name of the schema. The default is &lt;code&gt;public&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Security - Determines whose privileges to use when the procedure is called and executes it as if the user is one of the following:
&lt;ul&gt;
&lt;li&gt;DEFINER: User who defined the procedure.&lt;/li&gt;
&lt;li&gt;INVOKER: User who called the procedure.
For more information about these parameters, see &lt;a href=&#34;../../../en/sql-reference/statements/create-statements/create-procedure-stored/&#34;&gt;create procedure&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;example-1&#34;&gt;Example&lt;/h4&gt;
&lt;p&gt;This procedure returns the input values as a result set:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;PROCEDURE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;echo_int_varchar&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;INOUT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;x&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;INT&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;INOUT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;y&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;nb&#34;&gt;VARCHAR&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;LANGUAGE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;PLvSQL&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;AS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;err&#34;&gt;$$&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;BEGIN&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;RAISE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NOTICE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;This procedure outputs a result set of its inputs:&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;END&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;err&#34;&gt;$$&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CALL&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;echo_int_varchar&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;,&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;a string&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;);&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NOTICE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;2005&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;This&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;procedure&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;outputs&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;result&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;set&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;of&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;its&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;inputs&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;x&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;y&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;---+----------
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;a&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;string&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;row&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;entity-relationships&#34;&gt;Entity relationships&lt;/h3&gt;
&lt;p&gt;Entity relationships provide a graphical representation of the relationships between tables based on primary key and foreign key relationships. You can view entity relationships within a single schema or across multiple schemas to better understand your database structure and how tables are connected.&lt;/p&gt;
&lt;h4 id=&#34;view-entity-relationships-for-a-table-within-a-schema&#34;&gt;View entity relationships for a table within a schema&lt;/h4&gt;
&lt;p&gt;To view entity relationships between tables within a schema:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Schema view, locate the schema for which you want to view relationships.&lt;/li&gt;
&lt;li&gt;Click the More options menu (⋮) next to the schema name.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;View relationships&lt;/strong&gt;.
The entity relationships diagram appears, displaying all tables in the schema and their relationships.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;view-entity-relationships-for-a-table-across-schemas&#34;&gt;View entity relationships for a table across schemas&lt;/h4&gt;
&lt;p&gt;To view entity relationships between tables across different schemas:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In the Schema view, select the table for which you want to view relationships.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;View entity relationships&lt;/strong&gt;.
The entity relationships diagram appears, displaying the selected table and all related tables across schemas.&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;color-coding&#34;&gt;Color coding&lt;/h4&gt;
&lt;p&gt;The entity relationships diagram uses color coding to distinguish tables based on their location relative to the current schema:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Blue header&lt;/strong&gt; - Tables within the current schema.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Black header&lt;/strong&gt; - Tables outside the current schema that have relationships with tables in the current schema.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;diagram-controls&#34;&gt;Diagram controls&lt;/h4&gt;
&lt;p&gt;Use the controls to manage and navigate the entitiy relationships diagram:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Drag and Pan&lt;/strong&gt; - Move around the diagram to view tables and relationships that are not currently visible.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Zoom in/out&lt;/strong&gt; - Hover over or the zoom controls to zoom in for detailed views or zoom out to view the entire diagram.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Download&lt;/strong&gt; - Download the diagram in SVG format.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Refresh&lt;/strong&gt; - Updates the diagram by retrieving the latest metadata from the database, ensuring that newly added, modified, or removed tables, columns, keys, and relationships are accurately reflected.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Search&lt;/strong&gt; - Search for a table within the diagram. As you type a table name, the matching table is highlighted and its entity relationships are displayed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;primary-key-indicators&#34;&gt;Primary key indicators&lt;/h4&gt;
&lt;p&gt;Columns marked with a key icon represent primary key columns.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Mc: Upgrade Unified Console</title>
      <link>/en/mc/unified-console/upgrade-uc/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/mc/unified-console/upgrade-uc/</guid>
      <description>
        
        
        &lt;p&gt;Follow the procedure below to upgrade MC.&lt;/p&gt;
&lt;h2 id=&#34;upgrade-unified-console&#34;&gt;Upgrade Unified Console&lt;/h2&gt;
&lt;p&gt;To upgrade UC with a new version, follow these steps.&lt;/p&gt;
&lt;h3 id=&#34;backup-mc-before-you-upgrade&#34;&gt;Backup MC before you upgrade&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Log in as root or a user with sudo privileges on the server where MC is already installed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open a terminal window and shut down the MC process:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# /etc/init.d/vertica-consoled stop
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For versions of Red Hat 7/CentOS 7 and above, use:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# systemctl stop vertica-consoled
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Back up MC to preserve configuration metadata.&lt;/p&gt;

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
A full backup is required in order to restore MC to its previous state. Restoring MC is essential if the upgrade fails, or you decide to revert to the previous version of Vertica. For details, see &lt;a href=&#34;../../../en/mc/configuring-mc/backing-up-mc/#&#34;&gt;Backing up MC&lt;/a&gt;.
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Stop the database if MC was installed on an Ubuntu or Debian platform.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;upgrading-uc&#34;&gt;Upgrading UC&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Download the MC package from the &lt;a href=&#34;https://vertica.com/&#34;&gt;Vertica Website&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vertica-console-&lt;span class=&#34;code-variable&#34;&gt;current-version&lt;/span&gt;.&lt;span class=&#34;code-variable&#34;&gt;Linux-distro&lt;/span&gt;)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Save the package to a location on the target server, such as &lt;code&gt;/tmp&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the target server, log in as root or a user with sudo privileges.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change to the directory where you saved the MC package.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Install MC using your local Linux distribution package management system—rpm, yum, zypper, apt, dpkg. For example:&lt;/p&gt;
&lt;p&gt;Red Hat 8&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# rpm -Uvh vertica-console-&lt;span class=&#34;code-variable&#34;&gt;current-version&lt;/span&gt;.x86_64.rpm
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Debian and Ubuntu&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# dpkg -i vertica-console-&lt;span class=&#34;code-variable&#34;&gt;current-version&lt;/span&gt;.deb
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you stopped the database before upgrading MC, restart the database.&lt;/p&gt;
&lt;p&gt;As the root user, use the following command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/etc/init.d/verticad start
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For versions of Red Hat 8/CentOS 8 and above, run:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# systemctl start verticad
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Open a browser and enter the URL of the UC installation, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;IP address:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&lt;span class=&#34;code-variable&#34;&gt;ip-address&lt;/span&gt;:&lt;span class=&#34;code-variable&#34;&gt;uc-port&lt;/span&gt;/
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Server host name:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;https://&lt;span class=&#34;code-variable&#34;&gt;hostname&lt;/span&gt;:&lt;span class=&#34;code-variable&#34;&gt;uc-port&lt;/span&gt;/
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;By default, &lt;em&gt;&lt;code&gt;uc-port&lt;/code&gt;&lt;/em&gt; is 8433.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Stop the UC services.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt; sudo ./opt/vconsole/uc/scripts/services.sh stop  
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart the UC services.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt; sudo ./opt/vconsole/uc/scripts/services.sh start
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;

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