We where seeing bad performance on this feature when using a wildcard match pattern for the “Exclude from purge” box. The filter looked like this: website\App_Data\logs*
Without the filter Octopus is several times faster than with the filter, when purging the folder. We basically just removed the * and an improvement of several factors was seen.
It would be nice that such a setting would not be accepted by the Octopus software or via some other gate-keeping/sanity check feature. Or am I totally bunkers her?
I also hope that other would be helped by seeing the above explanation.
Yes to exclude a while folder you don’t need to add a wildcard.
Wildcards are only needed when you want to exclude specific files within a folder.
The reason it is slower is because with wildcard we do a recursive walk vs just exclude a whole folder.
This recursive walk can take longer depending on how many files that folder has and how fast the disk IO is.
Dette er en e-mail fra Danske Spil A/S. Denne e-mail og vedhæftede bilag kan indeholde fortrolige informationer, som alene er til brug for den tiltænkte modtager. Har De ved en fejl modtaget denne e-mail, bedes De venligst straks give afsenderen besked og slette denne meddelelse og bilag fra Deres system uden at offentliggøre, reproducere, distribuere eller gøre tilsvarende brug af oplysningerne indeholdt i e-mailen. På forhånd tak.