Running out of HD space. Scripts folder is big.

Hello, I am running out of Hard Drive space and found out that the Scripts folder, inside the Source Control 7 folder, has over 1 Gb of data. All files with the bin extension. Can this folder be safetly purged/emptied, and all of it's content deleted?
Would the Source Control application keep working fine, as expected, if I do this?





Best Answer

  • DustinMDustinM Posts: 66 Bronze 1

    Hello,

    Thank you for your inquiry into SQL Source Control.

    Scripts can be deleted from the scripts folder but SQL Source Control will attempt to recreate them after they are deleted, to completely prevent files from being created in that folder you will need to add <MaxCacheSizeInMB>0</MaxCacheSizeInMB> to the Engine Options located in the file path below.

    %localappdata%\Red Gate\SQL Source Control 7\RedGate_SQLSourceControl_Engine_EngineOptions.xml:

     

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <!---->
    <EngineOptions version="3" type="EngineOptions">
    &nbsp; <MaxCacheSizeInMB>0</MaxCacheSizeInMB>
    &nbsp; <DisableCaching>True</DisableCaching>
    </EngineOptions>

    Please note that this can cause SQL Source Control to perform slower in which case it might be better to use <CachePath> instead: this allows you to change the location of the cache

    I hope this information helps.

    Best, 

    Dustin 

Answers

Sign In or Register to comment.