This article only applies to Nexus 2.0 to 2.7.x. Nexus 2.8+ need not apply the suggestions here.
Improve Performance Disabling Old Attribute Storage
If your Nexus still has a
sonatype-work/nexus/proxy directory and this directory contains a
readme.txt file, please follow these steps:
- Stop Nexus
- Delete sonatype-work/nexus/proxy
- Start Nexus
In Nexus versions before 2.0, Nexus stored artifact metadata in the
sonatype-work/nexus/proxy directory. This directory contained a sub-directory per repository id. Each repository directory contained files at paths matching a real artifact path stored under
sonatype-work/nexus/storage. These "attribute" files contained XML metadata about the artifact file such as when the artifact was last accessed and who uploaded the artifact.
Nexus 2.0 introduced an improved attribute storage mechanism. On upgrade from a work directory containing the "proxy" directory, a background thread will upgrade the old attribute storage, putting attributes under sonatype-work/nexus/storage/<repository_id>/.nexus/attributes. Once the upgrade process is complete, Nexus will put a
readme.txt file in the proxy directory, indicating the attribute storage upgrade is complete to a new format.