I just made a copy of existing mail file as a backup and deleted all emails in All documents and tash views and compacted the mail file. In properties, it reports 23 MB 98.1% and 62 documents. Is it the minimum size of the file? I do not understand where those 62 documents are located. Any idea?
Thanks,
Ray
Subject: Mail file size
Cleaning up an existing database and getting down to its smallest possible size takes a couple of steps. After you delete documents Notes holds onto deletion stubs for a while to give all replicas a chance to get them. There is also the issue of documents not in any view, such as Profiles. And finally, view indexes are not automatically refreshed when documents are deleted, so the indexes in a database are still sitting there referencing deleted documents until the index is rebuilt.
To take care of the first two, go into the Replication Settings, Space Savers and set “Remove documents not modified in the last X days” to 0. Check the box and it will delete all the documents in the database, which will take care of the phantom documents you have. Just be sure to uncheck it afterwards.
Once this is done run compact -D to compact the database and delete the existing view indexes. This series of steps should give you the database without anything other than the design elements.
Hope that helps,
Charles