<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vertica Documentation – Upgrading Vertica</title>
    <link>/en/admin/upgrading/</link>
    <description>Recent content in Upgrading Vertica on Vertica Documentation</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/admin/upgrading/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Admin: Upgrade paths</title>
      <link>/en/admin/upgrading/upgrade-paths/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/upgrading/upgrade-paths/</guid>
      <description>
        
        
        &lt;p&gt;Upgrades are generally incremental: you must upgrade to each intermediate major and minor release. For example, in order to upgrade from Vertica 9.0 to 10.1, you would upgrade incrementally as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Vertica 9.0 to 9.1&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Vertica 9.1 to 9.2&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Vertica 9.2 to 9.3&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Vertica 9.3 to 10.0&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Vertica 10.0 to 10.1&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As new versions are released, you must continue upgrading incrementally (from 10.1 to 11.0, then 11.0 to 11.1, and so on).

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

You can skip service pack releases. For example, the preceding upgrade path omits releases 9.0.1 and 9.1.1.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;If you&#39;re upgrading from a FIPS-enabled Vertica 9.2.x database to 10.1.1 and want to maintain your FIPS certification, you must perform a direct upgrade. For instructions, see &lt;a href=&#34;../../../en/admin/upgrading/upgrade-paths/nonsequential-fips-db-upgrades/&#34;&gt;Nonsequential FIPS database upgrades&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Be sure to read the Release Notes and New Features for each version in your path. Documentation for the current Vertica version is available in the RPM and at &lt;a href=&#34;http://www.vertica.com/documentation&#34;&gt;https://docs.vertica.com/latest&lt;/a&gt;. The same URL also provides access to documentation for earlier versions.&lt;/p&gt;
&lt;p&gt;For guidance on upgrading from unsupported versions, contact &lt;a href=&#34;https://www.vertica.com/support&#34;&gt;Vertica Technical Support&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Before you upgrade</title>
      <link>/en/admin/upgrading/before-you-upgrade/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/upgrading/before-you-upgrade/</guid>
      <description>
        
        
        &lt;p&gt;Before you upgrade the Vertica database, perform the following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Verify that you have enough RAM available to run the upgrade. The upgrade requires approximately three times the amount of memory your database catalog uses.&lt;/p&gt;
