This project has moved. For the latest updates, please go here.

Understanding logs

Mar 9, 2015 at 9:00 AM
I have set up circular logging. I expected that the log files were deleted as soon transations are flushed and they are no longer active. However I realized logs remain longer than I expect, wasting space on disk.

Is there any way to ask ESENT for delete log files as soon as possible?

How can I control the number of log files? I can set its size but not the number of logs.

I just would like to keep total log size as small as possible because I'm running on constrained disk space.
Mar 9, 2015 at 6:18 PM
The CheckpointDepthMax indirectly helps limit the amount of log files with circular logging enabled.

The C documentation for the parameter has more notes about the performance impacts of constraining that value: https://msdn.microsoft.com/en-us/library/gg269293%28v=exchg.10%29.aspx
Mar 10, 2015 at 6:31 AM
Thanks Michael,

I will experiment with ChaeckpointDepthMax parameter.