<my documents>\Starcounter\Personal\Databases\[DatabaseName]\[DatabaseName].db.config
in the text-node /Database/Runtime/TransactionLogDirectory
.retention_period=30
line of the %StarcounterBin%\on_new_log.cmd
file. Changing 30 to something else will keep the historical logs for that set amount of days and then delete them. The %StarcounterBin%\on_new_log.cmd
script enforces the log retention policy. It's run every time Starcounter starts writing to a new transaction file because the current write-optimized was full. The script performs these steps:CREATE INDEX
transactions in front of data creation.<server repository>\Data\<database name>\<database name>-<identification>
, such as C:\Users\User\Documents\Starcounter\Personal\Data\Default\Default-20180305T082236020
.<DATABASE NAME>.on_new_log.log
file.logopt -make
, it looks like this: