2022.2

Table Of Contents
Note: TheServer Engineissetasthedefaultasitisgenerallyconsideredthebestoption.
Thisisparticularlythecasewhenusingascheduledcronjob,astheSeverEngineis
alwaysrunning,whilsttheDesignermightwellnotbeatthescheduledtime(inwhichcase
theclean-upwillfailtorun).
l
Database Clean-up Service:
l
Allow database clean-up service:SelectthischeckboxtoenablethedatabaseClean-up
settings,andenabletheactualclean-up.
l
Threads to use for database deletions:ThenumberofThreadstobeusedinthe
clean-up.PrintShopMailConnectisamulti-threadedapplication,andtheclean-upis
likewise.
Tip: Thedefaultnumberofthreadsisconsideredthebestcompromiseforrun-
ningbothclean-upandproductionjobssimultaneously.Ifexperiencesuggests
thattheclean-upisnotrunningefficiently,thenuppingthenumberofthreads
herewouldberecommended.Conversely,ifproductionappearstobesuf-
feringcourtesyoftheclean-upprocess,thenreducethenumberofthreads
here.
Ingeneral,higherendmachines(thosewithmultiplecores)willallowahigher
numbersofthreads,whilstlowendmachineswillperformbetterwithalower
numberofthreads.
l
Number of entities in each deletion batch:Thenumberofentitiestobedeletedat
atime.Thisisdonetobreaktheclean-upintosmallerchunks.Thisimproves
PrintShopMailConnectclean-upresponsiveness,whilsttheclean-upisoccurring.
Thenumberselectedhereappliestoallthefollowingsettings.
i.e.aselectionof1,000woulddelete1,000datarecordswithinaData Set,1,000
contentitemswithinaContent Set,andsoon.
l
Minimum time to retain Data Sets:TheminimumtimeaDataSet(andallthe
recordsitcontains)isretainedwithinthedatabasebeforebeingsetfordeletion.
Tip: Inordertopreventattemptsatdeletingdatabaseobjectswhichmightstill
beinuse,itisrecommendedthatallMinimum timeretentionvaluesshould
always be set to at least the length of your longest job.Preferablywithsome
extratimeadded,forgoodmeasure.
Page 349