Method to clear deletion stubs from a replica 
Use this IdeaSpace to post ideas about the Notes Client.

: 34
: 34
: 0
: Notes Client / Other Database Applications
: Deletion, stub, clear
: Nathan Chandler1754 18 May 2009
: / Email

Sometimes it is necessary to perform a restore and 'merge' a restored replica with the production replica. (by replicating the two together) . However to do this you need to clear the deletion stubs from one/both replicas. You can try to do this by setting the Space Saving value Delete Documents not modified in x days (not ticking it, just setting the number) because apparently deletion stubs are kept for 1/3 of this value. So, theoretically you should be able to set it to 0, or 1 days to clear out all stubs.

However this method is not reliable. Often you do not get complete restoration of all of the deleted documents which implies that there are still deletion stubs hanging around in the database. 

I'd like to have a reliable and easy method for deleting all stubs from a replica.

1) Stephen Bailey1802 (19 May 2009)
Nathan, I promote this idea, as the UI should really contain this info, but:

1. You're right about the "undocumented" feature to remove deletion stubs from the replica. It really works. I find setting the value to 1, then to 0 to be the most effective way of doing it.

2. Try running compact -D and updall -R against the database to flush any remaining deletion stubs.

3. You must do this on every replica of the database in order to get best results. if that's a Domino Directory, and you've got 50 servers, hard luck!

4. Notespeek can be used to identify if there are any more stubs in the database. It's an old tool, but a good one.

Best of luck.


Welcome to IdeaJam

You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>

IdeaJam developed by

Elguji Software Logo