&lt;p&gt;You can calculate catalog memory usage on all nodes by querying system table &lt;a href=&#34;../../../en/sql-reference/system-tables/v-monitor-schema/resource-pool-status/&#34;&gt;RESOURCE_POOL_STATUS&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT node_name, pool_name, memory_size_kb FROM resource_pool_status WHERE pool_name = &amp;#39;metadata&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/backup-and-restore/creating-backups/creating-full-backups/&#34;&gt;Perform a full database backup.&lt;/a&gt; This precautionary measure allows you to restore the current version if the upgrade is unsuccessful.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/upgrading/before-you-upgrade/backing-up-and-restoring-grants/&#34;&gt;Perform a backup of your grants&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/upgrading/before-you-upgrade/verifying-platform-requirements/&#34;&gt;Verify platform requirements&lt;/a&gt; for the new version.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Determine whether you are using any third-party user-defined extension libraries (UDxs). UDx libraries that are compiled (such as those developed using C++ or Java) may need to be recompiled with a new version of the Vertica SDK libraries to be compatible with the new version of Vertica. See &lt;a href=&#34;../../../en/extending/udxs/updating-udx-libraries/udx-library-compatibility-with-new-server-versions/&#34;&gt;UDx library compatibility with new server versions&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/upgrading/before-you-upgrade/checking-catalog-storage-space/&#34;&gt;Check catalog storage space&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you&#39;re upgrading from Vertica 9.2.x and have set the &lt;code&gt;PasswordMinCharChange&lt;/code&gt; or &lt;code&gt;PasswordMinLifeTime&lt;/code&gt; system-level &lt;a href=&#34;../../../en/sql-reference/config-parameters/security-parameters/&#34;&gt;security parameters&lt;/a&gt;, take note of their current values. You will have to set these parameters again, this time at the PROFILE-level, to reproduce your configuration. To view the current values for these parameters, run the following query:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT parameter_name,current_value from CONFIGURATION_PARAMETERS
    WHERE parameter_name IN (&amp;#39;PasswordMinCharChange&amp;#39;, &amp;#39;PasswordMinLifeTime&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After you complete these tasks, &lt;a href=&#34;../../../en/admin/operating-db/stopping-db/&#34;&gt;shut down the database gracefully&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: Upgrade Vertica</title>
      <link>/en/admin/upgrading/upgrade/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/upgrading/upgrade/</guid>
      <description>
        
        
        
&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Before running the upgrade script, be sure to review the tasks described in &lt;a href=&#34;../../../en/admin/upgrading/before-you-upgrade/&#34;&gt;Before you upgrade&lt;/a&gt;.
&lt;/div&gt;
&lt;p&gt;Repeat this procedure for each version in your &lt;a href=&#34;../../../en/admin/upgrading/upgrade-paths/&#34;&gt;upgrade path&lt;/a&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Perform a &lt;a href=&#34;../../../en/admin/backup-and-restore/creating-backups/creating-full-backups/&#34;&gt;full backup&lt;/a&gt; of your existing database. This precautionary measure lets you restore from the backup, if the upgrade is unsuccessful. If the upgrade fails, you can reinstall the previous version of Vertica and &lt;a href=&#34;../../../en/admin/backup-and-restore/restoring-backups/restoring-hard-link-local-backups/&#34;&gt;restore your database&lt;/a&gt; to that version.&lt;/p&gt;
&lt;p&gt;If your upgrade path includes multiple versions, create a full backup with the first upgrade. For each subsequent upgrade, you can perform incremental backups. However, Vertica recommends full backups before each upgrade if disk space and time allow.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use admintools to &lt;a href=&#34;../../../en/admin/operating-db/stopping-db/&#34;&gt;stop the database&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On each host where an additional package is installed, such as the &lt;a href=&#34;../../../en/extending/developing-udxs/developing-with-sdk/r-sdk/installingupgrading-r-language-pack/&#34;&gt;R language pack&lt;/a&gt;, uninstall it. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;rpm -e vertica-R-lang
&lt;/code&gt;&lt;/pre&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;
If you omit this step and do not uninstall additional packages, the Vertica server package fails to install in the next step.
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Make sure you are logged in as root or sudo and use one of the following commands to run the RPM package installer:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you are root and installing an RPM:&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# rpm -Uvh &lt;span class=&#34;code-variable&#34;&gt;pathname&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;If you are using sudo and installing an RPM:&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo rpm -Uvh &lt;span class=&#34;code-variable&#34;&gt;pathname&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;If you are using Debian:&lt;/li&gt;
&lt;/ul&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;$ sudo dpkg -i &lt;span class=&#34;code-variable&#34;&gt;pathname&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;On the same node on which you just installed the RPM, run &lt;code&gt;update_vertica&lt;/code&gt; as root or sudo. This installs the RPM on all the hosts in the cluster. For example:&lt;/p&gt;
&lt;p&gt;Red Hat or CentOS&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# /opt/vertica/sbin/update_vertica --rpm /home/dbadmin/vertica-12.0.x.x86_64.RHEL6.rpm --dba-user mydba
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Debian&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# /opt/vertica/sbin/update_vertica --deb /home/dbadmin/vertica-amd64.deb --dba-user mydba
&lt;/code&gt;&lt;/pre&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;
&lt;p&gt;You can upgrade the Vertica server running on AWS instances created from a Vertica AMI. To upgrade the Vertica server on these AWS instances, you need to add the following arguments to the upgrade script:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;--dba-user-password-disabled&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;--point-to-point&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
&lt;p&gt;The following requirements and restrictions apply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The DBADMIN user must be able to read the RPM or DEB file when upgrading. Some upgrade scripts are run as the DBADMIN user, and that user must be able to read the RPM or DEB file.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use the same options that you used when you last installed or upgraded the database. You can find these options in &lt;code&gt;/opt/vertica/config/admintools.conf&lt;/code&gt;, on the &lt;code&gt;install_opts&lt;/code&gt; line. For details on all options, see &lt;a href=&#34;../../../en/setup/set-up-on-premises/install-using-command-line/install-with-installation-script/&#34;&gt;Install Vertica with the installation script&lt;/a&gt;.&lt;/p&gt;

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

If you omit any previous options, their default settings are restored. If you do so, or if you change any options, the upgrade script uses the new settings to reconfigure the cluster. This can cause issues with the upgraded database.

&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Omit the &lt;code&gt;--hosts/-s &lt;/code&gt;&lt;em&gt;&lt;code&gt;host-list&lt;/code&gt;&lt;/em&gt; parameter. The upgrade script automatically identifies cluster hosts.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the root user is not in /etc/sudoers, an error appears. The installer reports this issue with &lt;strong&gt;S0311&lt;/strong&gt;. See the &lt;a href=&#34;https://www.sudo.ws/man/1.8.15/sudoers.man.html&#34;&gt;Sudoers Manual&lt;/a&gt; for more information.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/operating-db/starting-db/&#34;&gt;Start the database&lt;/a&gt;. The start-up scripts analyze the database and perform necessary data and catalog updates for the new version.&lt;/p&gt;
&lt;p&gt;If Vertica issues a warning stating that one or more packages cannot be installed, run the admintools &lt;code&gt;--force-reinstall&lt;/code&gt; option to force reinstallation of the packages. For details, see &lt;a href=&#34;../../../en/admin/upgrading/after-you-upgrade/reinstalling-packages/&#34;&gt;Reinstalling packages&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;When the upgrade is complete, the database automatically restarts.&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;

Manually restart any nodes that fail to start up.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Perform another database backup.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;upgrade-duration&#34;&gt;Upgrade duration&lt;/h2&gt;
&lt;p&gt;Duration depends on average in-memory size of catalogs across all cluster nodes. For every 20GB, you can expect the upgrade to last between one and two hours.&lt;/p&gt;
&lt;p&gt;You can calculate catalog memory usage on all nodes by querying system table &lt;a href=&#34;../../../en/sql-reference/system-tables/v-monitor-schema/resource-pool-status/&#34;&gt;RESOURCE_POOL_STATUS&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT node_name, pool_name, memory_size_kb FROM resource_pool_status WHERE pool_name = &amp;#39;metadata&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;h2 id=&#34;post-upgrade-tasks&#34;&gt;Post-upgrade tasks&lt;/h2&gt;
&lt;p&gt;After you complete the upgrade, review post-upgrade tasks in &lt;a href=&#34;../../../en/admin/upgrading/after-you-upgrade/&#34;&gt;After you upgrade&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Admin: After you upgrade</title>
      <link>/en/admin/upgrading/after-you-upgrade/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/admin/upgrading/after-you-upgrade/</guid>
      <description>
        
        
        &lt;p&gt;After you finish upgrading the Vertica server package on your cluster, a number of tasks remain.&lt;/p&gt;
&lt;h2 id=&#34;required-tasks&#34;&gt;Required tasks&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;If you created projections in earlier releases with &lt;a href=&#34;../../../en/data-analysis/data-aggregation/pre-aggregating-data-projections/&#34;&gt;pre-aggregated data&lt;/a&gt; (for example, LAPs and TopK projections) and the projections were partitioned with a GROUP BY clause, you must &lt;a href=&#34;../../../en/admin/upgrading/after-you-upgrade/rebuilding-partitioned-projections-with-pre-aggregated-data/&#34;&gt;rebuild these projections&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify on each node that the upgrade &lt;a href=&#34;../../../en/admin/upgrading/after-you-upgrade/verifying-catalog-memory-consumption/&#34;&gt;reduced database catalog memory usage&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Verify your database retained the grants from before you upgraded. See &lt;a href=&#34;../../../en/admin/upgrading/before-you-upgrade/backing-up-and-restoring-grants/&#34;&gt;Backing up and restoring grants&lt;/a&gt; for more information.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/admin/upgrading/after-you-upgrade/reinstalling-packages/&#34;&gt;Reinstall packages&lt;/a&gt; such as the R language pack that you uninstalled before upgrading. For each package, see its install/upgrade instructions.&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;

Vertica Place is automatically reinstalled with the Vertica server package.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If the upgrade was unable to install one or more packages, &lt;a href=&#34;../../../en/admin/upgrading/after-you-upgrade/reinstalling-packages/&#34;&gt;reinstall them with admintools&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/mc/configuring-mc/upgrading-mc-manually/&#34;&gt;Upgrade the Management Console&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If your Vertica installation is integrated with Hadoop, &lt;a href=&#34;../../../en/hadoop-integration/using-hcatalog-connector/configuring-hcatalog/#Upgrading&#34;&gt;upgrade the HCatalog connector&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;optional-tasks&#34;&gt;Optional tasks&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Import directed queries that you exported from the previous version. For details, see &lt;a href=&#34;../../../en/admin/managing-queries/directed-queries/batch-query-plan-export/&#34;&gt;Batch query plan export&lt;/a&gt; and &lt;a href=&#34;../../../en/admin/managing-queries/directed-queries/managing-directed-queries/exporting-directed-queries-from-catalog/&#34;&gt;Exporting directed queries from the catalog&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you&#39;re upgrading from Vertica 9.2.x and have set the &lt;code&gt;PasswordMinCharChange&lt;/code&gt; or &lt;code&gt;PasswordMinLifeTime&lt;/code&gt; system-level &lt;a href=&#34;../../../en/sql-reference/config-parameters/security-parameters/&#34;&gt;security parameters&lt;/a&gt;, set them again at the &lt;a href=&#34;../../../en/security-and-authentication/client-authentication/hash-authentication/passwords/profiles/&#34;&gt;PROFILE-level&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

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