COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Framework Manager => Topic started by: redstang on 31 Oct 2012 04:55:22 PM

Title: Can you shrink or delete IDlog.xml?
Post by: redstang on 31 Oct 2012 04:55:22 PM
The IDlog.xml file in my project is 1GB in size and I'd like to either shrink it or delete it.  While I have been using FM for quite a while, I am unsure of what I will lose when I delete that file and allow it to be recreated.  I have tried deleting it, and have reopened and worked with the project just fine, just not sure what this may effect such that I will eventually find out the hard way. 
Title: Re: Can you shrink or delete IDlog.xml?
Post by: Rahul Ganguli on 03 Nov 2012 12:18:49 AM
Hi,

If you don't need the previous transactions you can delete those transaction from IDlog file, in case you don't even need the framework manager to link to other then you can also delete the IDlog file.

Regards,
Rahul
Title: Re: Can you shrink or delete IDlog.xml?
Post by: redstang on 05 Nov 2012 09:45:48 AM
What do you mean "need the previous transactions"?  Are you saying without that file you cannot apply changes from the session-log.xml? 

And I also don't understand what you mean by "link to other"?  Link to other what?
Title: Re: Can you shrink or delete IDlog.xml?
Post by: Rahul Ganguli on 13 Nov 2012 02:46:10 AM
Hi,

Whenever you do any change in FM, it creates a transaction fro that. These transaction are helpful to synchronizing two models. So, If you don't need to redo those actions you will not require the previous transactions.
Similarly for multiple people working on same model, model can be segmented and linked to different models. So, if you are working on a stand alone model you don't have link to other models.

Regards,
Rahul
Title: Re: Can you shrink or delete IDlog.xml?
Post by: redstang on 14 Nov 2012 04:25:35 PM
Ok, I believe my case is such that I can delete the IDlog.xml file then and have it start fresh.  I have a standalone model with no segments so the syncing thing is a non-issue.  Generally only one person at a time is editing the model so I don't think we'd need to play back or apply any updates from what is in there now. 

Thanks.
Title: Re: Can you shrink or delete IDlog.xml?
Post by: redstang on 06 Mar 2015 03:09:16 PM
Thought I'd update this post as I use only FM on and off and recently this topic came up at work again. 
- IDlog.xml - tracks IDs for branched models.  Seems to be ok to delete if this does not apply to your model.
- log.xml - transaction log for model changes.  Viewable in FM from Project/View Transaction History... menu option.  Best to archive this every so often (depending on how many changes you are making on a daily basis) by selecting a transaction at the point you want to archive and then choose Archive Log File.  It will then create an archive-log.xml file you can save/compress or delete if you don't need the history.
- customdata.xml - the Diagram data.  If you delete this it will wipe out any changes you have done there and automatically reformat the entire diagram the next time you open the model.

See also: http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.2/com.ibm.swg.ba.cognos.dg_fm_sdk.10.2.2.doc/c_objectsyouwilluse.html%23objectsyouwilluse