Lotus Notes Anti-Pattern
Bookmark :
Sometimes when doing complex tasks, its tempting just to clear out an entire databases's contents and buiid everything up from scratch. Sometimes through laziness, or sometimes because you cant actually get a decent reconcilliation in terms of documents.
Its bad - it leaves a deletion stub - that is, a tiny document fragment just containing that documents UNID - hanging around so when it replicates, the 'deletion' action can be pushed around. Its an extremely efficient design mechanism for replicated databases - as long as you dont routinely generate hundreds of thousands of documents, then delete them. Every 30 minutes.








Comments
Posted by Andrew Magerman At 23:06:27 On 30/06/2008 | - Website - |
The other is to set the purge interval on the replication settings, "space saver" tab, the number associated with the "remove documents not modified within" field relates to stubs, if the box is unchecked. You can purge the stubs, by setting this value low, of course, without the stubs, a replication could repopulate the DB from somewhere else.
Posted by Dwight Wilbanks At 00:18:31 On 01/07/2008 | - Website - |