Full-DB and Full-DB-Direct Binary Providers

JFrog Installation & Setup Documentation

Content Type
Installation & Setup
ft:sourceType
Paligo

These binary providers save all the metadata and binary content as blobs in the database. The Full-DB binary provider has an additional layer of caching on the filesystem while Full-DB Direct does not have a cache and serves artifacts directly from the database.

Note

The maximum size of Artifacts that can be uploaded is determined by the maximum blob size of your database. Therefore, you must know the maximum blob size of your database before configuring these binary providers. Artifacts cannot be split to accommodate a database with a low maximum blob size and JFrog recommends a different storage strategy for such databases.

Full-DB binary provider template configuration

This binary provider saves all the metadata and binary content as blobs in the database with an additional layer of caching on the filesystem. Caching can improve Artifactory performance since frequent requests are served from the cache-fs before reaching out to the database.

The following sample shows the binarystore.xml configuration file for full-db binary provider.

<config version="v1">
    <chain template="full-db"/>
 </config>

What's in the template?

While you don't need to configure anything else in your binarystore.xml, the following sample shows how the full-db template looks like under the hood.

<config version="v1">
    <chain template="full-db"/>
    <provider id="cache-fs" type="cache-fs">
        <provider id="blob" type="blob"/>
    </provider>
 </config>

For details about the cache-fs provider, see Cached Filesystem Binary Provider. The blob provider saves metadata and binary content as blobs in the database.

Full-DB-Direct binary provider template configuration

This binary provider saves all the metadata and binary content as blobs in the database without a caching layer.

The following sample shows the binarystore.xml configuration file for full-db-direct binary provider.

<config version="v1">
    <chain template="full-db-direct"/>
 </config>

What's in the template?

While you don't need to configure anything else in your binarystore.xml, the following sample shows how the full-db-direct template looks like under the hood.

<config version="v1">
    <chain template="full-db-direct"/>
    <provider id="blob" type="blob"/>
</config>

The blob provider saves metadata and binary content as blobs in the database.