Salta al contenuto principale

Deleting history in model sharing project

Tekla Structures - Not version-specific
Not version-specific
Tekla Structures
Environment
Not environment-specific

Question: 
I have a model sharing project with many users and history.db file is really large, it is over 1 GB. Do you have some good guidelines how the history could be deleted in a big project?

Answer: 
Large history data can really affect the model performance also in model sharing models. So it is good to consider whether it is really needed and delete if not. But deleting the history is not straight forward process and requires some planning. It is not enough that just one user changes the advanced option XS_CLEAR_MODEL_HISTORY to TRUE. Changing this options requires restarting Tekla Structures and that option is not automatically delivered to other model sharing users with the writeout, but each user has to set it separately and restart Tekla Structures etc. Deleting history.db manually is also not recommended, because it is incrementally shared and users should not touch db files in model folder.

The best way is to delete the history for example during a weekend or other time when only one user can do it and others are not working in the model.

  1. First every model sharing user writes out all their changes into model.
  2. Then one user reserves the next writeout for the model and clears the history:
    1. Set XS_CLEAR_MODEL_HISTORY to TRUE
    2. Save
    3. Restart Tekla Structures
    4. Save the model.
    5. Write out the baseline. Check that history.db file has been downsized in model folder. Empty history.db size is typically 64 KB.
  3. Then all the other users should rejoin that new baseline. 


 

Invia

Table of Contents