Skip to main content

Optimizing Upgrade Performance

To speed up the upgrade process, you may wish to make some changes and perform some cleanup in Nexus Repository 2. The suggestions below can help you reduce the amount of content you need to move, free up resources to speed up the upgrade, and avoid some issues that could arise regarding old repositories.


How to Optimize

System Feeds

If your organization does not rely on system feeds (often used for team communication), consider disabling them.

Repair Index Tasks

These tasks support searching components within the user interface and do not need to be rebuilt that often. Consider disabling them across all repositories.


Disabling the Update Repositories Index task while using the Upgrade Wizard will enhance the wizard's performance and free up resources that Nexus Repository 2 will need.

Snapshot Removal Tasks

Enable both the Remove Snapshots from Repository and Remove Unused Snapshots From Repository tasks to delete old unneeded component versions. Running these task in Nexus Repository 2 before upgrade will reduce the amount of content to move, meaning a faster upgrade.

Deprecated Repositories

Remove any deprecated repositories. For example, any Maven 2 proxy repositories with the domain name "" should be deleted.

If Nexus Repository 2 contains proxy repositories that are pointing at sites that don't exist and are not manually blocked for remote contact even though remote contact cannot work, this can slow things down during upgrade as Nexus Repository 2 could get hung up trying to contact bad remotes.

You can also elect not to include very old repositories when selecting repositories to upgrade in the Upgrade Wizard.

Rebuild Maven Metadata Files Task

This scheduled task is disabled by default and should only be run if you need to repair a corrupted Maven repository storage on disk.

Staging Rules

If you are a Nexus Repository Pro user that uses the application for staging releases, redefine or reduce the number of configured staging rules and staging profiles.

Scheduled Tasks for Releases

If you find empty Use Index checkboxes under Task Settings, use the opportunity to disable or remove those specific tasks for releases.