Home > Ask the Domino Experts > Domino Administration Questions & Answers > Impact of user manually compacting mail database
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Impact of user manually compacting mail database

Michael Lazar EXPERT RESPONSE FROM: Michael Lazar

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 29 September 2005
We want to implement transaction logging on our Domino 6.5.2 server. We have researched how to configure and enable it, we have the necessary disk space, and we have third-party software to back up the log file (for archive logging), etc.

The documentation states that after transaction logging is enabled, running certain Domino utilities, such as compact and fixup, is not recommended. (Currently we have the servers perform those tasks on a weekly basis via a program document, but once logging is enabled, we will not do that.) However, we do not know the impact of an individual user manually compacting their mail database from the database properties dialog box. The documentation (from Domino Help system) states that ". . .using the compact command with options. . . causes Domino to reconstruct the database in such a way that old transaction log records are no longer valid." When a user performs a manual compact, does it use an option and if so, how do we prevent users from doing this?


>
EXPERT RESPONSE

Users who perform a manual compact from their database properties are essentially issuing a compact –B. This will change the DBIID and will require a full backup of the file, from that point forward, for recovery purposes.

MEMBER FEEDBACK TO THIS ASK THE EXPERT Q&A:

Since submitting this question, I have done a bit more research (which I was hoping to avoid by asking someone who was already familiar with the subject). I read an article in the January/February 2004 printing of "The View" written by Richard Thomsen and I also read everything else I could find in "The View," the Lotus/Domino Help system and LDD Today (Lotus DeveloperWorks).

Contrary to what Mr. Lazar says, Mr. Thomsen states , " .... the default behavior of the database Compact button changes when you enable transaction logging on your Domino server. Instead of reducing file size with the compact -B server command, the button executes the more conservative compact -b command."

I tested this on my server. I initiated a live console session with my mail server, then invoked Compact from a user's mail file. The Compact process started and completed on the server without any option being displayed and also without reducing the file size. In the Lotus/Domino Help system, under "In-Place compacting with space recovery only" it states, "When you run Compact without specifying options, Domino uses this style of compacting on all databases enabled for transaction logging. Domino also uses this style of compacting when you use the -b option ..."

It appears, then, that users can try and manually compact their mail databases from Database Properties all they want and it will have no affect on the transaction logs or the DBIID of their database. On the flip side, however, users will not be able to reduce the size of their database if they have gone over or are near to going over their quota. Since the user can only recover space but not reduce the size of their database after deleting and/or archiving documents, an Administrator will have to perform this task. This poses a different dilemma: dealing with an unplanned shift of workload and techniques for maintaining adequate server disk space and keeping databases 'healthy.'

Interestingly, I posed a similar transaction logging question to the ITKnowledge Exchange. Various responses came back, and I was advised to run Compact -B via a weekly program document and then immediately perform a full back-up as a 'best practice' for servers that use transaction logging.

—Anne M.

Do you have comments on this Ask the Expert question and response? Let us know.


Sound Off! -   Be the first to post a message to Sound Off!


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Domino Administration
Repair Lotus Domino server 'Cannot write or create file' error
What is slowing down my Domino server?
Limit the size of incoming email attachments to a Lotus Domino server
Routing Domino cluster servers to the correct network
Slow Domino server performance and failure on agent managers
Routing and replication issues with remote Lotus Domino servers
Replication best practices for Lotus Domino disaster recovery
Getting up to speed on Notes/Domino administration
Refreshing the design on a Lotus Domino 5 mail server
Moving a remote user mail database to new Lotus Domino server

Lotus Notes Domino Database Management
Add a program doc to compact Lotus Notes databases automatically
Set a value in a field existing in another Lotus Notes database
Fix 'Audit Trail' error when opening Notes docs
'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
Shrink Lotus Notes databases with many attachments
Remove orphaned Lotus Notes documents on Domino databases with a 'virtual delete'
Copy Lotus Notes databases from the Domino Server console command line
Tutorial: How to import data into Lotus Notes -- without programming
Easily show and hide layers in a Lotus Notes database
Managing Lotus Notes doclinks with LotusScript

Lotus Notes Domino Mailbox Management
Bringing MailRule documents back into view
LotusScript agent moves tagged spam email to junk mail folder
Limit the size of incoming email attachments to a Lotus Domino server
Show unread marked Lotus Notes email messages using LotusScript
LotusScript to extract and move attachments to a Lotus Notes mailbox or file folder
Sending specific agent errors to a mailbox instead of debugging
Setting corporate mail file size policies on NSF files
No more delayed email
Application for queueing non-delivery reports on hub mail server
Need to restrict who can send Internet mail and from where

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts