Jump to content

BLOB - configurations


Misieq

Recommended Posts

Hello

 

In features list of PlasticSCM there is information that version 5.4 has a possibility to store BLOB in filesystem instead of putting them into DB. And what more threshold for size is configurable.

I tried to find this option both in documentation and in tool and failed.

Could you please point me the right place to read/configure it.

 

Thank you in advance.

Link to comment
Share on other sites

Here you have it!

 

1) The blob storage configuration is done inside the "db.conf" file, you can include a "BlobStorage" section like the following one:

<DbConfig>
  <ProviderName>sqlserverce</ProviderName>
  <ConnectionString>DataSource={0};Persist Security Info=False;Max Database Size=4090;Max Buffer Size = 4096;Password=;</ConnectionString>
  <DatabaseSuffix></DatabaseSuffix>
  <BlobStorage>
     <BasePath>C:\Program Files\PlasticSCM5\server\blobdb</BasePath>
     <MinSize>51200</MinSize>
  </BlobStorage>
  <MaxCachedTrees>1000</MaxCachedTrees>
</DbConfig>

1.1) The "BasePath" parameter will set the location of the blob files. Here is where the indexed files will live. Make sure the write permission is granted.

1.2) Revisions bigger than the "MinSize" parameter will be stored in blobs. It's specified in bytes.

 

2) Restart the Plastic SCM server

 

The Checkin operation is around 2.8 times faster.

The Update operation is around 1.5 times faster.

 

Of course you need to start working with the blob storage from the beggingexiting data in a given repository is not migrated into blobs.

Link to comment
Share on other sites

  • 3 months later...
  • 6 years later...

Hi, We explain the datils in the following guide:

https://www.plasticscm.com/documentation/administration/plastic-scm-version-control-administrator-guide#Chapter8:Repositorystorageconfiguration

  • Quote

    blobspath - Specify the path where Jet will store blobs. This way, Jet stores blobs and metadata in different paths. This is useful because it makes possible to put metadata in faster and more expensive storage, and blobs in slightly slower and cheaper one (blobs will need much more storage than metadata).

    Regards, Carlos.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...