Artifactory comes with a built-in Derby database that can be reliably used to store data for production-level repositories up to hundreds of gigabytes in size.
However, Artifactory's storage layer supports pluggable storage implementations allowing you to change the default storage and use other popular databases.
Artifactory currently supports the following databases:
Modes of Operation
Artifactory supports two modes of operation:
"Once-And-Only-Once" Content Storage
Artifactory stores binary files only once.
When a new file about to be stored in Artifactory is found to have the same checksum as a previously stored file (i.e. it is identical to a file that has already been stored), Artifactory does not store the new file content, but rather creates a link to the existing file in the metadata of the newly deployed file.
This principle applies regardless of which repository and path artifacts are deployed - you can deploy the same file to many different coordinates, and as long as identical content is found in the storage, it is reused.
Before You Start
Remove the Old Data Folder
If you have previously run Artifactory with a different storage type you must remove (or move) the existing
If you do not do this, Artifactory continues to use some of the previous storage definitions and will fail to start up producing a
Backup Your Current Installation
When changing the storage type for an existing installation you must import your Artifactory content and configuration from a backup.
Make sure to backup your current Artifactory system before updating to a new storage type.
Setup the New Storage
To setup your new storage you need to create a database instance, create an Artifactory user for the database, install the appropriate JDBC driver, copy the relevant database configuration file, and configure the corresponding
This is fully detailed in the specific documentation page for each of the supported databases listed in the Overview section.
The Bundled Storage Configurations
For each of the supported databases you can find the corresponding properties file inside
Each file contains the mandatory parameters and definitions that should be configured to work with your database as follows: