Defrag and optimize Domino databases managed by XPages mobile solution
Running the compact destroyed templates and applications. Here is a example: 2009-11-02 03:10:14 DominoDefrag: pernames.ntf Compacting 2009-11-02 03:10:15 Recovery Manager: Assigning new DBIID for e:\Lotus\Domino\data\pernames4.TMP (need new backup for media recovery). 2009-11-02 03:10:20 Compaction failed: Unable to bring e:\Lotus\Domino\data\pernames.ntf back online.: File does not exist 2009-11-02 03:10:20 Compaction failed: Unable to rename e:\Lotus\Domino\data\pernames4.TMP back to e:\Lotus\Domino\data\pernames.ntf: File is in use by another program - You must rename it yourself. 2009-11-02 03:10:20 DominoDefrag: pernames.ntf Defragging
ok. turn off the compact by setting DominoDefrag_Compact=0. The compact is a copy style one called from the c++ notes api - perhaps doesn't work with transactional logging. Check out my myself hopefully this weekend. What happens when you do a 'load compact -c ….' at the server console with transaction logging enabled?? Also just found this IBM technote which says copy syle compacts are bad with transactional logging http://www-01.ibm.com/support/docview.wss?uid=swg27003543 . Will have to update the code to not do a copy style compact when transaction logging is enabled and call "ncompact.exe" to do an in-place compact instead (-b).