Home > Domino Tips > Administrator > Database > Reduce the size of your database
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DATABASE

Reduce the size of your database


Michael Lazar
10.15.2003
Rating: -3.40- (out of 5)


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


Resident administration expert Michael Lazar offers his tips on reducing the size of your databases.


View member feedback to this tip.

Here are a few tips that I've found useful in keeping the Database Monster under control.

  1. Schedule a weekly compact program document. The standard switch is "-S10", which tells the compacter to run against any database with more than 10% white space. This performs a copy style compact.

  2. Archive documents. Whether it is a mail file or some other database, archiving old (but still needed) documents to another server will keep your production database small (once they are compacted). Remember, large databases are often slower and more prone to corruption than small databases. Keeping databases small has added benefits other than just freeing up disk space.

  3. Educate your users on how to properly store and respond to mail. (This is for mail databases.) Nothing kills space faster than someone who sends a message to a bunch of people with an attachment, and then someone replies to all with history and resends the attachment. The cycle continues, and the next thing you know someone has six copies of the same attachment. I can't stand it when this happens. Thankfully, this is addressed in ND6 with the new "Reply w/out attachments" feature. However, this leads back to educating your users. They need to know how to be good corporate citizens.

  4. Keep views to a minimum. (This one is most likely for non-mail files.) The more views you have, the more space you will use. This is because the view indexes have to be built and maintained by the server. In large databases with many views, the indexes can often take up more space than the actual documents!
I have some bad news for folks running transactional logging. Items 1 and 2 cannot be used to help reduce file sizes without some very careful planning. You should not use copy style compacts with transactional logging. Doing so renders all prior log extents for that database useless since a copy style compact changes the DBIID. The rule is that you should take an immediate full backup after running a copy style compact on a transactionally logged server. I have seen people run a compact on Saturday night, and then take a full backup on Sunday. They were willing to risk the potential loss of data due to a crash/corruption for that short, off-hours timeframe. Only do this if you understand the risks and are willing to take them.

MEMBER FEEDBACK TO THIS TIP

Regarding keeping a small mail file, here is what I tell my users: Follow these three practices to keep your mail file small without having to deal with archiving.

  • Periodically remove the largest 50 messages or attachments.
  • Zip files before attaching when appropriate. (We use the Zipmail product to simplify this.)
  • Use a Notes database rather than e-mail for sharing attachments to groups of people. (A central document library or discussion DB customized to allow assigning readers and editors to each document works great.)
How to remove the largest messages or attachments:
  1. Open the All Documents view.
  2. Click on the column header to sort by size.
  3. Remove the attachments from the largest 50 messages (first two screens) or delete the messages entirely.
  4. Repeat monthly.
Following these steps will return huge amounts of space with minimal effort and without the need to archive. (For legal reasons some people may still need to archive.)

-- David H.

Do you have comments of your own? Let us know.


Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




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


RELATED CONTENT
Database
More efficient local Lotus Notes database replication
Remove orphaned Lotus Notes documents on Domino databases with a 'virtual delete'
Detect and fix 'Manager' access control list settings in Lotus Notes Domino
Copy Lotus Notes databases from the Domino Server console command line
Tutorial: How to import data into Lotus Notes -- without programming
A flexible data export agent for Lotus Notes
Managing Lotus Notes doclinks with LotusScript
How and why to change replica IDs during a Lotus Notes Domino upgrade
Finding unused databases in Lotus Notes and Domino
How to parse the user activity of a Lotus Notes database

Lotus Notes Domino Database Management
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
Moving a remote user mail database to new Lotus Domino server
How and why to change replica IDs during a Lotus Notes Domino upgrade

Lotus Notes Domino Archiving
Avoid Lotus Notes Domino email archiving ACL issues with AdminP
Archiving Lotus Notes documents to a specified folder
E-discovery rules double-edged sword for CIOs
IM, blogs next target for litigation
Symantec peddles enterprise vault tool
Changing a Lotus Notes database mail file from 'archive' to 'mail'
Email archiving for SMBs: No experience required
School district hooks up affordable compliance archive
Exporting email from Lotus Notes to .EML messages
Email archiving: What's right for your enterprise?

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

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsWebcastsWhite 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