This project has moved and is read-only. For the latest updates, please go here.

Understanding logs

Mar 9, 2015 at 10: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 7: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:
Mar 10, 2015 at 7:31 AM
Thanks Michael,

I will experiment with ChaeckpointDepthMax parameter.