Compacting Databases Options

Posted on 2006-04-03
Last Modified: 2013-11-16
I would like to schedule a task to compact the mail databases I have on my server. What I would like to know is the documentation says the -b In-Place option is the recommended method. What are the advantages of this over the -B option which actually recovers disk space?? Are there downfalls to using the -B (In-place with file reduction) option???

Thank you
Question by:TheBull369
    LVL 18

    Accepted Solution


    There are downfalls to compacting:


    Basically, you need to run it once to see how long it takes, and then make sure you don't run it at the same time as your backup program.  In-Place, I think, only matters if you have transactional logging turned on, and Notes will switch to copy style if it detects structural changes.

    I used the -B setting for schedule tasks to reduce the white space size of the database (in R4 databases especially) when there was a finite limit set on the database size.

    Author Comment

    The biggest reason I want to run a compact on these is because we are starting to archive email which will reduce the mail file size and no sense wasting the space if a mail file is only using 37%.

    LVL 18

    Expert Comment

    Agreed.  The only problem I ever had was competing with backup, and then you get the "database is in use... message" in the log, so compact skips it because the backup service had a handle on it.

    Author Comment

    Thank you!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
    Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now