delphibold-delphi

Trimming BOLD_CLOCKLOG table


I am doing some maintenance on a database for an application that uses the Bold for Delphi object persistence framework. This database has been been in production for several years and several of the tables have grown quite large. One of them is the BOLD_CLOCKLOG which has something to do with Bold's transaction management.

I want to trim this table (it is up to 1.2GB, with entries from Jan 2006).

Can anyone confirm the system does not need this old information?


Solution

  • Bold_ClockLog is an optional table, it's purpose is to store mapping between integer timestamps and corresponding DateTime values.

    This allows you to find out datetime of the last modification to any object.

    If you don't need this feature feel free to empty the table, it won't cause any problems.

    In addition to Bold_ClockLog, the Bold_XFiles is another optional table that tends to grow large. But unlike the Bold_ClockLog the Bold_XFiles can not be emptied.

    Both of these tables can be turned on/off in the model tag values.